Set-WssClientBackupVolumeExcludedFolder

Set-WssClientBackupVolumeExcludedFolder

Specifies folders to exclude from client backup on a computer.

구문

Parameter Set: ByName
Set-WssClientBackupVolumeExcludedFolder [-ComputerName] <String> [-VolumeGuid] <Guid> [[-ExcludedFolders] <ICollection<String>> ] [-Clear] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: BySid
Set-WssClientBackupVolumeExcludedFolder [-ComputerSid] <String> [-VolumeGuid] <Guid> [[-ExcludedFolders] <ICollection<String>> ] [-Clear] [-Confirm] [-WhatIf] [ <CommonParameters>]

자세한 설명

The Set-WssClientBackupVolumeExcludedFolder cmdlet specifies folders to exclude from client backup on a computer. Specify a computer by name or security identifier (SID). Specify a volume by using its GUID.

If you use the Clear parameter, the cmdlet clears the list of excluded folders, so future backups do not exclude any folders.

매개 변수

-Clear

Indicates that the cmdlet clears the list of excluded folders.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ComputerName<String>

Specifies the name of a computer.

별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

True (ByValue)

와일드카드 문자 허용 여부

false

-ComputerSid<String>

Specifies the SID of a computer.

별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ExcludedFolders<ICollection<String>>

Specifies a collection of folder paths. The volume containing the folders is specified by the -VolumeGuid parameter, so do not include the volume letter as part of the path.

별칭

없음

필수 여부

false

위치

5

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-VolumeGuid<Guid>

Specifies the GUID of a volume. To obtain a GUID, use the Get-WssClientBackupVolume cmdlet.

별칭

없음

필수 여부

true

위치

4

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Confirm

cmdlet을 실행하기 전에 확인 메시지가 표시됩니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-WhatIf

cmdlet이 실행될 경우 결과 동작을 표시합니다. cmdlet이 실행되지 않습니다.

필수 여부

false

위치

named

기본값

false

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

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

입력

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

출력

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

예제

Example 1: Exclude folders from backup for a volume

This command excludes folders for the specified volume for the computer named Workstation073. The command accepts a collection of folders to exclude from backup.

PS C:\> Set-WssClientBackupVolumeExcludedFolder -ComputerName "Workstation073" -VolumeGuid b6b093a2-1860-4172-a4a5-07ce2aebfa13 -ExcludedFolders (@("Temp\","Downloads\") -as [string[]])

관련 항목

Disable-WssClientBackupVolume

Enable-WssClientBackupVolume

Get-WssClientBackupVolume