Get-AmsDevice
SYNOPSIS
Gets AMS registered devices
SYNTAX
GetByName (Default)
GetById
DESCRIPTION
This cmdlet retrieves AMS devices from the server. It can retrieve individual devices by name, by ID, and approval state. When used without parameters, it will return all AMS devices
EXAMPLES
Example 1
Returns all AMS registered devices
Example 2
Returns the AMS device named `PC1`
Example 3
Returns all AMS registered devices that are currently pending approval
Example 4
Returns the AMS device with the specified ID
PARAMETERS
-ApprovalState
Returns only devices matching the specified approval state
-Id
The unique ID of the device
-Name
The name of the device
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
None
OUTPUTS
Lithnet.AccessManager.PowerShell.DevicePSObject
NOTES
Use of this cmdlet requires an Enterprise Edition license.
RELATED LINKS
Last updated