Get-WssBackupConfiguration
Get-WssBackupConfiguration
Gets file specifications from a volume that is part of a backup.
Syntax
Parameter Set: Default
Get-WssBackupConfiguration [-Volume] <BackupVolume> [ <CommonParameters>]
Detailed Description
The Get-WssBackupConfiguration cmdlet gets file specifications from a volume that is part of a backup.
Parameters
-Volume<BackupVolume>
Specifies the volume to back up.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
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]