SYNOPSIS
Disable Active Directory sync.
SYNTAX
Disable-ASActiveDirectorySync [-Core] <ConnectCore> [-DistinguishedName] <string[]> [<CommonParameters>]
DESCRIPTION
The Disable-ASActiveDirectorySync cmdlet disables Active Directory sync. After the command is executed, the module status can be checked in the Archive Shuttle user interface. All parameters in the cmdlet are mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Disable-ASActiveDirectorySync -DistinguishedName "DC=qa,DC=lab,DC=quadrotech-it,DC=com"
SYNOPSIS
Gets Active Directory groups.
SYNTAX
Get-ASADGroup -Core <ConnectCore> -DomainADContainerId] <int[]>] [[-GroupSid] <SecurityIdentifier[]>] [[-SAMAccountName] <string[]>] [[-IsEnabled] <bool]>] [[-All] [<SwitchParameter> [<CommonParameters>]
DESCRIPTION
The Get-ASADGroup returns Active Directory groups. Core parameter in the cmdlet is mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Get-ASADGroup |
/* Returns first 1000 groups (due to default paging value=1000) */ |
---|---|
Get-ASADGroup -All -IncludeTotalCount |
/* Returns all Active Directory groups within Archive Shuttle database and shows total count of results */ |
Get-ASADGroup -DomainADContainerId 1 -GroupSid S-1-5-21-141886343-4149337270-1996687478-9161 |
|
Get-ASADGroup -DomainADContainerId 1 -IsEnabled 1 -First 10 -Skip 10 |
/* Returns 10 groups (skips first 10) within specified domain which are active (IsEnabled=0 in AS DB = Group was deleted in AD) */ |
SYNOPSIS
Gets Active Directory group members.
SYNTAX
Get-ASADGroupMember -Core <ConnectCore> -GroupSid] <SecurityIdentifier[]>] [[-MemberSid] <SecurityIdentifier[]>] [[-MemberType] <GroupMemberType>] [[-All] [<SwitchParameter> [<CommonParameters>]
DESCRIPTION
The Get-ASADGroupMember returns Active Directory group members. Core parameter in the cmdlet is mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
Example:
Get-ASADGroupMember |
/* Returns first 1000 group members (due to default paging value=1000) */ |
---|---|
Get-ASADGroupMember -All -IncludeTotalCount |
/* Returns all group members with total count information */ |
Get-ASADGroupMember -MemberType Group |
|
Get-ASADGroupMember -GroupSid S-1-5-21-141886343-4149337270-1996687478-512 |
/* Returns all members of the specified group */ |
Get-ASADGroup -SAMAccountName "Domain Admins" -DomainADContainerId 4 | Get-ASADGroupMember -MemberType User -IncludeTotalCount |
/* Returns all user members of specified group within specified domain and total count information */ |
SYNOPSIS
Get all domains.
SYNTAX
Get-ASADDomain [-Core] <ConnectCore> [<CommonParameters>]
DESCRIPTION
The Get-ASADDomain returns all domains. Core parameter in the cmdlet is mandatory. You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center