PowerShell Script to find all AD users who have the “cannot change password” box checked in a specific OU

# script to find all AD users who have the "cannot change password" box checked in a specific OU # Windows Server 2016 # Powershell Get-ADUser -Filter * -Properties CannotChangePassword -SearchBase "OU=specificOU,DC=TEST,DC=com" | where { $_.CannotChangePassword -eq "true" } | Format-Table Name, DistinguishedName  

via Latest imported feed items on VMware Blogs https://ift.tt/2KiEvWt
RSS Feed

If New feed item from https://blogs.vmware.com/feed, then send me an email at kr

IFTTT

Comments

Popular posts from this blog

Evernote cuts staff as user growth stalls

The best air conditioner

We won't see a 'universal' vape oil cartridge anytime soon