Retrieving the AD user or group information

The Get-User command is typically used to pipe user or group names into other Horizon PowerCLI commands. The following example returns only those AD groups that start with Horizon:

Get-User -IncludeUser $false -Name “Horizon”

Omit the options to retrieve a list of all users and groups. The following options are available when using the Get-User command:

  • IncludeUser: Specifies whether the results include AD user accounts. The options are $False and $True (the default).
  • IncludeGroup option: Specifies whether the results include AD groups. The options are $False and $True (the default).
  • Name: The name of the user or group to be returned. This value should be contained within quotes. If quotes are not used, partial matches are allowed based on the start of the name.
  • Domain: Returns users or groups from a specific domain.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.186.173