Set-AmsDevice
SYNOPSIS
Sets the properties of an AMS device
SYNTAX
Approve
Reject
Enable
Disable
ExpirePassword
DESCRIPTION
This cmdlet allows you to approve, reject, enable, disable or expire a device's password.
EXAMPLES
Example 1
Approves a device by its ID
Example 2
Gets a device by its name and rejects it
PARAMETERS
-Approve
Approves the device's registration request
-Disable
Disables the device, preventing it from communicating with AMS
-Enable
Enables the device, allowing it to communicate with AMS
-ExpirePassword
Indicates that the current password for the device should be marked as expired
-Force
Rejects the device without prompting for confirmation
-Id
The unique ID of the device
-Reject
Rejects the device's registration request
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.DevicePSObject
NOTES
Use of this cmdlet requires an Enterprise Edition license.
RELATED LINKS
Last updated