Set-AmsComputerAuthorizationRule
SYNOPSIS
SYNTAX
None (Default)
Set-AmsComputerAuthorizationRule -Id <String> [-JitGroupName <String>] [-JitMaximumAccessDuration <TimeSpan>]
[-JitAllowExtension] [-LapsMaximumAccessDuration <TimeSpan>] [-LapsAllowExtension] [-Description <String>]
[-RuleExpiryDate <DateTime>] [-Disable] [-Enable] [-Notes <String>]
[-UserRequestReasonRequirement <AuditReasonFieldState>] [-NotificationChannelsSuccess <String[]>]
[-NotificationChannelsFailure <String[]>] [<CommonParameters>]Set the rule target to an Azure AD tenant
Set-AmsComputerAuthorizationRule -Id <String> -AadTenantId <String> [-JitGroupName <String>]
[-JitMaximumAccessDuration <TimeSpan>] [-JitAllowExtension] [-LapsMaximumAccessDuration <TimeSpan>]
[-LapsAllowExtension] [-Description <String>] [-RuleExpiryDate <DateTime>] [-Disable] [-Enable]
[-Notes <String>] [-UserRequestReasonRequirement <AuditReasonFieldState>]
[-NotificationChannelsSuccess <String[]>] [-NotificationChannelsFailure <String[]>] [<CommonParameters>]Set the rule target to an Azure AD group
Set the rule target to an Azure AD 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
CommonParameters
INPUTS
System.String
OUTPUTS
Lithnet.AccessManager.PowerShell.ComputerAuthorizationRulePSObject
NOTES
RELATED LINKS
Last updated
Was this helpful?