立即与支持人员聊天
与支持团队交流

Archive Shuttle 11.4 - PowerShell Guide

Archive Shuttle and PowerShell Get Archive Shuttle commands Public commands table Available commands sorted to groups Available commands
Connect-ASCore Connect to core in AS.Cloud? Set-ASConfiguration Get-ASConfiguration Add-ASSettingSchedule Set-ASSettingSchedule Get-ASSettingSchedule Add-ASSettingDefinitionToSchedule Get-ASFailedItemThreshold Set-ASFailedItemThreshold Get-ASWatermark Set-ASWatermark Get-ASRetentionCategory Get-ASEVRetentionCategoryMapping Add-ASEVRetentionCategoryMapping Add-ASWorkflowPolicy Set-ASWorkflowPolicy Get-ASWorkflowPolicyStep Add-ASWorkflowPolicyStep Set-ASWorkflowPolicyStep Add-ASFilterPolicy Add-ASFilterCondition Get-ASFileNamePolicy Set-ASFileNamePolicy Add-ASFileNamePolicy? Get-ASTargetPathNamePolicy? Set-ASTargetPathNamePolicy? Add-ASTargetPathNamePolicy? Add-ASO365LeaversConfiguration Get-ASO365License Set-ASO365LeaversConfiguration Get-ASO365LeaversConfiguration Get-ASModule Set-ASModule Set-ASModuleLogLevel Get-ASModulePerformance Enable-ASModule Disable-ASModule Start-ASModule Stop-ASModule Restart-ASModule Start-ASCommand Get-ASCommandQueueStatus Set-ASCommandIntervalLastExecutedDate Get-ASScheduledTask Set-ASScheduledTask Enable-ASActiveDirectorySync Disable-ASActiveDirectorySync Get-ASADGroup Get-ASADGroupMember Get-ASADDomain Start-ASSyncADDomains Get-ASExchangeServer Get-ASExchangeDatabase Add-ASEnvironment Set-ASEnvironment Get-ASEnvironment Get-ASVaultStore Enable-ASArchiveGathering Disable-ASArchiveGathering Start-ASArchiveGathering Get-ASLicense Add-ASLink Get-ASLink Get-ASLinkHealth Get-ASLinkModule Set-ASLinkModule Remove-ASLinkDatabase Add-ASItemDatabase Set-ASStagingAreaPath Start-ASStagingAreaCleanup Get-ASProgressStatistics Add-ASPstSourcePath Remove-ASPstSourcePath Set-ASPstSourcePath Set-ASPstTargetPath Set-ASPstTemporaryPath Add-ASContainer Add-ASContainerToUser Get-ASArchive Get-ASUser Get-ASContainers Get-AdamContainer Get-ASMailbox Get-ASUserSyncStatus Set-ASContainer Start-ASSyncADUsers Start-ASO365SyncMailboxes Start-ASADSyncSingleUser Start-ASO365SyncSingleUser Add-ASContainerMapping Set-ASContainerMapping Get-ASBulkMappingWizardTemplate Get-ASMappings Get-ASPremigrationStatus Get-ASStage1Statistics Get-ASStage2Status Get-ASWorkflowPolicy Get-ASFilterPolicy? Enable-ASCollection Enable-ASMigration Disable-ASCollection Disable-ASMigration Enable-ASStage2 Start-ASRetryFailedItems Remove-ASContainerMapping Add-ASMappingConfigurationTemplate??? Set-ASMappingConfigurationTemplate??? Get-ASMappingConfigurationTemplate??? Remove-ASMappingConfigurationTemplate??? Add-ASJEUserGroup? Get-ASJEUserGroup Set-ASJEUserGroup Add-ASFolderNamePolicy Get-ASFolderNamePolicy Set-ASFolderNamePolicy? Get-ASJESenderRecipient Add-ASJEUserMapping Get-ASJEUserMapping Set-ASJEUserMapping Remove-ASJEUserMapping Add-ASJELeaverMapping Get-ASJELeaverMapping Set-ASJELeaverMapping Remove-ASJELeaverMapping Get-ASJEStage1Statistics Add-ASJEEmailAddressRule Get-ASJEEmailAddressRule Set-ASJEEmailAddressRule Remove-ASJEEmailAddressRule Add-ASJEADUserRule Get-ASJEADUserRule Remove-ASJEADUserRule Add-ASJEDistributionListRule Get-ASJEDistributionListRule Remove-ASJEDistributionListRule Set-ASJEDistributionListRule Copy-ASJEAutoCreationRules (Copy-ASJECreationRules) Get-ASMailboxQuotaStatus?? Update-ASMailboxSizeAndQuota?? Get-ASJELeaversStatus Set-ASJELeaversStatus Add-ASGroup Set-ASGroup Get-ASGroup Add-ASUserToGroup Add-ASTag Set-ASTag Get-ASTag Add-ASContainerToTag Recreate-ASMapiProfile Set-ASStage2Status Set-ASPremigrationAction Get-ASHealthStatus Get-ASModuleCredential Set-ASModuleCredential

Get-ASProgressStatistics

SYNOPSIS

Get Progress and Performance Statistics.​

SYNTAX

Get-ASProgressStatistics [-Core] <ConnectCore> [-StatisticsType] <StatisticsTypeEnum>-LinkId] [<Guid?> [<CommonParameters>]​

DESCRIPTION

The Get-ASProgressStatistics will return progress and performance based on defined parameters. 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-ASProgressStatistics -StatisticsType BasicStatistics

Get-ASProgressStatistics -StatisticsType OverallPerformance

/* Retrieves all Basic Statistics */

/* Retrieves all Overall Performance Statistics */​

Get-ASProgressStatistics -StatisticsType BasicStatistics -LinkId e438fb86-4574-490a-8bc4-4d3ec58c65be

Get-ASProgressStatistics -StatisticsType OverallPerformance -LinkId e438fb86-4574-490a-8bc4-4d3ec58c65be

/* Retrieves Basic Statistics for particular link */

/* Retrieves Overall Performance Statistics for particular link */

Get-ASProgressStatistics -StatisticsType OverallPerformance -LinkId e438fb86-4574-490a-8bc4-4d3ec58c65be | Select-object -Property *Size*  

/* Retrieves Overall Performance Statistics for particular link and returns only size statistics for it */

Add-ASPstSourcePath

SYNOPSIS

Add the PST source for link.

SYNTAX

Add-ASPstSourcePath [-Core] <ConnectCore> [-LinkId] <Guid> [-ModuleId] <Guid> [-Path] <string> [<CommonParameters>]

DESCRIPTION

The Add-ASPstSourcePath cmdlet adds PST source for PST link. After the command is executed, the result 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:

​Add-ASPstSourcePath -LinkId "dab5f4a9-263c-e611-813b-005056b84ed8" -ModuleId "249170e0-253c-e611-813b-005056b84ed8" -Path "UNCPath"

$link = Get-ASLink -Type PST |Where-Object {$_.LinkName -eq "PSTSource"}

$pstexportmodule = Get-ASModule -ModuleType PstExport |Where-Object {$_.ComputerName -eq "ComputerName1"}

Add-ASPstSourcePath -Path "\\UNCPath" -LinkId $link.LinkID -ModuleId $pstexportmodule.ModuleId

 

Remove-ASPstSourcePath

SYNOPSIS

Remove the PST source for link.

SYNTAX

Remove-ASPstSourcePath [-Core] <ConnectCore> [-PstDirectoryId] <int[]> [<CommonParameters>]

DESCRIPTION

The Remove-ASPstSourcePath cmdlet deletes PST source for PST link. After the command is executed, the result 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:

Remove-ASPstSourcePath -PstDirectoryId "1"

​/* Removes record from [ArchiveShuttleDirectory].[dbo].[PstDirectory] table */

Set-ASPstSourcePath

SYNOPSIS

Set the PST source for link.

SYNTAX

Set-ASPstSourcePath [-Core] <ConnectCore> [-PstDirectoryId] <int[]> [-Path] <string> [<CommonParameters>]

DESCRIPTION

The Set-ASPstSourcePath cmdlet set PST source for PST link. After the command is executed, the result 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:

Set-ASPstSourcePath -PstDirectoryId "1" -Path "\\UNCPath"

/* Currently, it is possible to only change the path of existing PST directory record (LinkId or ModuleId not supported) */

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级