less than 1 minute read

I recently wanted to test copying file over a PSSession where the remote host would be PowerShell v2 with PowerShell Remoting enabled.

I did not have any handy machine with only PS2 installed so I had to register a new PowerShell Configuration to use that context.

# Create a new PowerShell Session Configuration named 'PS2'
Register-PSSessionConfiguration -Name PS2 -PSVersion 2

To access to this PSSession Configuration remotly, you would do the following

# Access the PSSession configuration created above remotely
Enter-PSSession -Computer RemoteServer -Configuration PS2

Leave a comment