Hi,
I need to list all users from OU, just have code:
Import-Module ActiveDirectory Get-ADUser -Filter * -SearchBase “ou=Users,# name,dc=company,dc=cz”
Problem is, that my subfolder OU (company --> Users --> # name) has terrible name '# name', so I think I need apostrophe on it.
Can anyone shed some light on this? Thank You.