Chat now with support
Chat with Support

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-ASLink

SYNOPSIS

Gets list of available links.

SYNTAX

Get-ASLink [-Core] <ConnectCore> [[-LinkId] <Guid>] [[-LinkName] <string>] [[-ComputerName] <string>] [[-Type] <ContainerTypeEnum>] [[-HasLinkDatabase] <bool>] [[-IsArchiveGatheringEnabled] <bool>] [<CommonParameters>]

DESCRIPTION

The Get-ASLink cmdlet gets a list of available Links. 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-ASLink

​Get-ASLink -HasLinkDatabase 1 | ft LinkName

​Get-ASLink -Type EnterpriseVault -LinkName "LINK01"-ComputerName "COMPUTER01" -HasLinkDatabase 1 -IsArchiveGatheringEnabled 1 -IncludeTotalCount

​Get-ASLink -Type EnterpriseVault | Where-Object {$_.LinkName -like "*LINK01"}

Get-ASLinkHealth

SYNOPSIS

Gets source link health details.

SYNTAX

Get-ASLinkHealth [-Core] <ConnectCore> [[-LinkId] <Guid[]>] [[-LinkName] <string[]>] [[-ContainerType] <ContainerTypeEnum[]>] [<CommonParameters>]

DESCRIPTION

The Get-ASLinkHealth cmdlet returns details of source links health (e.g. staging area free space, percentage used, watermarks etc). 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-ASLinkHealth|Select-Object LinkName,ContainerType,StagingArea,StagingFreeSpace,TotalDiskSpace,PercentUsed|Format-Table -AutoSize

/​* Returns health details of all source links in formatted table with specific columns only*/

Get-ASLinkHealth -LinkId "68403d39-b89d-46f8-90e8-78d5e974e25d"

/​* Returns full health details of specified source link*/

Get-ASLinkModule

SYNOPSIS

Gets modules assigned to link.

SYNTAX

Get-ASLinkModule [-Core] <ConnectCore> [-LinkId] <Guid[]> [<CommonParameters>]

DESCRIPTION

The Get-ASLinkModule cmdlet gets a list of modules assigned to link. 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:

Get-ASLink -LinkId "62aa5b86-cd39-e611-813b-005056b84ed8"

Get-ASLink | Get-ASLinkModule | Sort-Object ServiceName |Format-Table ServiceName,ModuleId,ComputerName -AutoSize

Set-ASLinkModule

SYNOPSIS

Sets module to link.

SYNTAX

Set-ASLinkModule [-Core] <ConnectCore> [-LinkId] <Guid[]> [-ModuleId] <Guid> [<CommonParameters>]

DESCRIPTION

The Set-ASLinkModule cmdlet assigns module to 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-ASLinkModule -LinkId "9cdb67de-17f3-4d79-9822-41bfdb4c9007" -ModuleId "f9c9466-cc39-e611-813b-005056b84ed8"


Get-ASLink -LinkName "EV12" | Set-ASLinkModule -ModuleId "f9c9466-cc39-e611-813b-005056b84ed8"


$evexmodule = Get-ASModule -ModuleType EVExport | Where-Object {$_.ComputerName -eq "COMPUTER01"}  

Get-ASLink -Type EnterpriseVault | Where-Object {$_.LinkName -eq "EV12"} | Set-ASLinkModule -ModuleId $evexmodule.ModuleId


Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating