Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions reference/6/Microsoft.PowerShell.Management/Get-ChildItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,8 @@ recursion, but does not recurse into them. Use the **FollowSymlink** parameter t
directories that target those symbolic links. The **FollowSymlink** is a dynamic parameter and is
supported only in the **FileSystem** provider.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Expand Down
4 changes: 4 additions & 0 deletions reference/6/Microsoft.PowerShell.Management/Split-Path.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ Accept wildcard characters: False
Indicates that this cmdlet returns only the extension of the leaf.
For example, in the path `C:\Test\Logs\Pass1.log`, it returns only `.log`.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Parameter Sets: ExtensionSet
Expand Down Expand Up @@ -221,6 +223,8 @@ Accept wildcard characters: False
Indicates that this cmdlet returns only base name of the leaf.
For example, in the path `C:\Test\Logs\Pass1.log`, it returns only `Pass1`.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Parameter Sets: LeafBaseSet
Expand Down
10 changes: 6 additions & 4 deletions reference/6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ Specifies the content type of the web request.
If this parameter is omitted and the request method is POST, `Invoke-RestMethod` sets the content type to `application/x-www-form-urlencoded`.
Otherwise, the content type is not specified in the call.

**-ContentType** will be overridden when a `MultipartFormDataContent` object is supplied for **-Body**.
**ContentType** will be overridden when a `MultipartFormDataContent` object is supplied for **Body**.

```yaml
Type: String
Expand Down Expand Up @@ -373,12 +373,10 @@ Accept wildcard characters: False

### -CustomMethod

Specifies custom method used for the web request. This can be used with the Request Method required by the endpoint is not an available option on the **-Method**. **-Method** and **-CustomMethod** cannot be used together.
Specifies custom method used for the web request. This can be used with the Request Method required by the endpoint is not an available option on the **Method**. **Method** and **CustomMethod** cannot be used together.

Example:



Invoke-WebRequest -uri 'https://api.contoso.com/widget/' -CustomMethod 'TEST'

This makes a `TEST` HTTP request to the API.
Expand Down Expand Up @@ -627,6 +625,8 @@ Indicates that the cmdlet will not use a proxy to reach the destination.

When you need to bypass the proxy configured in Internet Explorer, or a proxy specified in the environment, use this switch.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Parameter Sets: StandardMethodNoProxy, CustomMethodNoProxy
Expand Down Expand Up @@ -962,6 +962,8 @@ The OAuth or Bearer token to include in the request. **-Token** is required by c

`Invoke-RestMethod -Uri $uri -Authentication OAuth -Token (Read-Host -AsSecureString)`

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SecureString
Parameter Sets: (All)
Expand Down
2 changes: 2 additions & 0 deletions reference/6/Microsoft.PowerShell.Utility/Invoke-WebRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,8 @@ following:

`Invoke-WebRequest -Uri $uri -Authentication OAuth -Token (Read-Host -AsSecureString)`

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SecureString
Parameter Sets: (All)
Expand Down
6 changes: 5 additions & 1 deletion reference/6/Microsoft.PowerShell.Utility/Out-String.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ Accept wildcard characters: False
```

### -NoNewline
Removes all newlines from formatter generated output. Note that newlines present as part of string objects are preserved

Removes all newlines from formatter generated output. Note that newlines present as part of string
objects are preserved.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Expand Down
4 changes: 4 additions & 0 deletions reference/6/Microsoft.PowerShell.Utility/Sort-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ stable sort.
Specifies the number of objects to get from the end of a sorted object array. This results in a
stable sort.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: Int32
Parameter Sets: Bottom
Expand Down Expand Up @@ -504,6 +506,8 @@ Accept wildcard characters: True
Specifies the number of objects to get from the start of a sorted object array. This results in a
stable sort.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: Int32
Parameter Sets: Top
Expand Down
2 changes: 2 additions & 0 deletions reference/7/Microsoft.PowerShell.Management/Get-ChildItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,8 @@ recursion, but does not recurse into them. Use the **FollowSymlink** parameter t
directories that target those symbolic links. The **FollowSymlink** is a dynamic parameter and is
supported only in the **FileSystem** provider.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Expand Down
4 changes: 4 additions & 0 deletions reference/7/Microsoft.PowerShell.Management/Split-Path.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ Accept wildcard characters: False
Indicates that this cmdlet returns only the extension of the leaf.
For example, in the path `C:\Test\Logs\Pass1.log`, it returns only `.log`.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Parameter Sets: ExtensionSet
Expand Down Expand Up @@ -221,6 +223,8 @@ Accept wildcard characters: False
Indicates that this cmdlet returns only base name of the leaf.
For example, in the path `C:\Test\Logs\Pass1.log`, it returns only `Pass1`.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Parameter Sets: LeafBaseSet
Expand Down
14 changes: 8 additions & 6 deletions reference/7/Microsoft.PowerShell.Utility/Invoke-RestMethod.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ Specifies the content type of the web request.
If this parameter is omitted and the request method is POST, `Invoke-RestMethod` sets the content type to `application/x-www-form-urlencoded`.
Otherwise, the content type is not specified in the call.

**-ContentType** will be overridden when a `MultipartFormDataContent` object is supplied for **-Body**.
**ContentType** will be overridden when a `MultipartFormDataContent` object is supplied for **Body**.

```yaml
Type: String
Expand Down Expand Up @@ -373,12 +373,10 @@ Accept wildcard characters: False

### -CustomMethod

Specifies custom method used for the web request. This can be used with the Request Method required by the endpoint is not an available option on the **-Method**. **-Method** and **-CustomMethod** cannot be used together.
Specifies custom method used for the web request. This can be used with the Request Method required by the endpoint is not an available option on the **Method**. **Method** and **CustomMethod** cannot be used together.

Example:



Invoke-WebRequest -uri 'https://api.contoso.com/widget/' -CustomMethod 'TEST'

This makes a `TEST` HTTP request to the API.
Expand Down Expand Up @@ -417,10 +415,10 @@ Accept wildcard characters: False

### -FollowRelLink

Indicates the cmdlet should follow relation links.
Indicates the cmdlet should follow relation links.

Some REST APIs support pagination via Relation Links per [RFC5988](https://tools.ietf.org/html/rfc5988#page-6).
Instead of parsing the header to get the URL for the next page, you can have the cmdlet do this for you.
Instead of parsing the header to get the URL for the next page, you can have the cmdlet do this for you.
To set how many times to follow relation links, use the **MaximumFollowRelLink** parameter.

When using this switch, the cmdlet returns a collection of pages of results.
Expand Down Expand Up @@ -627,6 +625,8 @@ Indicates that the cmdlet will not use a proxy to reach the destination.

When you need to bypass the proxy configured in Internet Explorer, or a proxy specified in the environment, use this switch.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Parameter Sets: StandardMethodNoProxy, CustomMethodNoProxy
Expand Down Expand Up @@ -962,6 +962,8 @@ The OAuth or Bearer token to include in the request. **-Token** is required by c

`Invoke-RestMethod -Uri $uri -Authentication OAuth -Token (Read-Host -AsSecureString)`

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SecureString
Parameter Sets: (All)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,8 @@ following:

`Invoke-WebRequest -Uri $uri -Authentication OAuth -Token (Read-Host -AsSecureString)`

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SecureString
Parameter Sets: (All)
Expand Down Expand Up @@ -1088,7 +1090,7 @@ such as Chrome, FireFox, InternetExplorer, Opera, and Safari.
For example, the following command uses the user agent string for Internet Explorer

```powershell
Invoke-WebRequest -Uri http://website.com/ -UserAgent ([Microsoft.PowerShell.Commands.PSUserAgent]::InternetExplorer)
Invoke-WebRequest -Uri https://website.com/ -UserAgent ([Microsoft.PowerShell.Commands.PSUserAgent]::InternetExplorer)
```

```yaml
Expand Down
6 changes: 5 additions & 1 deletion reference/7/Microsoft.PowerShell.Utility/Out-String.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ Accept wildcard characters: False
```

### -NoNewline
Removes all newlines from formatter generated output. Note that newlines present as part of string objects are preserved

Removes all newlines from formatter generated output. Note that newlines present as part of string
objects are preserved.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: SwitchParameter
Expand Down
4 changes: 4 additions & 0 deletions reference/7/Microsoft.PowerShell.Utility/Sort-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ stable sort.
Specifies the number of objects to get from the end of a sorted object array. This results in a
stable sort.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: Int32
Parameter Sets: Bottom
Expand Down Expand Up @@ -504,6 +506,8 @@ Accept wildcard characters: True
Specifies the number of objects to get from the start of a sorted object array. This results in a
stable sort.

This parameter was introduced in PowerShell 6.0.

```yaml
Type: Int32
Parameter Sets: Top
Expand Down