Skip to content

Commit 5e2a5f7

Browse files
authored
Merge branch 'master' into patch-131
2 parents 149e041 + e01e4a9 commit 5e2a5f7

File tree

8 files changed

+35
-26
lines changed

8 files changed

+35
-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/adfs/New-AdfsAccessControlPolicy.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ New-AdfsAccessControlPolicy -Name <String> [-SourceName <String>] [-Identifier <
2424
## DESCRIPTION
2525
The **New-AdfsAccessControlPolicy** cmdlet creates an Active Directory Federation Services (AD FS) access control policy from a policy metadata file.
2626

27+
**How to create a federation metadata file**
28+
29+
The federation metadata document is an XML file that is available for [download](https://adfshelp.microsoft.com/MetadataExplorer/GetFederationMetadata). To retrieve your document, enter your federation service name, and then select the **Get federation metadata** button.
30+
2731
## EXAMPLES
2832

2933
### Example 1: Create a policy template from a policy metadata file

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/adfs/New-AdfsAccessControlPolicy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ New-AdfsAccessControlPolicy -Name <String> [-SourceName <String>] [-Identifier <
2424
## DESCRIPTION
2525
The **New-AdfsAccessControlPolicy** cmdlet creates an Active Directory Federation Services (AD FS) access control policy from a policy metadata file.
2626

27+
**How to create a federation metadata file**
28+
29+
The federation metadata document is an XML file that is available for [download](https://adfshelp.microsoft.com/MetadataExplorer/GetFederationMetadata). To retrieve your document, enter your federation service name, and then select the **Get federation metadata** button.
30+
31+
2732
## EXAMPLES
2833

2934
### Example 1: Create a policy template from a policy metadata file

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/adfs/New-AdfsAccessControlPolicy.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ New-AdfsAccessControlPolicy -Name <String> [-SourceName <String>] [-Identifier <
2424
## DESCRIPTION
2525
The **New-AdfsAccessControlPolicy** cmdlet creates an Active Directory Federation Services (AD FS) access control policy from a policy metadata file.
2626

27+
**How to create a federation metadata file**
28+
29+
The federation metadata document is an XML file that is available for [download](https://adfshelp.microsoft.com/MetadataExplorer/GetFederationMetadata). To retrieve your document, enter your federation service name, and then select the **Get federation metadata** button.
30+
2731
## EXAMPLES
2832

2933
### Example 1: Create a policy template from a policy metadata file

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)