Set-AmsComputerAuthorizationRule
SYNOPSIS
SYNTAX
None (Default)
Set-AmsComputerAuthorizationRule -Id <String> [-JitGroupName <String>] [-JitMaximumAccessDuration <TimeSpan>]
[-JitDefaultAccessDuration <TimeSpan>] [-JitAllowExtension] [-LapsMaximumAccessDuration <TimeSpan>]
[-LapsDefaultAccessDuration <TimeSpan>] [-LapsAllowExtension] [-Description <String>]
[-RuleExpiryDate <DateTime>] [-Disable] [-Enable] [-Notes <String>]
[-UserRequestReasonRequirement <AuditReasonFieldState>] [-NotificationChannelsSuccess <String[]>]
[-NotificationChannelsFailure <String[]>] [-AutoDcLocator] [-DoNotUseRemoteDcLocator] [-SiteName <String>]
[-DomainControllerName <String>] [<CommonParameters>]Set the rule target to a Microsoft Entra tenant
Set-AmsComputerAuthorizationRule -Id <String> -AadTenantId <String> [-JitGroupName <String>]
[-JitMaximumAccessDuration <TimeSpan>] [-JitDefaultAccessDuration <TimeSpan>] [-JitAllowExtension]
[-LapsMaximumAccessDuration <TimeSpan>] [-LapsDefaultAccessDuration <TimeSpan>] [-LapsAllowExtension]
[-Description <String>] [-RuleExpiryDate <DateTime>] [-Disable] [-Enable] [-Notes <String>]
[-UserRequestReasonRequirement <AuditReasonFieldState>] [-NotificationChannelsSuccess <String[]>]
[-NotificationChannelsFailure <String[]>] [-AutoDcLocator] [-DoNotUseRemoteDcLocator] [-SiteName <String>]
[-DomainControllerName <String>] [<CommonParameters>]Set the rule target to a Microsoft Entra group
Set the rule target to a Microsoft Entra computer
Set the rule target to an AD computer
Set the rule target to an AD group
Set the rule target to an AD container
Set the rule target to an AMS computer
Set the rule target to an AMS group
Modify the rule ACL
Modify the rule authorization script
DESCRIPTION
EXAMPLES
Example 1
Example 2
Example 3
PARAMETERS
-AadComputerId
-AadGroupId
-AadTenantId
-AdComputer
-AdContainer
-AdGroup
-AddPrincipalsAllowedBitLocker
-AddPrincipalsAllowedJit
-AddPrincipalsAllowedLaps
-AddPrincipalsAllowedLapsHistory
-AddPrincipalsDeniedBitLocker
-AddPrincipalsDeniedJit
-AddPrincipalsDeniedLaps
-AddPrincipalsDeniedLapsHistory
-AmsComputerId
-AmsGroupId
-AuthorizationScriptPath
-Description
-Disable
-Enable
-Id
-JitAllowExtension
-JitGroupName
-JitMaximumAccessDuration
-LapsAllowExtension
-LapsMaximumAccessDuration
-Notes
-NotificationChannelsFailure
-NotificationChannelsSuccess
-RemovePrincipalsAllowedBitLocker
-RemovePrincipalsAllowedJit
-RemovePrincipalsAllowedLaps
-RemovePrincipalsAllowedLapsHistory
-RemovePrincipalsDeniedBitLocker
-RemovePrincipalsDeniedJit
-RemovePrincipalsDeniedLaps
-RemovePrincipalsDeniedLapsHistory
-RuleExpiryDate
-UserRequestReasonRequirement
-AutoDcLocator
-DomainControllerName
-DoNotUseRemoteDcLocator
-SiteName
-AddPrincipalsAllowedRapidLapsElevation
-AddPrincipalsAllowedRapidLapsLogin
-AddPrincipalsDeniedRapidLapsElevation
-AddPrincipalsDeniedRapidLapsLogin
-RemovePrincipalsAllowedRapidLapsElevation
-RemovePrincipalsAllowedRapidLapsLogin
-RemovePrincipalsDeniedRapidLapsElevation
-RemovePrincipalsDeniedRapidLapsLogin
-JitDefaultAccessDuration
-LapsDefaultAccessDuration
CommonParameters
INPUTS
System.String
OUTPUTS
Lithnet.AccessManager.PowerShell.ComputerAuthorizationRulePSObject
NOTES
RELATED LINKS
Last updated
Was this helpful?