Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Newbie

Reply
 
Old 09-25-2008   #1 (permalink)
Nik


 
 

Newbie

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



My System SpecsSystem Spec
Old 09-25-2008   #2 (permalink)
Shay Levy [MVP]


 
 

Re: Newbie

Hi nik,

You can't use PowerShell on W2K :-(


---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
PowerShell Toolbar: http://tinyurl.com/PSToolbar



n> Morning Guys,
n> I've just inherited a Mix environment Using Windows2000 for
n> authentication.
n> I'm interested in learning PowerShell. Can I go ahead and use
n> PowerShell to
n> create login scripts in Windows2000 or should I just use batch
n> scripting or
n> some other tool like KiXtart
n> Nik


My System SpecsSystem Spec
Old 09-25-2008   #3 (permalink)
Nik Alleyne


 
 

Re: Newbie

Hey Thanks for the insight.
Nik

Shay Levy [MVP] wrote:
Quote:

> Hi nik,
>
> You can't use PowerShell on W2K :-(
>
>
> ---
> Shay Levy
> Windows PowerShell MVP
> http://blogs.microsoft.co.il/blogs/ScriptFanatic
> PowerShell Toolbar: http://tinyurl.com/PSToolbar
>
>
>
Quote:

> n> Morning Guys,
> n> I've just inherited a Mix environment Using Windows2000 for
> n> authentication.
> n> I'm interested in learning PowerShell. Can I go ahead and use
> n> PowerShell to
> n> create login scripts in Windows2000 or should I just use batch
> n> scripting or
> n> some other tool like KiXtart
> n> Nik
>
>
My System SpecsSystem Spec
Old 09-26-2008   #4 (permalink)
Junn


 
 

RE: Newbie

Hi.

PowerShell's Engine made by .NET FW 2.0 and Windows 2000 is available .NET
FW 2.0.
So at least these assemblies are available on Windows 2000.

If there is even host program for PowerShell's assemblies, it can use
PowerShell power on Windows 2000.
I searched and discovered ready-made application, namely PowerGUI which made
by .NET FW 2.0.

However, PowerShell also needs Regestry key for its starting.
So It needs PowerShell's assemblies, host program and Registry key for using
PowerShell on Windows 2000.

The method is as follows.


<<<NOTE>>>
It needs Windows XP machine not only Windows 2000 machine for executing these.


Install PowerShell and PowerGUI(Ver 1.5.2) in XP(not 2000), and export
registry key of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell
(this registry key includes PowerGUI's one )

Second, copy PowerShell Assemblies from GAC to PowerGUI's installation
folder.(this is still XP machine)

(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 PowerGUI's folder and exported registry key file to
2000 machine.

Finaly, integrate this registry key file on Windows 2000 machine.

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


Thanks.


Junn



"Nik" wrote:
Quote:

> 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
>
>
>
My System SpecsSystem Spec
Old 09-26-2008   #5 (permalink)
Shay Levy [MVP]


 
 

RE: Newbie

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>
Quote:
Quote:

>> 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

My System SpecsSystem Spec
Old 09-27-2008   #6 (permalink)
Junn


 
 

RE: Newbie

Hi Shay Levy, Yes, you are correct.

Because I'm College student, I tryed it in Laboratory's machines that are
available to use hobby :-)
As far as I know, it works well without matter but I don't recommend this
for production environment at least without inspection.
I think it is the same as using PowerShell in Server Core.

By the way, If this is applied it is available using multiple PowerShell
versions.(v1.0, v2.0CTP, v2.0CTP2)
http://www.microsoft.com/communities...0-0cb3a8cee921

"Shay Levy [MVP]" wrote:
Quote:

> 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>
Quote:
Quote:

> >> 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
>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Newbie help Gaming
Re: WLM newbie Live Mail
Help I'm newbie Drivers
newbie VB Script
Newbie needs help General Discussion


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46