SYNOPSIS
Set Archive Shuttle group.
SYNTAX
Set-ASGroup [-Core] <ConnectCore> -GroupName] [<string[]>-GroupId] [<int[]> [<CommonParameters>]
DESCRIPTION
The Get-ASGroup cmdlet update Archive Shuttle 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:
Set-ASGroup -GroupName NEWGROUPNAME -GroupId 1 |
|
SYNOPSIS
Get Archive Shuttle group.
SYNTAX
Get-ASGroup [-Core] <ConnectCore> -GroupName] [<string[]>-GroupId] [<int[]> [<CommonParameters>]
DESCRIPTION
The Get-ASGroup cmdlet gets Archive Shuttle 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-ASGroup -GroupName GROUP01 |
|
SYNOPSIS
Add Archive Shuttle user to group.
SYNTAX
Add-ASUserToGroup [-Core] <ConnectCore> [-UserSid] [<SecurityIdentifier[]>] [-SAMAccountName] [<string[]>] -GroupName] [<string> [<CommonParameters>]
DESCRIPTION
The Add-ASUserToGroup cmdlet adds a user to a group. 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:
Add-ASUserToGroup -SAMAccountName userSAname -GroupName GROUP01 Add-ASUserToGroup -SAMAccountName domainName\userSAname -GroupName GROUP01 |
|
CSV Import CSV file contains multiple rows with data (UserSid, SAMAccountName,GroupName). Because of this, different users can be assigned into different groups. In the case of SAMAccountName, domains can also be used (domainname\samaccountname): Import-Csv -Path "\\Server01\Folder01\group.csv" | ForEach-Object { Add-ASUserToGroup -UserSid $_.UserSid -GroupName $_.GroupName} Import-Csv -Path "\\Server01\Folder01\group2.csv" | ForEach-Object { Add-ASUserToGroup -SAMAccountName $_.SAMAccountName -GroupName $_.GroupName}
CSV file only contains a list of users (either with UserSID or SAMAccountName). The names of the rows (headers) must be exactly UserSid or SAMAccountName. With this approach, the entire list of users within file can be assigned to one group only: Import-Csv -Path "\\Server01\Folder01\group3.csv" | Add-ASUserToGroup -GroupName GROUP01 |
|
SYNOPSIS
Add Archive Shuttle Tag.
SYNTAX
Add-ASTag [-Core] <ConnectCore> [-TagName] [<string[]>] [<CommonParameters>]
DESCRIPTION
The Add-ASTag cmdlet creates Archive Shuttle Tags. 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:
Add-ASTag -TagName TAG01 Add-ASTag -TagName TAG01,TAG02,TAG03 |
|
© ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center