Create core via Connect-ASCore command.
SYNOPSIS
Connects to Archive Shuttle core.
SYNTAX
Connect-ASCore [-ComputerName] <string> [-Credential] <PSCredential> -UseHttps [[-Port] <int>] [<CommonParameters>]
Connect-ASCore [-RemoteAddress] <string> [-Credential] <PSCredential> [-AuthenticationType <AuthenticationType>] [[-SendTimeout] <string>] [<CommonParameters>]
DESCRIPTION
Connects to Archive Shuttle core and creates PowerShellModule service instance which allows all commands to communicate with Archive Shuttle core. This command is used as an input parameter for all other Archive Shuttle PowerShell commands.
Credentials (mandatory) - insert the domain with the username, and after command is executed, the user will be prompted to add a password.
RemoteAddress - Uses specified remote service address. Full URL is required.
ComputerName - Connects to specified computer name.
UseHttps - Uses HTTPS protocol instead of HTTP.
Port - Specifies communication port number. By default, port 80 is used for HTTP and port 443 is used for HTTPS.
Examples of Connect-ASCore usage:
$core = Connect-ASCore -ComputerName "COMPUTER01" -Credential "domain\username" |
/* This will connect to PowerShell service on server COMPUTER01 */ |
$core = Connect-ASCore -ComputerName "COMPUTER01" Port 567 -Credential "domain\username" |
/* This will connect to PowerShell service on server COMPUTER01 with port 567 */ |
$core = Connect-ASCore -Credential "domain\username" |
/* This will connect to default server selected during modules configuration */ |
$password = convertto-securestring -String "EnterPasswordHere" -AsPlainText -Force
$UserCredential = New-object -typename System.Management.Automation.PSCredential -argumentlist "Domain\User",$password
Connect-ASCore -ComputerName "EnterComputerName" -Credential $UserCredential
In the case that core is installed in the cloud, it is possible to connect from a machine where Archive Shuttle modules (PowerShell module) is installed:
$UserCredential = Get-Credential -Message Credentials -UserName user@quadrotech-it.com
Connect-ASCore -ComputerName cloud.archiveshuttle.com -AuthenticationType Basic -UseHttps -Credential $UserCredential
Core is a mandatory parameter for each command as it is used to get data from core.
You can specify core as a parameter, or call Connect-ASCore once and the core parameter will be automatically added from the session state. call Connect-ASCore once and core parameter will be automatically added from session state and other commands can be used without core from this point.
Sometimes command may time-out. Default time is seconds. This can be increased: $core = Connect-ASCore $computerName -Credential $credentials -SendTimeout 120
SYNOPSIS
Sets configuration setting.
SYNTAX
Set-ASConfiguration [-Core] <ConnectCore> [-SettingDefinition] <SettingDefinitionEnum> [-Value] <object> [[-ModuleId] <Guid[]>] [[-SettingScheduleId] <int>] [[-ContainerMappingTemplateId] <int>] [<CommonParameters>]
DESCRIPTION
The Set-ASConfiguration cmdlet sets configuration setting. After the command is executed, the result can be checked in the Archive Shuttle user interface. 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-ASConfiguration -SettingDefinition EVCollectorParallelism -Value 5 |
/* Sets Enterprise Vault Collector module parallelism to 5 for global configuration */ |
---|---|
Set-ASConfiguration -SettingDefinition MyTimezoneOverride -Value "(UTC) Coordinated Universal Time" -UserName "domain\user01" |
/* Sets TimeZoneOverride setting for specified user in global configuration */ |
Set-ASConfiguration -SettingDefinition PstExportFileParallelism -Value 8 -ModuleId c9a0d554-1980-e811-838a-005056982247 Set-ASConfiguration -SettingDefinition PstExportFileParallelism -Value 8 -ModuleId c9a0d554-1980-e811-838a-005056982247 -SettingScheduleId 1 |
/* Sets PST Export paralelism of GLOBAL schedule for specified module */ /* Sets PST Export paralelism of specified custom schedule for specified module */ |
Set-ASConfiguration -SettingDefinition AutoRecreateLeavers 0 -ContainerMappingTemplateId 1 Set-ASConfiguration -SettingDefinition Office365VirtualJournalItemCountLimit 10 -ContainerMappingTemplateId 1 Set-ASConfiguration -SettingDefinition Office365VirtualJournalItemSizeByteLimit 1024000 -ContainerMappingTemplateId 1 |
/* Mapping template configuration details are defined through Set-ASConfiguration command. It works the same way as when defining general system configuration but with a special parameter -ContainerMappingTemplateId is specified */ |
© ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center