Skip to content

Instantly share code, notes, and snippets.

@MarkRobertJohnson
Created September 26, 2018 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarkRobertJohnson/d22d6f198323b8803f2630508ebc05ab to your computer and use it in GitHub Desktop.
Save MarkRobertJohnson/d22d6f198323b8803f2630508ebc05ab to your computer and use it in GitHub Desktop.
Set the MaxEnvelopeSizekb in OtterScript
PSEnsure
(
Key: PowerShell MaxEnvelopeSizekb,
Value: $PowerShell_MaxEnvelopeSizekb,
Collect: "(Get-Item WSMan:\localhost\MaxEnvelopeSizekb).Value",
Configure: "Set-Item WSMan:\localhost\MaxEnvelopeSizekb -Value $PowerShell_MaxEnvelopeSizekb"
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment