Hi everyone,
When I remote into a windows machine via WINRM, I found it on remote machine it runs windows powershell rather than windows powershell core by checking the $PSVersionTable. how to change it to the core version? looks like it need to change the endpoint (what’s it? ip+port+executable?), is there a quick way to change it?
[XXXvm01]: PS C:\Users\XXX\Documents> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.19041.3693
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.3693
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
BR