Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

psh assemblies moved?

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 05-30-2007   #1 (permalink)
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
Old 05-31-2007   #2 (permalink)
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
Old 05-31-2007   #3 (permalink)
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
Old 05-31-2007   #4 (permalink)
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
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strong Named Assemblies Scott M. .NET General 1 07-13-2008 07:39 PM
Powershell Assemblies PPTEscher PowerShell 5 02-29-2008 10:20 AM
Powershell assemblies VS PowerShell 3 10-07-2007 04:47 PM
How to find out which assemblies are 64bit? Artus Krohn-Grimberghe PowerShell 6 06-07-2006 03:38 PM
using external assemblies in XAML madhur Avalon 3 03-01-2006 04:43 PM


Update your Vista Drivers Update Your Drivers Now!!

Vistax64.com 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 2005-2008