Get-WssBackupConfiguration
Get-WssBackupConfiguration
Gets file specifications from a volume that is part of a backup.
構文
Parameter Set: Default
Get-WssBackupConfiguration [-Volume] <BackupVolume> [ <CommonParameters>]
詳細説明
The Get-WssBackupConfiguration cmdlet gets file specifications from a volume that is part of a backup.
パラメーター
-Volume<BackupVolume>
Specifies the volume to back up.
エイリアス |
なし |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupVolume
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupFileSpec
This cmdlet returns the object that specifies whether files or folders are included in the server backup.
例
Example 1: Get a backup file specification
This example gets a backup file specification from a volume.
The first command gets the backup volumes from the server and stores them in the $ContosoBUVolume13 variable.
The second command gets the backup file specification from the first item (located in position 0) in $ContosoBUVolume13 and stores the backup file specification in the $ContosoBUFSpec15 variable.
PS C:\> $ContosoBUVolume13 = Get-WssBackupVolume -AllVolumes
PS C:\> $ContosoBUFSpec15 = Get-WssBackupConfiguration -Volume $ContosoBUVolume13[0]