Set-AmsDevice

SYNOPSIS

Sets the properties of an AMS device

SYNTAX

Approve

Set-AmsDevice -Id <String> [-Approve] [<CommonParameters>]

Reject

Set-AmsDevice -Id <String> [-Reject] [-Force] [<CommonParameters>]

Enable

Set-AmsDevice -Id <String> [-Enable] [<CommonParameters>]

Disable

Set-AmsDevice -Id <String> [-Disable] [<CommonParameters>]

ExpirePassword

Set-AmsDevice -Id <String> [-ExpirePassword] [<CommonParameters>]

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.

Last updated

Was this helpful?