SYNOPSIS
Sets an existing environment.
SYNTAX
Set-ASEnvironment [-Core] <ConnectCore> [-EnvironmentType] <ContainerTypeEnvironmentEnum> [-ModuleId] <Guid> [-DisplayName] <string> [-SqlServer] <string> [-SqlDatabaseName] <string> [[-SqlTableSchema] <string>] [[-LinkSqlServer] <string>] [[-BasePaths] <string>] [-EnvironmentId] <int> [<CommonParameters>]
DESCRIPTION
The Set-ASEnvironment cmdlet sets an existing environment. After the command is executed, the environment 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.
Parameters (M)EnvironmentId, (M)EnvironmentType, (V)ModuleId, (V)DisplayName, (V)SqlServer, (V)SqlDatabaseName are common for all containers. Other parameters depends on environment type:
·For type DellArchiveManager: (V)LinkSqlServer.
·For type SourceOne: (V)LinkSqlServer, (V)BasePaths.
·For type EasDynamicParameters: (V)SqlTableSchema, (V)LinkSqlServer, (V)WebServerUrl.
NOTE: Some parameters are dynamically added/removed (based on EnvironmentType) |
Example:
Set-ASEnvironment -EnvironmentId 1 -EnvironmentType EnterpriseVault -ModuleId "C0484EE5-CB39-E611-813B-005056B84ED8" -DisplayName "EV10 QA" -SqlServer "172.16.7.8\INSTANCE1" -SqlDatabaseName "EnterpriseVaultDirectory" |
|
SYNOPSIS
Displays data regarding the environment.
SYNTAX
Get-ASEnvironment [[-Core] <ConnectCore>] [[-EnvironmentType] <ContainerTypeEnvironmentEnum[]>] [[-DisplayName] <string[]>] [[-SqlServerName] <string[]>] [[-SqlDatabaseName] <string[]>] [<CommonParameters>]
DESCRIPTION
The Get-ASEnvironment cmdlet gets data regarding a specified environment. The core parameter 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-ASEnvironment |
/* Returns all existing environments */ |
Get-ASEnvironment -EnvironmentType EnterpriseVault |
/* Returns only Enterprise Vault environments*/ |
Get-ASEnvironment -DisplayName "EV10 QA" -SqlServerName "172.16.7.8\INSTANCE1" |
/* Returns only specific Enterprise Vault environment */ |
SYNOPSIS
Gets list of Vault stores.
SYNTAX
Get-ASVaultStore [-Core] <ConnectCore> [[-LinkId] <Guid[]>] [[-VaultStoreId] <string[]>] [[-Skip] <uint64>] [[-First] <uint64>] [<CommonParameters>]
DESCRIPTION
The Get-ASVaultStore cmdlet gets a list of available Vault Stores. The core parameter 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-ASLink -LinkName "VS1" | Get-ASVaultStore |
/* Enterprise Vault Vault Store received through link name */ |
Get-ASLink -Type EnterpriseVault | Where-Object {$_.LinkName -like "*VS1*"} | Get-ASVaultStore |
/* Enterprise Vault Vault Store received through link type and specific name */ |
SYNOPSIS
Enables archive gathering.
SYNTAX
Enable-ASArchiveGathering [-Core] <ConnectCore> [[-LinkId] <Guid[]>] [[-VaultStoreId] <string[]>] [<CommonParameters>]
DESCRIPTION
The Enable-ASArchiveGathering cmdlet enables archive gathering. 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:
Get-ASLink -LinkName "VS1" | Get-ASVaultStore | Enable-ASArchiveGathering |
/* Enables archive gathering for specified Enterprise Vault Vault Store through link name */ |
Enable-ASArchiveGathering -LinkId "434b9603-1ab9-e511-80e6-005056b82cc9" Enable-ASArchiveGathering -VaulStoreId "13851C140C2F8184F993AF0C26BDA3C6C1210000ev10-site" |
|
$evlink = Get-ASLink -Type EnterpriseVault |Where-Object {$_.LinkName -like "*VS1*"} | Get-ASVaultStore Enable-ASArchiveGathering -VaultStoreId $evlink.VaultStoreId |
/* First Enterprise Vault Vault Store is searched through Link name then archive gathering enabled |
NOTE: Currently, only Enterprise Vault is supported (7.7). |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center