File tree Expand file tree Collapse file tree 6 files changed +16
-15
lines changed
7.4/Microsoft.PowerShell.Utility
7.5/Microsoft.PowerShell.Utility
7.6/Microsoft.PowerShell.Utility Expand file tree Collapse file tree 6 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Utility
5- ms.date : 02/05 /2025
5+ ms.date : 12/10 /2025
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.4&WT.mc_id=ps-gethelp
77schema : 2.0.0
88aliases :
@@ -316,7 +316,7 @@ a list of Docker images using the Docker API. The cmdlet connects to the Docker
316316Unix socket.
317317
318318``` powershell
319- Invoke-RestMethod -Uri " http://localhost/v1.40/images/json/" -UnixSocket " /var/run/docker.sock"
319+ Invoke-RestMethod -Uri http://localhost/v1.40/images/json -UnixSocket ' /var/run/docker.sock'
320320```
321321
322322## PARAMETERS
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Utility
5- ms.date : 02/05 /2025
5+ ms.date : 12/10 /2025
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.4&WT.mc_id=ps-gethelp
77schema : 2.0.0
88aliases :
@@ -397,14 +397,14 @@ a list of Docker images using the Docker API. The cmdlet connects to the Docker
397397Unix socket.
398398
399399``` powershell
400- Invoke-WebRequest -Uri " http://localhost/v1.40/images/json/" -UnixSocket " /var/run/docker.sock"
400+ Invoke-WebRequest -Uri http://localhost/v1.40/images/json -UnixSocket ' /var/run/docker.sock'
401401```
402402
403403## PARAMETERS
404404
405405### -AllowInsecureRedirect
406406
407- Allows redirecting from HTTPS to HTTP. By default, any request that is redirected from HTTPS to
407+ Allows redirecting from HTTPS to HTTP. By default, any request that's redirected from HTTPS to
408408HTTP results in an error and the request is aborted to prevent unintentionally communicating in
409409plain text over unencrypted connections. To override this behavior at your own risk, use the
410410** AllowInsecureRedirect** parameter.
@@ -1325,6 +1325,7 @@ Accept wildcard characters: False
13251325` ` `
13261326
13271327# ## -UnixSocket
1328+
13281329Specifies the name of the Unix socket to connect to. This parameter is supported on Unix-based
13291330systems and Windows version 1803 and later. For more information about Windows support of Unix
13301331sockets, see the
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Utility
5- ms.date : 02/05 /2025
5+ ms.date : 12/10 /2025
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.5&WT.mc_id=ps-gethelp
77schema : 2.0.0
88aliases :
@@ -316,7 +316,7 @@ a list of Docker images using the Docker API. The cmdlet connects to the Docker
316316Unix socket.
317317
318318``` powershell
319- Invoke-RestMethod -Uri " http://localhost/v1.40/images/json/" -UnixSocket " /var/run/docker.sock"
319+ Invoke-RestMethod -Uri http://localhost/v1.40/images/json -UnixSocket ' /var/run/docker.sock'
320320```
321321
322322## PARAMETERS
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Utility
5- ms.date : 02/05 /2025
5+ ms.date : 12/10 /2025
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.5&WT.mc_id=ps-gethelp
77schema : 2.0.0
88aliases :
@@ -397,14 +397,14 @@ a list of Docker images using the Docker API. The cmdlet connects to the Docker
397397Unix socket.
398398
399399``` powershell
400- Invoke-WebRequest -Uri " http://localhost/v1.40/images/json/" -UnixSocket " /var/run/docker.sock"
400+ Invoke-WebRequest -Uri http://localhost/v1.40/images/json -UnixSocket ' /var/run/docker.sock'
401401```
402402
403403## PARAMETERS
404404
405405### -AllowInsecureRedirect
406406
407- Allows redirecting from HTTPS to HTTP. By default, any request that is redirected from HTTPS to
407+ Allows redirecting from HTTPS to HTTP. By default, any request that's redirected from HTTPS to
408408HTTP results in an error and the request is aborted to prevent unintentionally communicating in
409409plain text over unencrypted connections. To override this behavior at your own risk, use the
410410** AllowInsecureRedirect** parameter.
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Utility
5- ms.date : 02/05 /2025
5+ ms.date : 12/10 /2025
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.6&WT.mc_id=ps-gethelp
77schema : 2.0.0
88aliases :
@@ -316,7 +316,7 @@ a list of Docker images using the Docker API. The cmdlet connects to the Docker
316316Unix socket.
317317
318318``` powershell
319- Invoke-RestMethod -Uri " http://localhost/v1.40/images/json/" -UnixSocket " /var/run/docker.sock"
319+ Invoke-RestMethod -Uri http://localhost/v1.40/images/json -UnixSocket ' /var/run/docker.sock'
320320```
321321
322322## PARAMETERS
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Utility
5- ms.date : 02/05 /2025
5+ ms.date : 12/10 /2025
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.6&WT.mc_id=ps-gethelp
77schema : 2.0.0
88aliases :
@@ -397,14 +397,14 @@ a list of Docker images using the Docker API. The cmdlet connects to the Docker
397397Unix socket.
398398
399399``` powershell
400- Invoke-WebRequest -Uri " http://localhost/v1.40/images/json/" -UnixSocket " /var/run/docker.sock"
400+ Invoke-WebRequest -Uri http://localhost/v1.40/images/json -UnixSocket ' /var/run/docker.sock'
401401```
402402
403403## PARAMETERS
404404
405405### -AllowInsecureRedirect
406406
407- Allows redirecting from HTTPS to HTTP. By default, any request that is redirected from HTTPS to
407+ Allows redirecting from HTTPS to HTTP. By default, any request that's redirected from HTTPS to
408408HTTP results in an error and the request is aborted to prevent unintentionally communicating in
409409plain text over unencrypted connections. To override this behavior at your own risk, use the
410410** AllowInsecureRedirect** parameter.
You can’t perform that action at this time.
0 commit comments