Windows – Best way to deploy Powershell 4.0 on Windows 7 sp1 and server 2008

powershellwindowswindows-server-2008

I am planning to deploy powershell 4.0 on all Win 7 and server 2008 and 2008R2.

I did some research about this, but couldn't find the official way to do it. I can just use batch file or GPO to install it for sure, just wondering if there is any official deployment tool for this?

Is there anyone who had experience before that can share with me?

  1. Windows Management Framework 4 OR 5 (Do I need to install WMF5? This just released)
  2. .NET Framework 4.5
  3. Powershell web access

Best Answer

Deploy .NET and WMF via WSUS or SCCM. WMF 5 is still in preview, and would not work on 2008R2 or Win7 anyway, so no, don't worry about WMF 5. Deploy .NET first, as it is a prerequisite of WMF.

Powershell Web Access is something you would set up on one server - your "gateway." Don't deploy Powershell Web Access on every server.

http://technet.microsoft.com/en-us/library/hh831611.aspx

Edit: Also, Powershell Remoting is enabled by default in Server 2012 onwards, but not so for 2008 R2/Win7. You can enable Powershell Remoting on your clients via Group Policy just like this guy does it: http://blog.powershell.no/2010/03/04/enable-and-configure-windows-powershell-remoting-using-group-policy/