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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 01/31/2024
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/import-clixml?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Import-Clixml
Expand Down Expand Up @@ -48,6 +48,10 @@ The **TypeNames** property contains the original type name prefixed with `Deseri
`Import-Clixml` uses the byte-order-mark (BOM) to detect the encoding format of the file. If the
file has no BOM, it assumes the encoding is UTF8.

> [!NOTE]
> `[System.Management.Automation.ScriptBlock]` objects are serialized into the `<SKB>` element in
> CLIXML. However, the `<SKB>` element is always deserialized to **Strings**.

For more information about CLI, see
[Language independence](/dotnet/standard/language-independence).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 10/29/2025
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
aliases:
Expand Down Expand Up @@ -44,6 +44,13 @@ data.

This cmdlet is introduced in Windows PowerShell 3.0. This command can be run using the `irm` alias.

By default, the HTTP request includes default values for the following HTTP headers:

- `Host`
- `User-Agent`

Use the **Headers** parameter to add other headers or override the default values.

## EXAMPLES

### Example 1: Get the PowerShell RSS feed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/16/2025
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
aliases:
Expand Down Expand Up @@ -62,6 +62,12 @@ This cmdlet was introduced in Windows PowerShell 3.0.
> For more information about this security update, see
> [PowerShell 5.1: Preventing script execution from web content](https://support.microsoft.com/KB/5074596).

By default, the HTTP request includes default values for the following HTTP headers:

- `Host`
- `User-Agent`

Use the **Headers** parameter to add other headers or override the default values.

This command can be run using the `iwr`, `curl`, or `wget` aliases.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 01/31/2024
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/import-clixml?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Import-Clixml
Expand Down Expand Up @@ -48,6 +48,10 @@ The **TypeNames** property contains the original type name prefixed with `Deseri
`Import-Clixml` uses the byte-order-mark (BOM) to detect the encoding format of the file. If the
file has no BOM, it assumes the encoding is UTF8.

> [!NOTE]
> `[System.Management.Automation.ScriptBlock]` objects are serialized into the `<SKB>` element in
> CLIXML. However, the `<SKB>` element is always deserialized to **Strings**.

For more information about CLI, see
[Language independence](/dotnet/standard/language-independence).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/10/2025
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
aliases:
Expand Down Expand Up @@ -116,6 +116,14 @@ variables. See the [NOTES](#notes) section of this article.
Beginning in PowerShell 7.4, character encoding for requests defaults to UTF-8 instead of ASCII. If
you need a different encoding, you must set the `charset` attribute in the `Content-Type` header.

By default, the HTTP request includes default values for the following HTTP headers:

- `Accept-Encoding`
- `Host`
- `User-Agent`

Use the **Headers** parameter to add other headers or override the default values.

## EXAMPLES

### Example 1: Get the PowerShell RSS feed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/10/2025
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
aliases:
Expand Down Expand Up @@ -105,6 +105,14 @@ variables. See the [Notes](#notes) section of this article.
Beginning in PowerShell 7.4, character encoding for requests defaults to UTF-8 instead of ASCII. If
you need a different encoding, you must set the `charset` attribute in the `Content-Type` header.

By default, the HTTP request includes default values for the following HTTP headers:

- `Accept-Encoding`
- `Host`
- `User-Agent`

Use the **Headers** parameter to add other headers or override the default values.

## EXAMPLES

### Example 1: Send a web request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 01/31/2024
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/import-clixml?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Import-Clixml
Expand Down Expand Up @@ -48,6 +48,10 @@ The **TypeNames** property contains the original type name prefixed with `Deseri
`Import-Clixml` uses the byte-order-mark (BOM) to detect the encoding format of the file. If the
file has no BOM, it assumes the encoding is UTF8.

> [!NOTE]
> `[System.Management.Automation.ScriptBlock]` objects are serialized into the `<SKB>` element in
> CLIXML. However, the `<SKB>` element is always deserialized to **Strings**.

For more information about CLI, see
[Language independence](/dotnet/standard/language-independence).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/10/2025
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
aliases:
Expand Down Expand Up @@ -116,6 +116,14 @@ variables. See the [NOTES](#notes) section of this article.
Beginning in PowerShell 7.4, character encoding for requests defaults to UTF-8 instead of ASCII. If
you need a different encoding, you must set the `charset` attribute in the `Content-Type` header.

By default, the HTTP request includes default values for the following HTTP headers:

- `Accept-Encoding`
- `Host`
- `User-Agent`

Use the **Headers** parameter to add other headers or override the default values.

## EXAMPLES

### Example 1: Get the PowerShell RSS feed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/10/2025
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
aliases:
Expand Down Expand Up @@ -105,6 +105,14 @@ variables. See the [Notes](#notes) section of this article.
Beginning in PowerShell 7.4, character encoding for requests defaults to UTF-8 instead of ASCII. If
you need a different encoding, you must set the `charset` attribute in the `Content-Type` header.

By default, the HTTP request includes default values for the following HTTP headers:

- `Accept-Encoding`
- `Host`
- `User-Agent`

Use the **Headers** parameter to add other headers or override the default values.

## EXAMPLES

### Example 1: Send a web request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 01/31/2024
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/import-clixml?view=powershell-7.6&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Import-Clixml
Expand Down Expand Up @@ -48,6 +48,10 @@ The **TypeNames** property contains the original type name prefixed with `Deseri
`Import-Clixml` uses the byte-order-mark (BOM) to detect the encoding format of the file. If the
file has no BOM, it assumes the encoding is UTF8.

> [!NOTE]
> `[System.Management.Automation.ScriptBlock]` objects are serialized into the `<SKB>` element in
> CLIXML. However, the `<SKB>` element is always deserialized to **Strings**.

For more information about CLI, see
[Language independence](/dotnet/standard/language-independence).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/10/2025
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.6&WT.mc_id=ps-gethelp
schema: 2.0.0
aliases:
Expand Down Expand Up @@ -116,6 +116,14 @@ variables. See the [NOTES](#notes) section of this article.
Beginning in PowerShell 7.4, character encoding for requests defaults to UTF-8 instead of ASCII. If
you need a different encoding, you must set the `charset` attribute in the `Content-Type` header.

By default, the HTTP request includes default values for the following HTTP headers:

- `Accept-Encoding`
- `Host`
- `User-Agent`

Use the **Headers** parameter to add other headers or override the default values.

## EXAMPLES

### Example 1: Get the PowerShell RSS feed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/10/2025
ms.date: 01/20/2026
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.6&WT.mc_id=ps-gethelp
schema: 2.0.0
aliases:
Expand Down Expand Up @@ -105,6 +105,14 @@ variables. See the [Notes](#notes) section of this article.
Beginning in PowerShell 7.4, character encoding for requests defaults to UTF-8 instead of ASCII. If
you need a different encoding, you must set the `charset` attribute in the `Content-Type` header.

By default, the HTTP request includes default values for the following HTTP headers:

- `Accept-Encoding`
- `Host`
- `User-Agent`

Use the **Headers** parameter to add other headers or override the default values.

## EXAMPLES

### Example 1: Send a web request
Expand Down