PSSysadminToolkit update

Hey all, Just wanted to share with you all that I have found some more time to work on this module. Last evening I added a couple of new functions, Find-Service, New-RemoteExecutionPolicy, and New-ImplicitSession. If you’d like to take it for a test drive, you may download it here: https://github.com/steviecoaster/PSSysadminToolkit The latest release does not […]

Formatting Help

So I have a portion of code that I need help formating. I’ve got it so that I can export it to a CSV and it shows nicely, but I’d like to have named columns. In addition I’d like to only have the CN name for ‘manager’ and ‘name’, it’s currently giving full distinguished name. […]

Set AdminCount

I am a rookie with Powershell and I can see the setting for Admincount by GET-ADUser “username” -Properties Admincount I tried to then set it to 0 by SET-ADUSER “username” -Properties Admincount 0 that does not work… any help? submitted by /u/Amused2017 [link] [comments]

Need help with searching through user AppData

Hey guys, here’s the code. I thought this was going to be dead simple but now I’m just hitting my head against a wall. $Drives = (Get-Volume | Where-Object -FilterScript {$_.DriveLetter -ne $null -and $_.DriveType -eq ‘Fixed’}).DriveLetter foreach ($Drive in $Drives) { $DriveLetter = $Drive + ‘:’ Get-ChildItem -Path $DriveLetter -Recurse -ErrorAction SilentlyContinue | Where-Object […]