Get-AmsDeviceRegistrationKey

SYNOPSIS

Get AMS device registration keys

SYNTAX

GetByName (Default)

Get-AmsDeviceRegistrationKey [[-Name] <String>] [<CommonParameters>]

GetById

Get-AmsDeviceRegistrationKey -Id <String> [<CommonParameters>]

GetByKey

Get-AmsDeviceRegistrationKey -Key <String> [<CommonParameters>]

DESCRIPTION

This cmdlet allows you to retrieve a device registration key by name, ID, or the key itself. When used without parameters, it will return all registration keys.

EXAMPLES

Example 1

Returns all registration keys

Example 2

Returns the registration key object that is represented by the specified key value

Example 3

Returns the registration key object that is represented by the specified name

Example 4

Returns the registration key object that is represented by the specified ID

PARAMETERS

-Id

The ID of the key

-Key

The key value

-Name

The name of the key

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

Lithnet.AccessManager.PowerShell.RegistrationKeyPSObject

NOTES

Use of this cmdlet requires an Enterprise Edition license.

Last updated

Was this helpful?