Retrieving vCloud users
You can use the Get-CIUser
cmdlet to retrieve vCloud users. The Get-CIUser
cmdlet has an alias Get-PIUser
.
The syntax of the Get-CIUser
cmdlet is as follows and the first parameter set is the default:
Get-CIUser [[-Name] <String[]>] [-Org <Org[]>] [-Role <CIRole[]>]
[-Server <CIServer[]>] [<CommonParameters>]
The second parameter set is to retrieve vCloud users by ID:
Get-CIUser -Id <String[]> [-Server <CIServer[]>] [<CommonParameters>]
The -Id
parameter is required.
In the following example, we will retrieve the user [email protected]
and format the output in a list view:
PowerCLI C:\> Get-CIUser -Name [email protected] | Format-List WARNING: PowerCLI scripts should not use the 'Client' property. The property will be removed in a future release. WARNING: PowerCLI scripts should not use the 'Uid' property. The property will be removed in a future release. Href : https:...