Set-WSManInstance doesn't work as expected #26647
nezaras2000
started this conversation in
PowerShell 5 to 7 Migration
Replies: 1 comment 1 reply
-
|
I honestly haven't looked into the WSManInstance cmdlets to see what exactly broke and whether there are workarounds but in this case if you are trying to set this value on the local service/client you can just use the Set-Item -Path WSMan:\localhost\MaxEnvelopeSizeKb -Value 200 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Set-WSManInstance -ResourceURI winrm/config -ValueSet @{MaxEnvelopeSizekb = "200"} is a cmdlet that exist in Set-WSManInstance Microsoft Documentation.
This Cmdlet is working fine on "Powershell 5.x", but it gives an error on "Powershell 7.x".
Error message:
Beta Was this translation helpful? Give feedback.
All reactions