Skip to content

Commit e0db45d

Browse files
authored
Update New-WBFileSpec.md
updated 2012r2 version of the document
1 parent fcd050d commit e0db45d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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
```

0 commit comments

Comments
 (0)