Set-AmsActiveDirectoryJitGroupCreationRule
SYNOPSIS
Sets one or more properties of an excisting just-in-time Active Directory group creation rule
SYNTAX
Set-AmsActiveDirectoryJitGroupCreationRule -Id <String> [-ComputerOU <String>] [-CreateUnixGid <Boolean>]
[-EnableJitGroupDeletion <Boolean>] [-GroupDescription <String>] [-GroupNameTemplate <String>]
[-GroupOU <String>] [-GroupType <ActiveDirectoryGroupType>] [-Subtree <Boolean>]
[-UnixGidAttributeName <String>] [-UnixGidStartRange <Int32>] [-ForceFullSync] [<CommonParameters>]DESCRIPTION
This cmdlet sets one or more properties of an existing just-in-time Active Directory group creation rule
EXAMPLES
Example 1
PS C:\> Set-AmsActiveDirectoryJitGroupCreationRule -Id "12345678-1234-1234-1234-123456789012" -CreateUnixGid $true -UnixGidAttributeName "gidNumber" -UnixGidStartRange 10000 -EnableJitGroupDeletion $true -GroupDescription "AMS JIT Group" -GroupNameTemplate "JIT-%ComputerName%" -GroupOU "OU=Groups,DC=lithnet,DC=local" -ComputerOU "OU=Computers,DC=lithnet,DC=local" -Subtree $trueSets the properties of the JIT group creation rule with the specified ID
PARAMETERS
-ComputerOU
The OU that will be used to searched for computer objects
-CreateUnixGid
Specifies if AMS should create a unique unix GID for the group
-EnableJitGroupDeletion
Specifies if AMS should delete the group when the computer is removed from the directory
-GroupDescription
The description of the rule
-GroupNameTemplate
The template used to create the group name
-GroupOU
The OU that the groups will be created in
-GroupType
The type of AD group to create
-Id
The ID of the rule
-Subtree
Specifies if AMS should search child organizational units of the 'ComputerOU' for computer objects
-UnixGidAttributeName
The name of the LDAP attribute to populate with the group's unique unix GID
-UnixGidStartRange
The starting range of Unix GIDs to use
-ForceFullSync
Forces a full sync the next time the JIT group worker runs
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
None
OUTPUTS
Lithnet.AccessManager.PowerShell.JitConfigurationOptionsPSObject
NOTES
RELATED LINKS
Last updated
Was this helpful?