Skip to content

Commit e01e4a9

Browse files
authored
Merge pull request MicrosoftDocs#2816 from msbemba/patch-133
Update New-WBFileSpec.md
2 parents d448fa1 + 116c1bd commit e01e4a9

File tree

5 files changed

+22
-26
lines changed

5 files changed

+22
-26
lines changed

docset/winserver2012-ps/windowsserverbackup/New-WBFileSpec.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,21 @@ The WBFileSpec object that specifies the file C:\Sample\1.jpg for backup.
4040

4141
This command creates a file specification and adds the file named "C:\Sample\1.jpg" to it.
4242

43-
### Example 2: Add a volume recursively to a backup file specification
43+
### Example 2: Add a folder recursively to a backup file specification
4444
```
45-
PS C:\> $Filespec = New-WBFileSpec -FileSpec C:\Sample
46-
47-
The WBFileSpec object that specifies the folder C:\Sample for backup.
45+
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample"
4846
```
4947

50-
This command creates a file specification and adds the contents of the "C:\Sample" folder to it.
51-
Because the cmdlet does not include the **NonRecursive** parameter, the backup includes the contents of this folder and its subfolders.
48+
This command creates a file specification and adds the contents of the C:\Sample folder to it.
49+
Because the cmdlet does not include the *NonRecursive* parameter, the backup includes the contents of this folder and its subfolders.
5250

53-
### Example 3: Add a volume nonrecursively to a backup file specification
51+
### Example 3: Add a folder nonrecursively to a backup file specification
5452
```
55-
PS C:\> $Filespec = New-WBFileSpec -FileSpec C:\Sample -NonRecursive
56-
57-
The WBFileSpec object that specifies the folder C:\sample for backup non-recursively.
53+
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample" -NonRecursive
5854
```
5955

60-
This command creates a file specification and adds the contents of the "C:\Sample" folder to it.
61-
Because the cmdlet includes the **NonRecursive** parameter, the backup includes the contents of this folder but not the contents of its subfolders.
56+
This command creates a file specification and adds the contents of the C:\Sample folder to it.
57+
Because the cmdlet includes the *NonRecursive* parameter, the backup includes the contents of this folder but not the contents of its subfolders.
6258

6359
### Example 4: Exclude files from a backup file specification
6460
```

docset/winserver2012r2-ps/windowsserverbackup/New-WBFileSpec.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@ PS C:\> $Filespec = New-WBFileSpec -FileSpec C:\Sample\1.jpg
4040

4141
This command creates a file specification and adds the file named "C:\Sample\1.jpg" to it.
4242

43-
### Example 2: Add a volume recursively to a backup file specification
43+
### Example 2: Add a folder recursively to a backup file specification
4444
```
45-
PS C:\> $Filespec = New-WBFileSpec -FileSpec C:\Sample
45+
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample"
4646
```
4747

48-
This command creates a file specification and adds the contents of the "C:\Sample" folder to it.
49-
Because the cmdlet does not include the **NonRecursive** parameter, the backup includes the contents of this folder and its subfolders.
48+
This command creates a file specification and adds the contents of the C:\Sample folder to it.
49+
Because the cmdlet does not include the *NonRecursive* parameter, the backup includes the contents of this folder and its subfolders.
5050

51-
### Example 3: Add a volume nonrecursively to a backup file specification
51+
### Example 3: Add a folder nonrecursively to a backup file specification
5252
```
53-
PS C:\> $Filespec = New-WBFileSpec -FileSpec C:\Sample -NonRecursive
53+
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample" -NonRecursive
5454
```
5555

56-
This command creates a file specification and adds the contents of the "C:\Sample" folder to it.
57-
Because the cmdlet includes the **NonRecursive** parameter, the backup includes the contents of this folder but not the contents of its subfolders.
56+
This command creates a file specification and adds the contents of the C:\Sample folder to it.
57+
Because the cmdlet includes the *NonRecursive* parameter, the backup includes the contents of this folder but not the contents of its subfolders.
5858

5959
### Example 4: Exclude files from a backup file specification
6060
```

docset/winserver2016-ps/windowsserverbackup/New-WBFileSpec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample\1.jpg"
4141

4242
This command creates a file specification and adds the file named C:\Sample\1.jpg to it.
4343

44-
### Example 2: Add a volume recursively to a backup file specification
44+
### Example 2: Add a folder recursively to a backup file specification
4545
```
4646
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample"
4747
```
4848

4949
This command creates a file specification and adds the contents of the C:\Sample folder to it.
5050
Because the cmdlet does not include the *NonRecursive* parameter, the backup includes the contents of this folder and its subfolders.
5151

52-
### Example 3: Add a volume nonrecursively to a backup file specification
52+
### Example 3: Add a folder nonrecursively to a backup file specification
5353
```
5454
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample" -NonRecursive
5555
```

docset/winserver2019-ps/windowsserverbackup/New-WBFileSpec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample\1.jpg"
4141

4242
This command creates a file specification and adds the file named C:\Sample\1.jpg to it.
4343

44-
### Example 2: Add a volume recursively to a backup file specification
44+
### Example 2: Add a folder recursively to a backup file specification
4545
```
4646
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample"
4747
```
4848

4949
This command creates a file specification and adds the contents of the C:\Sample folder to it.
5050
Because the cmdlet does not include the *NonRecursive* parameter, the backup includes the contents of this folder and its subfolders.
5151

52-
### Example 3: Add a volume nonrecursively to a backup file specification
52+
### Example 3: Add a folder nonrecursively to a backup file specification
5353
```
5454
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample" -NonRecursive
5555
```

docset/winserver2022-ps/windowsserverbackup/New-WBFileSpec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample\1.jpg"
4141

4242
This command creates a file specification and adds the file named C:\Sample\1.jpg to it.
4343

44-
### Example 2: Add a volume recursively to a backup file specification
44+
### Example 2: Add a folder recursively to a backup file specification
4545
```
4646
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample"
4747
```
4848

4949
This command creates a file specification and adds the contents of the C:\Sample folder to it.
5050
Because the cmdlet does not include the *NonRecursive* parameter, the backup includes the contents of this folder and its subfolders.
5151

52-
### Example 3: Add a volume nonrecursively to a backup file specification
52+
### Example 3: Add a folder nonrecursively to a backup file specification
5353
```
5454
PS C:\> $Filespec = New-WBFileSpec -FileSpec "C:\Sample" -NonRecursive
5555
```

0 commit comments

Comments
 (0)