# PowerShell reference

## Description

The Lithnet Access Manager PowerShell module contains the following cmdlets to help you manage your AMS system.

## LithnetAccessManager Cmdlets

### [Add-AmsDeviceRegistrationKeyGroup](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/add-amsdeviceregistrationkeygroup)

Adds an existing AMS group to a registration key

### [Add-AmsGroupMember](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/add-amsgroupmember)

Adds a device to an AMS group

### [Export-AmsServerDiagnostics](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/export-amsserverdiagnostics)

Exports server diagnostics for troubleshooting

### [Get-AmsActiveDirectoryJitOptions](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amsactivedirectoryjitoptions)

Gets configuration related to Access Manager's Active Directory JIT access engine

### [Get-AmsComputerAuthorizationRule](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amscomputerauthorizationrule)

Gets computer authorization rules

### [Get-AmsDevice](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amsdevice)

Gets AMS devices

### [Get-AmsDeviceRegistrationKey](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amsdeviceregistrationkey)

Gets device registration keys

### [Get-AmsGroup](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amsgroup)

Gets AMS groups

### [Get-AmsGroupMembers](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amsgroupmembers)

Gets the members of an AMS group

### [Get-AmsHostConfig](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amshostconfig)

Gets the configuration settings for the AMS host

### [Get-AmsJitSchedulerJob](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amsjitschedulerjob)

Gets jobs pending in the AMS JIT scheduler

### [Get-AmsLocalAdminPassword](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amslocaladminpassword)

Gets the local admin password of a computer

### [Get-AmsLocalAdminPasswordHistory](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amslocaladminpasswordhistory)

Gets the local admin password history for a computer

### [Get-AmsRoleAuthorizationRule](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/get-amsroleauthorizationrule)

Gets role authorization rules

### [New-AmsComputerAuthorizationRule](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/new-amscomputerauthorizationrule)

Creates a new computer authorization rule

### [New-AmsDeviceRegistrationKey](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/new-amsdeviceregistrationkey)

Creates a new device registration key

### [New-AmsGroup](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/new-amsgroup)

Creates a new AMS group

### [New-AmsRoleAuthorizationRule](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/new-amsroleauthorizationrule)

Creates a new role authorization rule

### [Remove-AmsComputerAuthorizationRule](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/remove-amscomputerauthorizationrule)

Removes a computer authorization rule

### [Remove-AmsDevice](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/remove-amsdevice)

Removes a device

### [Remove-AmsDeviceRegistrationKey](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/remove-amsdeviceregistrationkey)

Removes a device registration key

### [Remove-AmsDeviceRegistrationKeyGroup](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/remove-amsdeviceregistrationkeygroup)

Removes a group association from a registration key

### [Remove-AmsGroup](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/remove-amsgroup)

Removes an AMS group

### [Remove-AmsGroupMember](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/remove-amsgroupmember)

Removes a member from an AMS group

### [Remove-AmsJitSchedulerJob](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/remove-amsjitschedulerjob)

Removes a job from the AMS JIT scheduler

### [Remove-AmsRoleAuthorizationRule](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/remove-amsroleauthorizationrule)

Removes a role authorization rule

### [Set-AmsActiveDirectoryJitOptions](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/set-amsactivedirectoryjitoptions)

Modifies configuration related to Access Manager's Active Directory JIT access engine

### [Set-AmsComputerAuthorizationRule](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/set-amscomputerauthorizationrule)

Modifies a computer authorization rule

### [Set-AmsDevice](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/set-amsdevice)

Modifies an AMS device

### [Set-AmsDeviceRegistrationKey](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/set-amsdeviceregistrationkey)

Modifies a device registration key

### [Set-AmsGroup](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/set-amsgroup)

Modifies an AMS group

### [Set-AmsHostConfig](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/set-amshostconfig)

Sets configuration settings for the AMS host

### [Set-AmsRoleAuthorizationRule](https://docs.lithnet.io/ams/2.0/help-and-support/powershellmodule/set-amsroleauthorizationrule)

Modifies a role authorization rule
