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"} |
|
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*/ |
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 |
|
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 |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center