Skip to content

Instantly share code, notes, and snippets.

View t10-13rocket's full-sized avatar
💭
Thought processing.

Amy D. Vining t10-13rocket

💭
Thought processing.
  • Jacksonville, Florida
View GitHub Profile
####
#### Proxy function to restore Writing the URI to verbose when calling Invoke-RestMethod
#### When calling out of a module -Verbose isn't inherited so the function fiddles verbosepreference as a parameter.
Function Invoke-RestMethod {
[CmdletBinding(DefaultParameterSetName='StandardMethod', HelpUri='https://go.microsoft.com/fwlink/?LinkID=2096706')]
<#
.ForwardHelpTargetName Microsoft.PowerShell.Utility\Invoke-RestMethod
.ForwardHelpCategory Cmdlet
#>
param(