Hey,
I've got some strange things when i want to use the powershell cmdlets on my remote veeam server
I'm running powershell version 3.0 on my Windows 7.0 Laptop
I'm also running powershell version 3.0 on our Windows 2008 r2 veeam server.
When i connect start aan remote session in powershell to the veeam server, and i add de snapin, i dont get any error's.
Het know's all the cmdlets, so i should think that everything is going great.
But when i enter any command, al always get teh error: Warnng: You should update PowerShell to PowerShell 2.0 Version.
when i enter in the remote session the command: get-host i see that it uses version 1.0
When i start RDP to the veeam server, and give the get-host command there in the powershell console, i get version 3.0
Anybody any idea / suggestions to solv my issue.....?
Thanks
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Jul 19, 2013 12:51 pm
- Full Name: Kristof Van Mol
- Contact:
-
- VP, Product Management
- Posts: 6035
- Liked: 2863 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: Powershell Version 1.0 while remoting.
You should be able to ignore this warning. I believe it is caused because get-host always reports version 1.0. You can check the real version by looking at $PSVersionTable.PsVersion.
http://forums.veeam.com/viewtopic.php?f ... =15#p51890
http://forums.veeam.com/viewtopic.php?f ... =15#p51890
-
- Product Manager
- Posts: 20450
- Liked: 2318 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Powershell Version 1.0 while remoting.
Yep, it’s true that remote session with get-host will always return the 1.0 version. In order to determine the correct version you should either use $PSVersionTable.PSVersion mentioned by Tom or go directly to registry and check there:
Thanks.
Code: Select all
HKLM\Software\Microsoft\PowerShell\PowerShellEngine
Who is online
Users browsing this forum: No registered users and 6 guests