13 November 2017
Ldap filter to recursively find all groups a user is member
Get-ADGroup -LDAPFilter "(member:1.2.840.113556.1.4.1941:=CN=Uservane,OU=Users,DC=domain,DC=local)"
15 February 2017
Search for expiring domain accounts
Search-ADAccount -AccountExpiring -TimeSpan "365"
16 January 2017
Keyboard shortcuts for Powershell console
Ctrl + End - delete all text after the cursor
Ctrl + Home - delete all text before the cursor
Ctrl + Home - delete all text before the cursor
Subscribe to:
Posts (Atom)