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
|