Remove-AmsDevice
SYNOPSIS
Removes an AMS device
SYNTAX
Remove-AmsDevice -Id <String> [-Force] [<CommonParameters>]DESCRIPTION
This cmdlet permanently removes a device from the AMS system, and deletes any password history, authentication certificates, and group membership.
EXAMPLES
Example 1
PS C:\> Remove-AmsDevice -Id '952105e9-e7de-499d-98f5-0133deb31d4a'Removes a device by its known ID
Example 1
PS C:\> Get-AmsDevice -Name "PC1" | Remove-AmsDeviceGet a device named PC1 and permanently deletes it
PARAMETERS
-Force
Removes the device without any confirmation prompts
-Id
The unique ID 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
System.String
OUTPUTS
System.Void
NOTES
Use of this cmdlet requires an Enterprise Edition license.
RELATED LINKS
Last updated
Was this helpful?