Friday, July 25, 2008

No Virginia – PowerShell on Windows 2000 is not available

I got a comment on an old article on this blog relating to PowerShell (then known as Monad) not running on Windows 2000. The comment asks if there a way to get Monad/PowerShell to run on Windows Server 2000. Sure – upgrade to Windows Server 2003 or Server 2008. I’m  not sure there’s any way, especially one that’s supported, that will enable this. I’m sure if you tried long and hard enough you might hack it – but I’m not sure what side effects that might have on the rest of the system. Sadly, for the commenter, PowerShell requires a newer OS.

Sorry if that’s not the message you wanted to hear.

Technorati tags: ,

2 comments:

Junn said...

Hi.
I know PowerGUI work on 2000 with PowerShell Assemblies(Ver 1.0, 2.0 CTP or CTP2!)

Install PowerShell and PowerGUI(Ver 1.5) in XP(not 2000), and Export registry key of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell

Second, copy PowerShell Assemblies from GAC to PowerGUI's installation folder.

(for example:
$path = "C:\Program Files\PowerGUI"
[System.AppDomain]::CurrentDomain.GetAssemblies() | Where {$_.FullName -like "*Version=1.0.0.0*";} |
Copy-Item -path {$_.Location;} -destination $path;
)

Still more, Copy this folder to 2000 machine.

Finaly, integrate registry key which you copyed just now on 2000.

You will get Runnning PowerGUI and PowerShell engine on 2000 !!!

But powershell.exe won't run...

Thanks.

Junn

Emil said...

There is a way to get it to run. See http://www.ntldr.com/2008/07/26/WindowsPowerShellOnWindows2000.aspx