Remove-WssBackupConfiguration

Windows Server 2012 R2 and Windows 8.1

Remove-WssBackupConfiguration

Removes a file specification from a backup volume.

구문

Parameter Set: Default
Remove-WssBackupConfiguration [-Volume] <BackupVolume> [-Configuration] <BackupFileSpec> [ <CommonParameters>]




자세한 설명

The Remove-WssBackupConfiguration cmdlet removes a file specification from a backup volume. When you remove a file specification from a backup volume, the files and folders in the file specification are no longer backed up with the backup volume.

매개 변수

-Configuration<BackupFileSpec>

Specifies the backup file specification to remove from the volume.


별칭

Config

필수 여부

true

위치

2

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-Volume<BackupVolume>

Specifies the volume from which to remove the file specification.


별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(http://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

  • Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupVolume

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • Microsoft.WindowsServerSolutions.DataProtection.ServerBackup.ObjectModel.BackupFileSpec

    This cmdlet generates an object that indicates whether to include or exclude files or folders in the server backup.


예제

Example 1: Remove a file specification from a backup volume

This command removes the backup file specification from a backup volume.

The first command gets the backup volumes from the server and stores them in the $ContosoBUVolume110 variable.

The second command gets the backup file specification from the first item (located in position 0) in $ContosoBUVolume110 and stores the backup file specification in the $ContosoBUFilespec05 variable.

The third command removes the backup file specification from the second item (located in position 1) in $ContosoBUFilespec05.


PS C:\> $ContosoBUVolume110 = Get-WssBackupVolume -AllVolumes
PS C:\> $ContosoBUFilespec05 = Get-WssBackupConfiguration –Volume $ContosoBUVolume110[0]
PS C:\> Remove-WssBackupConfiguration -Configuration $ContosoBUFilespec05[1]

관련 항목

커뮤니티 추가 항목

추가
표시: