Windows Vista Forums

psh assemblies moved?
  1. #1


    William Stacey [C# MVP] Guest

    psh assemblies moved?

    Where the heck is the psh assemblies now. They seem to have moved on me.

    Example: Microsoft.PowerShell.Commands.Management.
    c:\program files\reference assemblies\Microsoft\WindowsPowerShell...



    --
    William Stacey [C# MVP]
    PowerLocker, PowerPad
    www.powerlocker.com





      My System SpecsSystem Spec

  2. #2


    Thomas Lee Guest

    Re: psh assemblies moved?

    In message <Oa8w#NtoHHA.5008@TK2MSFTNGP05.phx.gbl>, "William Stacey [C#
    MVP]" <william.stacey@gmail.com> writes
    >Where the heck is the psh assemblies now. They seem to have moved on me.
    >
    >Example: Microsoft.PowerShell.Commands.Management.
    >c:\program files\reference assemblies\Microsoft\WindowsPowerShell...


    They're in the GAC.

    Thomas

    --
    Thomas Lee
    doctordns@gmail.com
    MVP - Admin Frameworks and Security

      My System SpecsSystem Spec

  3. #3


    klumsy@xtra.co.nz Guest

    Re: psh assemblies moved?

    On May 31, 6:44 am, Thomas Lee <t...@psp.co.uk> wrote:
    > In message <Oa8w#NtoHHA.5...@TK2MSFTNGP05.phx.gbl>, "William Stacey [C#
    > MVP]" <william.sta...@gmail.com> writes
    >
    > >Where the heck is the psh assemblies now. They seem to have moved on me.

    >
    > >Example: Microsoft.PowerShell.Commands.Management.
    > >c:\program files\reference assemblies\Microsoft\WindowsPowerShell...

    >
    > They're in the GAC.
    >
    > Thomas
    >
    > --
    > Thomas Lee
    > doctor...@gmail.com
    > MVP - Admin Frameworks and Security


    and copies you can easily use for referencing, in the Vista SDK.

    or you can use this to extract them from the GAC

    from

    [appdomain]::currentdomain.getassemblies() | where {($_.fullname -
    match "system.management") -OR ($_.fullname -match "Microsoft")} |
    copy-item -path {$_.location} -destination c:\sdk\ -verbose


    http://blogs.msdn.com/powershell/arc...ainst-RC2.aspx



    in the GAC in the GAC in the GAC GAC GAC
    in the GAC in the GAC in the GAC GAC GAC
    in the GAC in the GAC in the GAC GAC GAC
    in the GAC in the GAAAAC in the GAC GAC G A C


      My System SpecsSystem Spec

  4. #4


    William Stacey [C# MVP] Guest

    Re: psh assemblies moved?

    wierd thing is I have been using them in v1 at:
    C:\Program Files\Reference
    Assemblies\Microsoft\WindowsPowerShell\v1.0\Microsoft.PowerShell.Commands.Management.dll
    One day I open reflector and they not there anymore. Something (i.e.
    update, orcas, etc) must have moved them.
    Reflector also does not show them in the gac cache. Your script works fine
    however. Thanks.

    --
    William Stacey [C# MVP]


    <klumsy@xtra.co.nz> wrote in message
    news:1180630930.886499.260480@q66g2000hsg.googlegroups.com...
    | On May 31, 6:44 am, Thomas Lee <t...@psp.co.uk> wrote:
    | > In message <Oa8w#NtoHHA.5...@TK2MSFTNGP05.phx.gbl>, "William Stacey [C#
    | > MVP]" <william.sta...@gmail.com> writes
    | >
    | > >Where the heck is the psh assemblies now. They seem to have moved on
    me.
    | >
    | > >Example: Microsoft.PowerShell.Commands.Management.
    | > >c:\program files\reference assemblies\Microsoft\WindowsPowerShell...
    | >
    | > They're in the GAC.
    | >
    | > Thomas
    | >
    | > --
    | > Thomas Lee
    | > doctor...@gmail.com
    | > MVP - Admin Frameworks and Security
    |
    | and copies you can easily use for referencing, in the Vista SDK.
    |
    | or you can use this to extract them from the GAC
    |
    | from
    |
    | [appdomain]::currentdomain.getassemblies() | where {($_.fullname -
    | match "system.management") -OR ($_.fullname -match "Microsoft")} |
    | copy-item -path {$_.location} -destination c:\sdk\ -verbose
    |
    |
    |
    http://blogs.msdn.com/powershell/arc...ainst-RC2.aspx
    |
    |
    |
    | in the GAC in the GAC in the GAC GAC GAC
    | in the GAC in the GAC in the GAC GAC GAC
    | in the GAC in the GAC in the GAC GAC GAC
    | in the GAC in the GAAAAC in the GAC GAC G A C
    |



      My System SpecsSystem Spec

psh assemblies moved? problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reporting without GAC assemblies? Jason Barnett .NET General 1 11 Dec 2009
Deploying satellite assemblies spp .NET General 0 22 Dec 2008
Powershell Assemblies PPTEscher PowerShell 5 29 Feb 2008
Powershell assemblies VS PowerShell 3 07 Oct 2007
Loading Assemblies and Memory K Kong PowerShell 1 09 May 2007