• 0 Votes
    2 Posts
    1k Views
    DustinB3403D

    I got you

    # This script will export all users of the specified domain, and their group memberships to a CSV file. The usefulness of this tool is expressed when # setting up new hire employees or reviewing domain membership permissions. # It's not advisable to store the user credentials required to run this script as they can be decrypted. This script is not designed to save these credentials but could be modified to do so. # Use of this script implies that you understand what it does, and will do to with regards to your Active Directory installation members and group memberships. # As designed there are no changes made to your installation, the script simply generates a report of members, and their group memberships. # Any changes to this script are the responsibility of the person/organization which made said changes. # We cannot be held responsible for your misuse or misunderstanding of this script as it was designed. # # # # # Imports Active Directory information Import-Module Activedirectory $credentials = Get-Credential # Prompts for user credentials default user is “ ”, enter an administrator account in the form of “domain-name\administrator-account” Get-ADUser -Credential $credentials -Filter * -Properties DisplayName,EmailAddress,memberof,DistinguishedName,Enabled | % { New-Object PSObject -Property @{ UserName = $_.DisplayName EmailAddress = $_.EmailAddress DistinguishedName = $_.DistinguishedName Enabled = $_.Enabled # Deliminates the document for easy copy and paste using ";" as the delimiter. Incredibly useful for Copy & Paste of group memberships to new hire employees. Groups = ($_.memberof | Get-ADGroup | Select -ExpandProperty Name) -join ";" } # The export path is variable change to desired location on domain controller or end user computer. } | Select UserName,EmailAddress,@{l='OU';e={$_.DistinguishedName.split(',')[1].split('=')[1]}},Groups,Enabled | Sort-Object Username | Export-Csv $ENV:UserProfile\Documents\User-Permissions.csv –NTI #Function Get-SaveFile($initialDirectory) #{ #[System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | #Out-Null # #$SaveFileDialog = New-Object System.Windows.Forms.SaveFileDialog #$SaveFileDialog.initialDirectory = $initialDirectory #$SaveFileDialog.filter = "All files (*.*)| *.*" #$SaveFileDialog.ShowDialog() | Out-Null #$SaveFileDialog.filename #} # # # open dialog box to select the .nessuss file. #$InputFile = Get-OpenFile #$OutputFile = Get-SaveFile # # #$Contents = [io.file]::ReadAllText($inputfile) #$Contents = [io.file]::ReadAllText('C:\tools\wd\nessus\data\data.xml') #$Global:OutFile = [System.IO.StreamWriter] "c:\tools\wd\nessus\outfile.csv" # ##$InputFile #$OutputFile #
  • 4 Votes
    3 Posts
    809 Views
    jt1001001J

    Where was this when we started our o365 migration!!!

  • 3 Votes
    7 Posts
    1k Views
    scottalanmillerS

    @kelly said in Eight new Spectre Variant Vulnerabilities for Intel Discovered - four of them critical:

    @tim_g said in Eight new Spectre Variant Vulnerabilities for Intel Discovered - four of them critical:

    Wow....

    But how practical is it to not only first exploit the Spectre vulnerability, but then to get any useful data from most likely other unknown shared VMs on the same box? (really, only on a shared hosting provider host is where 99.9% of the threat is)

    This stuff is discarded speculative cached data... maybe a thumbnail you won't be viewing (if it goes that big), or maybe a few bits leading in that direction... maybe credentials (that are encrypted anyways)...

    It seems like all you can do is "fish" for unknown discarded speculative data... it doesn't really sound like a huge practical threat, however, I do see the severity and horrible potential of it, just not the practicality.

    Here is how I see it playing out in the larger world. Bad actors will be spinning up VMs on hosting providers' hardware, and then trolling for data of cohosted VMs. It isn't a large problem in a secure environment where the list of people who can spin up VMs also have the credentials necessary to make a Spectre-ng attack a waste of time and energy.

    Also worth noting, in a cloud environment the data that can be caught this way is essentially random and ephemeral. What works today won't work tomorrow, and whose data you are getting is normally unknown. The scale and anonymity of cloud computing makes these attacks more possible, but less effective, almost to the point of useless.

  • FreePBX - Determine if Extension has dedicated callin

    14
    0 Votes
    14 Posts
    1k Views
    scottalanmillerS

    @dashrender said in FreePBX - Determine if Extension has dedicated callin:

    Look at your inbound routes. See what the destination on the inbound routes are.

    Yup, that extension itself doesn't know what points to it. So it is looking at the pointers. Think of the Inbound Routes like aliases and you are looking to see if an alias mentions that extension.

  • Office 365 PowerShell question

    13
    2 Votes
    13 Posts
    1k Views
    ObsolesceO

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    @dbeato said in Office 365 PowerShell question:

    @bbigford said in Office 365 PowerShell question:

    While in an Office 365 PowerShell session, anyone know what the 'name' value refers to? I think what a client did was simply rename an account when someone quit, and here is the result.

    Amanda quits, backfilled by Jane. Display name, UPN, SAM, alias, everything shows as Jane, except 'name'. Going through Exchange mailbox and MSO user properties via the GUI, no trace of the word 'Amanda' anywhere.

    Anyone know what that value actually refers to? Before today I thought it was probably UPN, until today I saw there is a separate value for UPN.

    Can you show an example?

    0_1525112201908_2018_04_30_12_13_26_Administrator_Windows_PowerShell_ISE.png

    0_1525112210220_2018_04_30_12_15_24_Office_Admin_center_Home.png

    That's the SamAccountName attribute that cannot be changed.

    You were correct after I double-checked. What I find odd though, is the samAccountName doesn't show as emilyr, it shows as emily59172-558041006 ... where does it even pull emilyr from do you think?

    0_1525363051932_c0112f04-4f56-445f-9a35-78a571753053-image.png

    Edit: I've tried marking this as solved, but can't find an option for that.

    Have @scottalanmiller do it.

    Ah, I'm guessing that is not a function everyone has the ability to use I'm guessing.

    It is an issue in NodeBB here that we cannot mark other answers ans the resolution of the issue.

    You can quote the post that is the answer, and mark your quoted post as the answer.

    That's what we've been doing.

  • 3 Votes
    16 Posts
    3k Views
  • Unitrends VM Backup Essentials, anyone used?

    10
    1 Votes
    10 Posts
    2k Views
    matteo nunziatiM

    deployed Altaro in may last job: cheaper than Veeam and really nice (also support has always been really reactive).
    I gave Nakivo a 1 day try (short of time) but it doesn't convice me at the time.

  • Zerotier Upgrade to 1.2.4

    2
    0 Votes
    2 Posts
    615 Views
    JaredBuschJ

    @wls-itguy said in Zerotier Upgrade to 1.2.4:

    Anyone had any issues upgrading from 1.1.14 or 1.2.2 to 1.2.4? I just tried upgrading a machine that was offline for a long time from 1.2.2 to 1.2.4 and it said it was already installed but when I looked in Add/remove programs it still showed 1.2.2.

    Do I need to uninstall 1.2.2 and then install 1.2.4?

    I've had oddball problems here and there, but generally, no.

  • Exchange 2013 DNS

    12
    2 Votes
    12 Posts
    836 Views
    JaredBuschJ

    @g-i-jones said in Exchange 2013 DNS:

    @jaredbusch quick question. How did you take what it output and make it so fancy looking on this comment thread?

    Well first i opened the CSV in Office and transposed the output because it made it all across the top.

    Then I used this to create the markdown table.
    https://donatstudios.com/CsvToMarkdownTable
    Note: Even though it says CSV to Markdown, you can copy/paste right out of Excel/Calc

    Manually making a table in markdown is stupid.

  • 5 Votes
    1 Posts
    772 Views
    No one has replied
  • SQL Virtulization

    32
    2 Votes
    32 Posts
    4k Views
    C

    @tim_g said in SQL Virtulization:

    @carnival-boy said in SQL Virtulization:

    No. By your logic, the President and Vice President of the US should always travel in the same plane, because less planes, the less chance of failure and loss of life.

    That's not how it works.

    Check out this article:

    http://www.smbitjournal.com/2012/05/when-no-redundancy-is-more-reliable/

    I don't need to read an essay to understand probability. The probability of a single SQL server suffering from physical failure is the same regardless of whether or not other servers share the same box.

    If I get in a car, the probability of me being in accident does not go down the more passengers there are.

  • Sayings I Hate

    25
    0 Votes
    25 Posts
    4k Views
    scottalanmillerS

    @siringo said in Sayings I Hate:

    Another "I'm not really computer lierate"
    OK I don't care, just sit there, be quiet and let me fix your problem.

    As if saying "I can't really do my job" is an okay excuse!

  • 1 Votes
    1 Posts
    1k Views
    No one has replied
  • Fedora Server primary architecture is now Aarch64

    3
    1 Votes
    3 Posts
    364 Views
    scottalanmillerS

    If you look, AMD64 is the default, Aarch64 requires you to go to "get more".

    0_1525215030346_Screenshot from 2018-05-01 17-50-04.png

  • Deleting a GPO

    15
    0 Votes
    15 Posts
    2k Views
    DustinB3403D

    @scottalanmiller said in Deleting a GPO:

    @rojoloco said in Deleting a GPO:

    @dave247 I have a few ideas about who they are specifically... but after they decided to be a bunch of dicks about anyone here posting links to their site that shall not be named, they created an account here to spy, presumably. Lot of former 🌶 folks here... Lots of 🖕 🖕 🖕 🖕 🖕 for their informers.

    It's a public site, doesn't take much for someone to inform, lol. It's a bit like tattling on a billboard.

    That sounds a lot like calling out your Husband by doing this to his ride.

    cheating2_small.jpg

  • O365 SMTP Authenticated Submission client protocol change

    7
    2 Votes
    7 Posts
    2k Views
    AmbarishrhA

    The O365 account is used at multiple services (network monitoring, snipeit are some of them). I guess mailgun would be a good choice to avoid this altogether. The free version supports 10K mails

  • 1 Votes
    1 Posts
    958 Views
    No one has replied
  • Exporting DefaultAssociation XML file Fails

    2
    3 Votes
    2 Posts
    2k Views
    DustinB3403D

    The response from Microsoft for this issue is surprisingly quiet.

  • Cannot uninstall Vmware View agent 5.0.0

    7
    1 Votes
    7 Posts
    2k Views
    N

    I have found a solution to uninstall View agent 5.0.0, hopefully it will help someone.

    https://kb.vmware.com/s/article/2000017

    The above link worked for me. I was able to uninstall and install another version.

    Thanks all.

  • Office365 user login records ?

    3
    2 Votes
    3 Posts
    709 Views
    scottalanmillerS

    If you want to track email activity, you can Enable Mailbox Auditing for Office 365.