Get-WssBackupConfiguration
Gets file specifications from a volume that is part of a backup.
Syntax
Get-WssBackupConfiguration
[-Volume] <BackupVolume>
[<CommonParameters>]
Description
The Get-WssBackupConfiguration cmdlet gets file specifications from a volume that is part of a backup.
Examples
Example 1: Get a backup file specification
PS C:\>$ContosoBUVolume13 = Get-WssBackupVolume -AllVolumes
PS C:\> $ContosoBUFSpec15 = Get-WssBackupConfiguration -Volume $ContosoBUVolume13[0]
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.
Parameters
-Volume
Specifies the volume to back up.
Type: | BackupVolume |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupVolume
Outputs
Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupFileSpec
This cmdlet returns the object that specifies whether files or folders are included in the server backup.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for