Rexxer

Some tips for me and other

Get-ADUser scripts

  1. Get users with the specified manager:
    Get-ADUser -Filter { Manager -eq "CN=Ivan Ivanov,OU=Users,DC=contoso,DC=com" } -Properties Mal, Title | ft Name, Title
  2. Do not forget to run before: import-module ActiveDirectory
  3. Get info about users which are in the group: Get-ADGroupMember groupname | Get-ADUser -Properties Name, Title | ft Name, Title

Comments are currently closed.