Skip to content

Commit 28ab8de

Browse files
authored
Merge branch 'master' into fix/2340-missing-parameter
2 parents 17fa055 + b423e8e commit 28ab8de

File tree

15 files changed

+43
-44
lines changed

15 files changed

+43
-44
lines changed

docset/winserver2012-ps/netadapter/Set-NetAdapterAdvancedProperty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This example sets the value of the Flow Control advanced property on the network
7474

7575
### EXAMPLE 3
7676
```
77-
PS C:\>Set-NetAdapterAdvancedProperty -Name MyAdapter -RegistryKeyword "*Flo*rol" -RegistryValue "Disable"
77+
PS C:\>Set-NetAdapterAdvancedProperty -Name MyAdapter -RegistryKeyword "*Flo*rol" -RegistryValue 0
7878
```
7979

8080
This example sets the value of the Flow Control advanced property on the network adapter named MyAdapter using wildcard characters in the keyword name.

docset/winserver2012-ps/pki/Export-Certificate.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Accept wildcard characters: False
119119
```
120120
121121
### -Force
122-
Specifies that the exported certificate file will overwrite an existing certificate file, unless the Read-only or hidden attribute is set or the **NoClobber** parameter is also used.
122+
Specifies that the exported certificate file will overwrite an existing certificate file, even if it has the Read-only attribute set.
123123
The **NoClobber** parameter takes precedence over this parameter when both are used.
124124
125125
```yaml
@@ -210,4 +210,3 @@ The FileInfo object contains the information about the certificate file.
210210
[Get-ChildItem](https://go.microsoft.com/fwlink/?LinkId=204557)
211211
212212
[Import-Certificate](./Import-Certificate.md)
213-

docset/winserver2012-ps/webadministration/Get-WebConfigurationProperty.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,31 +26,27 @@ The Get-WebConfigurationProperty cmdlet is similar to the Get-WebConfiguration c
2626

2727
## EXAMPLES
2828

29-
### -------------- EXAMPLE 1: Return the Default Documents for the Default Web Site --------------
29+
### Example 1: Return the default documents for the default website
30+
```powershell
31+
C:\PS> Get-WebConfigurationProperty -Filter "//defaultDocument/files/add" -PSPath "IIS:\Sites\Default Web Site" -Name "value" | select value
3032
```
31-
C:\PS>Get-WebConfigurationProperty -Filter //defaultDocument/files/add -PSPath 'IIS:\Sites\Default Web Site' -Name value | select value
32-
```
33-
34-
Returns a list of the default documents associated with the Default Web Site.
35-
33+
```output
3634
Default.htm
37-
3835
Default.asp
39-
4036
Index.htm
41-
4237
Index.html
43-
4438
Iisstart.htm
45-
4639
Default.aspx
47-
48-
### -------------- EXAMPLE 2: Show handlers mapped to ASPNET_ISAPI.DLL --------------
4940
```
50-
C:\PS>Get-WebConfigurationProperty //handlers 'IIS:\sites\Default Web Site' -Property Collection[scriptProcessor="*aspnet_isapi.dll"] | select path,name
41+
42+
This command returns a list of the default documents associated with the default website.
43+
44+
### Example 2: Show handlers mapped to Aspnet_isapi.dll
45+
```powershell
46+
C:\PS> Get-WebConfigurationProperty -Filter "//handlers" -PSPath "IIS:\sites\Default Web Site" -Name Collection[scriptProcessor="*aspnet_isapi.dll"] | select path,name
5147
```
5248

53-
Demonstrates how to get the handlers mapped to aspnet_isapi.dll.
49+
This command gets the handlers mapped to aspnet_isapi.dll.
5450

5551
## PARAMETERS
5652

docset/winserver2012r2-ps/netadapter/Set-NetAdapterAdvancedProperty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ This example sets the value of the Flow Control advanced property on the network
6767

6868
### EXAMPLE 3
6969
```
70-
PS C:\>Set-NetAdapterAdvancedProperty -Name MyAdapter -RegistryKeyword "*Flo*rol" -RegistryValue "Disable"
70+
PS C:\>Set-NetAdapterAdvancedProperty -Name MyAdapter -RegistryKeyword "*Flo*rol" -RegistryValue 0
7171
```
7272

7373
This example sets the value of the Flow Control advanced property on the network adapter named MyAdapter using wildcard characters in the keyword name.

docset/winserver2012r2-ps/pki/Export-Certificate.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Accept wildcard characters: False
124124
```
125125
126126
### -Force
127-
Specifies that the exported certificate file will overwrite an existing certificate file, unless the Read-only or hidden attribute is set or the **NoClobber** parameter is also used.
127+
Specifies that the exported certificate file will overwrite an existing certificate file, even if it has the Read-only attribute set.
128128
The **NoClobber** parameter takes precedence over this parameter when both are used.
129129
130130
```yaml
@@ -215,4 +215,3 @@ The FileInfo object contains the information about the certificate file.
215215
[Get-ChildItem](https://go.microsoft.com/fwlink/?LinkId=290488)
216216
217217
[Import-Certificate](./Import-Certificate.md)
218-

docset/winserver2012r2-ps/webadministration/Get-WebConfigurationProperty.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ This cmdlet is similar to the Get-WebConfiguration cmdlet, but the current cmdle
3232

3333
## EXAMPLES
3434

35-
### Example 1: Return the default documents for the default web site
35+
### Example 1: Return the default documents for the default website
36+
```powershell
37+
C:\PS> Get-WebConfigurationProperty -Filter "//defaultDocument/files/add" -PSPath "IIS:\Sites\Default Web Site" -Name "value" | select value
3638
```
37-
C:\PS>Get-WebConfigurationProperty -Filter "//defaultDocument/files/add" -PSPath 'IIS:\Sites\Default Web Site' -Name "value" | select value
39+
```output
3840
Default.htm
3941
Default.asp
4042
Index.htm
@@ -45,9 +47,9 @@ Default.aspx
4547

4648
This command returns a list of the default documents associated with the default website.
4749

48-
### Example 2: Show handlers mapped to ASPNET_ISAPI.DLL
49-
```
50-
C:\PS>Get-WebConfigurationProperty -Filter "//handlers" -PSPath 'IIS:\sites\Default Web Site' -Property Collection[scriptProcessor="*aspnet_isapi.dll"] | select path,name
50+
### Example 2: Show handlers mapped to Aspnet_isapi.dll
51+
```powershell
52+
C:\PS> Get-WebConfigurationProperty -Filter "//handlers" -PSPath "IIS:\sites\Default Web Site" -Name Collection[scriptProcessor="*aspnet_isapi.dll"] | select path,name
5153
```
5254

5355
This command gets the handlers mapped to aspnet_isapi.dll.

docset/winserver2016-ps/netadapter/Set-NetAdapterAdvancedProperty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ This command sets the value of the Flow Control advanced property on the network
6363

6464
### Example 2: Set the value of an registry value on the specified network adapter
6565
```
66-
PS C:\> Set-NetAdapterAdvancedProperty -Name "MyAdapter" -RegistryKeyword "*Flo*rol" -RegistryValue "Disable"
66+
PS C:\> Set-NetAdapterAdvancedProperty -Name "MyAdapter" -RegistryKeyword "*Flo*rol" -RegistryValue 0
6767
```
6868

6969
This command sets the value of the Flow Control registry value on the network adapter named MyAdapter using wildcard characters in the keyword name.

docset/winserver2016-ps/pki/Export-Certificate.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Accept wildcard characters: False
121121
```
122122
123123
### -Force
124-
Specifies that the exported certificate file will overwrite an existing certificate file, unless the Read-only or hidden attribute is set or the **NoClobber** parameter is also used.
124+
Specifies that the exported certificate file will overwrite an existing certificate file, even if it has the Read-only attribute set.
125125
The **NoClobber** parameter takes precedence over this parameter when both are used.
126126
127127
```yaml
@@ -212,4 +212,3 @@ The **FileInfo** object contains the information about the certificate file.
212212
[Get-ChildItem](https://go.microsoft.com/fwlink/?LinkId=290488)
213213
214214
[Import-Certificate](./Import-Certificate.md)
215-

docset/winserver2016-ps/webadministration/Get-WebConfigurationProperty.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ This cmdlet is similar to the Get-WebConfiguration cmdlet, but the current cmdle
3636
## EXAMPLES
3737

3838
### Example 1: Return the default documents for the default website
39+
```powershell
40+
C:\PS> Get-WebConfigurationProperty -Filter "//defaultDocument/files/add" -PSPath "IIS:\Sites\Default Web Site" -Name "value" | select value
3941
```
40-
C:\PS>Get-WebConfigurationProperty -Filter "//defaultDocument/files/add" -PSPath "IIS:\Sites\Default Web Site" -Name "value" | select value
42+
```output
4143
Default.htm
4244
Default.asp
4345
Index.htm
@@ -49,8 +51,8 @@ Default.aspx
4951
This command returns a list of the default documents associated with the default website.
5052

5153
### Example 2: Show handlers mapped to Aspnet_isapi.dll
52-
```
53-
C:\PS>Get-WebConfigurationProperty -Filter "//handlers" -PSPath "IIS:\sites\Default Web Site" -Property Collection[scriptProcessor="*aspnet_isapi.dll"] | select path,name
54+
```powershell
55+
C:\PS> Get-WebConfigurationProperty -Filter "//handlers" -PSPath "IIS:\sites\Default Web Site" -Name Collection[scriptProcessor="*aspnet_isapi.dll"] | select path,name
5456
```
5557

5658
This command gets the handlers mapped to aspnet_isapi.dll.

docset/winserver2019-ps/netadapter/Set-NetAdapterAdvancedProperty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ This command sets the value of the Flow Control advanced property on the network
6363

6464
### Example 2: Set the value of an registry value on the specified network adapter
6565
```
66-
PS C:\> Set-NetAdapterAdvancedProperty -Name "MyAdapter" -RegistryKeyword "*Flo*rol" -RegistryValue "Disable"
66+
PS C:\> Set-NetAdapterAdvancedProperty -Name "MyAdapter" -RegistryKeyword "*Flo*rol" -RegistryValue 0
6767
```
6868

6969
This command sets the value of the Flow Control registry value on the network adapter named MyAdapter using wildcard characters in the keyword name.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy