Skip to content

Commit 1552ecc

Browse files
authored
Merge branch 'master' into patch-1
2 parents 3c088a7 + c4db60f commit 1552ecc

File tree

1,108 files changed

+26633
-4611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,108 files changed

+26633
-4611
lines changed

.openpublishing.redirection.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5354,6 +5354,56 @@
53545354
"source_path": "docset/winserver2022-ps/WindowsUpdate/WindowsUpdate.md",
53555355
"redirect_url": "/powershell/module/windowsupdate/WindowsUpdate.md?view=windowsserver2022-ps",
53565356
"redirect_document_id": false
5357+
},
5358+
{
5359+
"source_path": "docset/winserver2022-ps/EventTracingManagement/Set-AutologgerConfig.md",
5360+
"redirect_url": "/powershell/module/eventtracingmanagement/Update-AutologgerConfig.md?view=windowsserver2022-ps",
5361+
"redirect_document_id": false
5362+
},
5363+
{
5364+
"source_path": "docset/winserver2016-ps/provisioning/Export-ProvisioningPackage.md",
5365+
"redirect_url": "/powershell/module/provisioning/Export-ProvisioningPackage.md",
5366+
"redirect_document_id": false
5367+
},
5368+
{
5369+
"source_path": "docset/winserver2016-ps/provisioning/Export-Trace.md",
5370+
"redirect_url": "/powershell/module/provisioning/Export-Trace.md",
5371+
"redirect_document_id": false
5372+
},
5373+
{
5374+
"source_path": "docset/winserver2016-ps/provisioning/Get-ProvisioningPackage.md",
5375+
"redirect_url": "/powershell/module/provisioning/Get-ProvisioningPackage.md",
5376+
"redirect_document_id": false
5377+
},
5378+
{
5379+
"source_path": "docset/winserver2016-ps/provisioning/Get-TrustedProvisioningCertificate.md",
5380+
"redirect_url": "/powershell/module/provisioning/Get-TrustedProvisioningCertificate.md",
5381+
"redirect_document_id": false
5382+
},
5383+
{
5384+
"source_path": "docset/winserver2016-ps/provisioning/Install-ProvisioningPackage.md",
5385+
"redirect_url": "/powershell/module/provisioning/Install-ProvisioningPackage.md",
5386+
"redirect_document_id": false
5387+
},
5388+
{
5389+
"source_path": "docset/winserver2016-ps/provisioning/Install-TrustedProvisioningCertificate.md",
5390+
"redirect_url": "/powershell/module/provisioning/Install-TrustedProvisioningCertificate.md",
5391+
"redirect_document_id": false
5392+
},
5393+
{
5394+
"source_path": "docset/winserver2016-ps/provisioning/Provisioning.md",
5395+
"redirect_url": "/powershell/module/provisioning/Provisioning.md",
5396+
"redirect_document_id": false
5397+
},
5398+
{
5399+
"source_path": "docset/winserver2016-ps/provisioning/Uninstall-ProvisioningPackage.md",
5400+
"redirect_url": "/powershell/module/provisioning/Uninstall-ProvisioningPackage.md",
5401+
"redirect_document_id": false
5402+
},
5403+
{
5404+
"source_path": "docset/winserver2016-ps/provisioning/Uninstall-TrustedProvisioningCertificate.md",
5405+
"redirect_url": "/powershell/module/provisioning/Uninstall-TrustedProvisioningCertificate.md",
5406+
"redirect_document_id": false
53575407
}
53585408
]
53595409
}

docset/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"manager": "femila",
7575
"feedback_system": "GitHub",
7676
"feedback_github_repo": "MicrosoftDocs/windows-powershell-docs",
77-
"feedback_product_url": "https://windowsserver.uservoice.com/forums/301869-powershell",
77+
"feedback_product_url": "https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332",
7878
"contributors_to_exclude": [
7979
"rjagiewich",
8080
"traya1",

docset/winserver2012-ps/netsecurity/Set-NetFirewallRule.md

Lines changed: 18 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -522,27 +522,17 @@ Accept wildcard characters: False
522522
523523
### -LocalAddress
524524
Specifies that network packets with matching IP addresses match this rule.
525-
526525
This parameter value is the first end point of an IPsec rule and specifies the computers that are subject to the requirements of this rule.
527-
528-
This parameter value is an IPv4 or IPv6 address, hostname, subnet, range, or the following keyword: Any.
529-
526+
This parameter value is an IPv4 or IPv6 address, subnet, range, or the following keyword: Any.
530527
The acceptable formats for this parameter are:
531-
532-
-- Single IPv4 Address: 1.2.3.4
533-
534-
-- Single IPv6 Address: fe80::1
535-
536-
-- IPv4 Subnet (by network bit count): 1.2.3.4/24
537-
538-
-- IPv6 Subnet (by network bit count): fe80::1/48
539-
540-
-- IPv4 Subnet (by network mask): 1.2.3.4/255.255.255.0
541-
542-
-- IPv4 Range: 1.2.3.4 through 1.2.3.7
543-
544-
-- IPv6 Range: fe80::1 through fe80::9
545-
Note: Querying for rules with this parameter can only be performed using filter objects.
528+
- Single IPv4 Address: 1.2.3.4
529+
- Single IPv6 Address: fe80::1
530+
- IPv4 Subnet (by network bit count): 1.2.3.4/24
531+
- IPv6 Subnet (by network bit count): fe80::1/48
532+
- IPv4 Subnet (by network mask): 1.2.3.4/255.255.255.0
533+
- IPv4 Range: 1.2.3.4 through 1.2.3.7
534+
- IPv6 Range: fe80::1 through fe80::9
535+
Querying for rules with this parameter can only be performed using filter objects.
546536
See the Get-NetFirewallAddressFilter cmdlet for more information.
547537
548538
```yaml
@@ -944,27 +934,17 @@ Accept wildcard characters: False
944934

945935
### -RemoteAddress
946936
Specifies that network packets with matching IP addresses match this rule.
947-
948937
This parameter value is the second end point of an IPsec rule and specifies the computers that are subject to the requirements of this rule.
949-
950-
This parameter value is an IPv4 or IPv6 address, hostname, subnet, range, or the following keyword: Any.
951-
938+
This parameter value is an IPv4 or IPv6 address, subnet, range, or the following keyword: Any.
952939
The acceptable formats for this parameter are:
953-
954-
-- Single IPv4 Address: 1.2.3.4
955-
956-
-- Single IPv6 Address: fe80::1
957-
958-
-- IPv4 Subnet (by network bit count): 1.2.3.4/24
959-
960-
-- IPv6 Subnet (by network bit count): fe80::1/48
961-
962-
-- IPv4 Subnet (by network mask): 1.2.3.4/255.255.255.0
963-
964-
-- IPv4 Range: 1.2.3.4 through 1.2.3.7
965-
966-
-- IPv6 Range: fe80::1 through fe80::9
967-
Note: Querying for rules with this parameter can only be performed using filter objects.
940+
- Single IPv4 Address: 1.2.3.4
941+
- Single IPv6 Address: fe80::1
942+
- IPv4 Subnet (by network bit count): 1.2.3.4/24
943+
- IPv6 Subnet (by network bit count): fe80::1/48
944+
- IPv4 Subnet (by network mask): 1.2.3.4/255.255.255.0
945+
- IPv4 Range: 1.2.3.4 through 1.2.3.7
946+
- IPv6 Range: fe80::1 through fe80::9
947+
Querying for rules with this parameter can only be performed using filter objects.
968948
See the Get-NetFirewallAddressFilter cmdlet for more information.
969949

970950
```yaml

docset/winserver2012-ps/nfs/New-NfsNetgroup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Because netgroups are a server-side setting, **New-NfsNetgroup** is not availabl
3535

3636
### Example 1: Create a netgroup and add a member
3737
```
38-
PS C:\> New-NfsNetgroup -NetGroupName "Contoso-PrintServices -AddMember "Contoso-PS02" -LdapInstanceName "Contoso.com" -LdapNamingContext "CN=MappedIdentity,DC=Contoso,DC=com"
38+
PS C:\> New-NfsNetgroup -NetGroupName "Contoso-PrintServices" -AddMember "Contoso-PS02" -LdapInstanceName "Contoso.com" -LdapNamingContext "CN=MappedIdentity,DC=Contoso,DC=com"
3939
```
4040

4141
This command creates a netgroup that is named Contoso-PrintServices and adds one member that is named Contoso-PS02.

docset/winserver2012-ps/storage/Format-Volume.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,26 @@ To create a new volume, use this cmdlet in conjunction with the Initialize-Disk
6969
## EXAMPLES
7070

7171
### Example 1: Quick format
72-
```
72+
```powershell
7373
PS C:\>Format-Volume -DriveLetter D
7474
```
7575

7676
This example performs a format of the D volume.
7777

7878
### Example 2: Full format using FAT32
79-
```
79+
```powershell
8080
PS C:\>Format-Volume -DriveLetter D -FileSystem FAT32 -Full -Force
8181
```
8282

8383
This example performs a full format of the D volume using the FAT32 file system.
8484

85+
### Example 3: Full format using NTFS and allocation size 8192
86+
```powershell
87+
PS C:\> Format-Volume -DriveLetter D -FileSystem NTFS -AllocationUnitSize 8192
88+
```
89+
90+
This example performs a full format of the D volume using the NTFS file system and allocation size 8192.
91+
8592
## PARAMETERS
8693

8794
### -AllocationUnitSize

docset/winserver2012-ps/updateservices/Get-WsusUpdate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ The acceptable values for this parameter are:
132132
133133
-- FailedOrNeeded
134134
135-
-- InstalledNotApplicableOrNoStatus
135+
-- InstalledOrNotApplicableOrNoStatus
136136
137137
-- Failed
138138
139-
-- InstalledNotApplicable
139+
-- InstalledOrNotApplicable
140140
141141
-- NoStatus
142142

docset/winserver2012-ps/webadministration/New-WebBinding.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ This command creates a binding on the default website.
3232
### Example 2: Add a new SSL site binding
3333
```powershell
3434
PS C:\> New-WebBinding -Name "Default Web Site" -IPAddress "*" -Port 443 -HostHeader "TestSite" -Protocol "https"
35+
PS C:\> (Get-WebBinding -Name "Default Web Site" -Port 443 -Protocol "https").AddSslCertificate("a909502dd82ae41433e6f83886b00d4277a32a7b", "my")
3536
```
3637

37-
This command creates an SSL binding on the default website.
38+
This command creates an SSL binding on the default website and adds a certificate with thumbprint `a909502dd82ae41433e6f83886b00d4277a32a7b` from the computer certificate store.
3839

3940
## PARAMETERS
4041

docset/winserver2012r2-ps/activedirectory/Get-ADFineGrainedPasswordPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ For more information about the how to determine the properties for **FineGrained
5353

5454
## EXAMPLES
5555

56-
### Example 1: Get a fine-grained policy for a specified user
56+
### Example 1: Get a fine-grained policy using a name
5757
```
5858
PS C:\>Get-ADFineGrainedPasswordPolicy -Identity AdminsPSO
5959
Name : AdminsPSO

docset/winserver2012r2-ps/adfs/Test-AdfsFarmJoin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The command specifies the credentials that are stored in the **$FScred** variabl
5858
### Example 2: Test the overwrites of an existing AD FS configuration database
5959
```
6060
PS C:\> $FScred = Get-Credential
61-
PS C:\> Test-AdfsFarmJoin -OverwriteConfiguration -PrimaryComputerName "PrimaryWIDHost" -PrimaryComputerPort 80 -ServiceAccountCredential $FScred -CertificateThumbprint 8169c52b4ec6e77eb2ae17f028fe5da4e35c0bed
61+
PS C:\> Test-AdfsFarmJoin -PrimaryComputerName "PrimaryWIDHost" -PrimaryComputerPort 80 -ServiceAccountCredential $FScred -CertificateThumbprint 8169c52b4ec6e77eb2ae17f028fe5da4e35c0bed
6262
```
6363

6464
The first command uses the **Get-Credential** cmdlet to create a credential object for the Active Directory account under which the AD FS service runs.

docset/winserver2012r2-ps/dhcpserver/Add-DhcpServerv4Reservation.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ This example adds all of the reservations in the file named Reservations.csv to
4242
The Import-Csvhttp://go.microsoft.com/fwlink/p/?LinkId=113341 cmdlet returns the objects with reservation fields and pipes the objects to this cmdlet, which adds these reservations to the DHCP server services.
4343
The file named Reservations.csv should contain the reservations in the following comma-separated values (CSV) format:
4444

45-
`ScopeId,IPAddress,Name,ClientId,Description`
46-
`10.10.10.0,10.10.10.10,Computer1,1a-1b-1c-1d-1e-1f,Reserved for Computer1`
47-
`20.20.20.0,20.20.20.11,Computer2,2a-2b-2c-2d-2e-2f,Reserved for Computer2`
48-
`30.30.30.0,30.30.30.12,Computer3,3a-3b-3c-3d-3e-3f,Reserved for Computer3`
45+
ScopeId,IPAddress,Name,ClientId,Description
46+
47+
10.10.10.0,10.10.10.10,Computer1,1a-1b-1c-1d-1e-1f,Reserved for Computer1
48+
49+
20.20.20.0,20.20.20.11,Computer2,2a-2b-2c-2d-2e-2f,Reserved for Computer2
50+
51+
30.30.30.0,30.30.30.12,Computer3,3a-3b-3c-3d-3e-3f,Reserved for Computer3
4952

5053
### EXAMPLE 3
5154
```

0 commit comments

Comments
 (0)