Summary
This cmdlet returns info about Octopus Targets (Tentacles, cloud regions, Offline deployment targets, SHH)
Parameters
Name | DataType | Description |
---|---|---|
UserName | String[] | User Name. Accepts wildcard |
ResourceOnly | Switch | If set to TRUE the cmdlet will return the basic Octopur resource. If not set or set to FALSE, the cmdlet will return a human friendly Octoposh output object |
Syntax
Get-OctopusUser [[-UserName] <string[]>] [-ResourceOnly <SwitchParameter>] [<CommonParameters>]
Examples
EXAMPLE 1
Gets all the Users on the Octopus instance
Get-OctopusUser
EXAMPLE 2
Gets the user with the Username "Jotaro Kujo"
Get-OctopusUser -Username "Jotaro Kujo"
EXAMPLE 3
Gets the users with the Usernames "Jotaro Kujo" and "Dio Brando"
Get-OctopusUser -Username "Jotaro Kujo","Dio Brando"
EXAMPLE 4
Gets all the users whose username ends with "Joestar"
Get-OctopusUser -Username "*Joestar"