Hi Junn,
Sounds interesting, It may work but I'm sure you won't do it in your production
environment.
---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
PowerShell Toolbar:
http://tinyurl.com/PSToolbar
J> Hi.
J>
J> PowerShell's Engine made by .NET FW 2.0 and Windows 2000 is available
J> .NET
J> FW 2.0.
J> So at least these assemblies are available on Windows 2000.
J> If there is even host program for PowerShell's assemblies, it can use
J> PowerShell power on Windows 2000.
J> I searched and discovered ready-made application, namely PowerGUI
J> which made
J> by .NET FW 2.0.
J> However, PowerShell also needs Regestry key for its starting.
J> So It needs PowerShell's assemblies, host program and Registry key
J> for using
J> PowerShell on Windows 2000.
J> The method is as follows.
J>
J> <<<NOTE>>>
J> It needs Windows XP machine not only Windows 2000 machine for
J> executing these.
J> Install PowerShell and PowerGUI(Ver 1.5.2) in XP(not 2000), and
J> export
J> registry key of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell
J> (this registry key includes PowerGUI's one )
J> Second, copy PowerShell Assemblies from GAC to PowerGUI's
J> installation folder.(this is still XP machine)
J>
J> (for example:
J> $path = "C:\Program Files\PowerGUI"
J> [System.AppDomain]::CurrentDomain.GetAssemblies() | Where
J> {$_.FullName -like
J> "*Version=1.0.0.0*";} |
J> Copy-Item -path {$_.Location;} -destination $path;
J> )
J> Still more, Copy this PowerGUI's folder and exported registry key
J> file to 2000 machine.
J>
J> Finaly, integrate this registry key file on Windows 2000 machine.
J>
J> You will get Runnning PowerGUI and PowerShell engine on 2000 !!!
J>
J> Thanks.
J>
J> Junn
J>
J> "Nik" wrote:
J>
>> Morning Guys,
>> I've just inherited a Mix environment Using Windows2000 for
>> authentication.
>> I'm interested in learning PowerShell. Can I go ahead and use
>> PowerShell to
>> create login scripts in Windows2000 or should I just use batch
>> scripting or
>> some other tool like KiXtart
>> Nik