Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Get-JS7IAMAccount

SYNOPSIS

Returns accounts of from a JOC Cockpit Identity Service

...

Get-JS7IAMAccount [-Service] <String> [[-Account] <String>] [-Enabled] [-Disabled] [<CommonParameters>]

...

This cmdlet returns accounts in from a JOC Cockpit Identity Service.

The following REST Web Service API resources are used:

* /iam/accounts

...

-Account <String>
Optionally limits the result to the specified user account.

Required?false
Position?2
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

Enabled

-Enabled <SwitchParameter>
Optionally returns enabled accounts only. By default enabled and disabled accounts are returned.

Required?false
Position?named
Default valueFalse
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-Disabled <SwitchParameter>
Optionally returns disabled accounts only. By default enabled and disabled accounts only are returned.

...

PS > $accounts = Get-JS7IAMAccount -Service 'JOC'

Returns the accounts from the indicated JOC Cockpit Identity Service.

-------------------------- EXAMPLE 2 --------------------------

PS > $accounts $account = Get-JS7IAMAccount -Service 'JOC' -Account 'matt'

Returns the given account from the indicated JOC Cockpit Identity Service.