# PowerShell reference

## Description

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

## LithnetAccessManager Cmdlets

### [Add-AmsDeviceRegistrationKeyGroup](powershellmodule/add-amsdeviceregistrationkeygroup)

Adds an existing AMS group to a registration key

### [Add-AmsGroupMember](powershellmodule/add-amsgroupmember)

Adds a device to an AMS group

### [Export-AmsServerDiagnostics](powershellmodule/export-amsserverdiagnostics)

Exports server diagnostics for troubleshooting

### [Get-AmsActiveDirectoryJitOptions](powershellmodule/get-amsactivedirectoryjitoptions)

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

### [Get-AmsComputerAuthorizationRule](powershellmodule/get-amscomputerauthorizationrule)

Gets computer authorization rules

### [Get-AmsDevice](powershellmodule/get-amsdevice)

Gets AMS devices

### [Get-AmsDeviceRegistrationKey](powershellmodule/get-amsdeviceregistrationkey)

Gets device registration keys

### [Get-AmsGroup](powershellmodule/get-amsgroup)

Gets AMS groups

### [Get-AmsGroupMembers](powershellmodule/get-amsgroupmembers)

Gets the members of an AMS group

### [Get-AmsHostConfig](powershellmodule/get-amshostconfig)

Gets the configuration settings for the AMS host

### [Get-AmsJitSchedulerJob](powershellmodule/get-amsjitschedulerjob)

Gets jobs pending in the AMS JIT scheduler

### [Get-AmsLocalAdminPassword](powershellmodule/get-amslocaladminpassword)

Gets the local admin password of a computer

### [Get-AmsLocalAdminPasswordHistory](powershellmodule/get-amslocaladminpasswordhistory)

Gets the local admin password history for a computer

### [Get-AmsRoleAuthorizationRule](powershellmodule/get-amsroleauthorizationrule)

Gets role authorization rules

### [New-AmsComputerAuthorizationRule](powershellmodule/new-amscomputerauthorizationrule)

Creates a new computer authorization rule

### [New-AmsDeviceRegistrationKey](powershellmodule/new-amsdeviceregistrationkey)

Creates a new device registration key

### [New-AmsGroup](powershellmodule/new-amsgroup)

Creates a new AMS group

### [New-AmsRoleAuthorizationRule](powershellmodule/new-amsroleauthorizationrule)

Creates a new role authorization rule

### [Remove-AmsComputerAuthorizationRule](powershellmodule/remove-amscomputerauthorizationrule)

Removes a computer authorization rule

### [Remove-AmsDevice](powershellmodule/remove-amsdevice)

Removes a device

### [Remove-AmsDeviceRegistrationKey](powershellmodule/remove-amsdeviceregistrationkey)

Removes a device registration key

### [Remove-AmsDeviceRegistrationKeyGroup](powershellmodule/remove-amsdeviceregistrationkeygroup)

Removes a group association from a registration key

### [Remove-AmsGroup](powershellmodule/remove-amsgroup)

Removes an AMS group

### [Remove-AmsGroupMember](powershellmodule/remove-amsgroupmember)

Removes a member from an AMS group

### [Remove-AmsJitSchedulerJob](powershellmodule/remove-amsjitschedulerjob)

Removes a job from the AMS JIT scheduler

### [Remove-AmsRoleAuthorizationRule](powershellmodule/remove-amsroleauthorizationrule)

Removes a role authorization rule

### [Set-AmsActiveDirectoryJitOptions](powershellmodule/set-amsactivedirectoryjitoptions)

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

### [Set-AmsComputerAuthorizationRule](powershellmodule/set-amscomputerauthorizationrule)

Modifies a computer authorization rule

### [Set-AmsDevice](powershellmodule/set-amsdevice)

Modifies an AMS device

### [Set-AmsDeviceRegistrationKey](powershellmodule/set-amsdeviceregistrationkey)

Modifies a device registration key

### [Set-AmsGroup](powershellmodule/set-amsgroup)

Modifies an AMS group

### [Set-AmsHostConfig](powershellmodule/set-amshostconfig)

Sets configuration settings for the AMS host

### [Set-AmsRoleAuthorizationRule](powershellmodule/set-amsroleauthorizationrule)

Modifies a role authorization rule
