Windows Vista Forums

Newbie
  1. #1


    Nik Guest

    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

  2. #2


    Shay Levy [MVP] Guest

    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

  3. #3


    Nik Alleyne Guest

    Re: Newbie

    Hey Thanks for the insight.
    Nik

    Shay Levy [MVP] wrote:

    > 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

  4. #4


    Junn Guest

    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:

    > 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

  5. #5


    Shay Levy [MVP] Guest

    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>

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

  6. #6


    Junn Guest

    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:

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

      My System SpecsSystem Spec

Newbie problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie needs help! jim1812 Vista General 5 17 Oct 2008
newbie SF VB Script 1 18 Jul 2008
64 bit newbie acheryl General Discussion 13 04 Jul 2008
newbie SF VB Script 1 20 May 2008
Newbie mosfet PowerShell 3 03 Aug 2007