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

Where can I find System.management.automation.resources.dll

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 09-05-2007   #1 (permalink)
Joe G
Guest


 

Where can I find System.management.automation.resources.dll

The System.management.automation.resources.dll didn't come with the download.

My System SpecsSystem Spec
Old 09-05-2007   #2 (permalink)
Kiron
Guest


 

Re: Where can I find System.management.automation.resources.dll

get-childItem $env:windir
System.management.automation.resources.dll -recurse

Directory: Microsoft.PowerShell.Core\FileSystem::C:\WINDOWS\assembly\GAC_MS
IL\System.Management.Automation.resources\1.0.0.0_en_31bf3856ad364e35

--
Kiron

My System SpecsSystem Spec
Old 09-05-2007   #3 (permalink)
Jon
Guest


 

Re: Where can I find System.management.automation.resources.dll

"Joe G" <Joe G@xxxxxx> wrote in message
news:1D1261C5-F27D-44C1-9AD7-840EFABFDB73@xxxxxx
Quote:

> The System.management.automation.resources.dll didn't come with the
> download.

I've got 2 copies on this machine, both of which were installed with the
PowerShell download

C:\Windows\assembly\GAC_MSIL\System.Management.Automation.Resources\1.0.0.0_en_31bf3856ad364e35\System.Management.Automation.Resources.dll

C:\Windows\winsxs\msil_system.management.automation.resources_31bf3856ad364e35_6.0.6000.16386_en-us_8ea69ba228f687a2\System.Management.Automation.Resources.dll

--
Jon

My System SpecsSystem Spec
Old 09-05-2007   #4 (permalink)
Joe G
Guest


 

Re: Where can I find System.management.automation.resources.dll

Thanks for the fast response. I used your suggestion and it kind of found
file, though using the explorer I don't see the GAC_MSIL folder under that of
the assembly. What I'm trying to do is reference this in my visual studio C#
project but browsing for the resource doesn't work and I don't really
understand the assembly folder in the first place, having no experience in
using same.

"Kiron" wrote:
Quote:

> get-childItem $env:windir
> System.management.automation.resources.dll -recurse
>
> Directory: Microsoft.PowerShell.Core\FileSystem::C:\WINDOWS\assembly\GAC_MS
> IL\System.Management.Automation.resources\1.0.0.0_en_31bf3856ad364e35
>
> --
> Kiron
>
>
My System SpecsSystem Spec
Old 09-05-2007   #5 (permalink)
Kiron
Guest


 

Re: Where can I find System.management.automation.resources.dll

You can open its folder:

get-childItem $env:windir
System.management.automation.resources.dll -recurse | foreach
{$_.fullname -replace $_.name} | invoke-item

...or copy the assembly:

$dll = @(get-childItem $env:windir
System.management.automation.resources.dll -recurse)
copy-item $dll[0].fullName <destination>

--
Kiron

My System SpecsSystem Spec
Old 09-06-2007   #6 (permalink)
Joe G
Guest


 

Re: Where can I find System.management.automation.resources.dll

Maybe you could explain why when I use the windows explorer to look at the
windows assembly folder all i see are the assembly names entities but not the
folders (i.e. GAC_MSIL) which are all I see when I use a command window?

"Jon" wrote:
Quote:

> "Joe G" <Joe G@xxxxxx> wrote in message
> news:1D1261C5-F27D-44C1-9AD7-840EFABFDB73@xxxxxx
Quote:

> > The System.management.automation.resources.dll didn't come with the
> > download.
>
>
> I've got 2 copies on this machine, both of which were installed with the
> PowerShell download
>
> C:\Windows\assembly\GAC_MSIL\System.Management.Automation.Resources\1.0.0.0_en_31bf3856ad364e35\System.Management.Automation.Resources.dll
>
> C:\Windows\winsxs\msil_system.management.automation.resources_31bf3856ad364e35_6.0.6000.16386_en-us_8ea69ba228f687a2\System.Management.Automation.Resources.dll
>
> --
> Jon
>
>
My System SpecsSystem Spec
Old 09-06-2007   #7 (permalink)
Kiron
Guest


 

Re: Where can I find System.management.automation.resources.dll

"...reference information about the APIs provided by Windows PowerShell"
Take a look at Windows PowerShell SDK, I believe that's what you're looking
for:

Windows PowerShell SDK
http://msdn2.microsoft.com/en-us/library/ms714469.aspx

At the bottom of the page is the download link.

--
Kiron

My System SpecsSystem Spec
Old 09-06-2007   #8 (permalink)
Jon
Guest


 

Re: Where can I find System.management.automation.resources.dll


"Joe G" <JoeG@xxxxxx> wrote in message
news:A8CC1928-BC28-454F-95F9-269CBE472758@xxxxxx
Quote:

> Maybe you could explain why when I use the windows explorer to look at the
> windows assembly folder all i see are the assembly names entities but not
> the
> folders (i.e. GAC_MSIL) which are all I see when I use a command window?
>


Sure. It's due to the 'desktop.ini' file within the assembly folder, which
affects the way explorer.exe presents it to you. Delete that file and you'd
get the standard view. You may wish to make a copy of it first as a backup,
if you try that.

#To see the contents of the file
get-content -force "C:\Windows\assembly\desktop.ini"

NB You'd need to run the above command from an elevated command prompt, if
you're using Vista

--
Jon


My System SpecsSystem Spec
Old 09-06-2007   #9 (permalink)
Jon
Guest


 

Re: Where can I find System.management.automation.resources.dll


"Jon" <Email_Address@xxxxxx> wrote in message
news:exj%23$cK8HHA.600@xxxxxx

Quote:

> #To see the contents of the file
> get-content -force "C:\Windows\assembly\desktop.ini"
>
> NB You'd need to run the above command from an elevated command prompt, if
> you're using Vista
>

Ok, my bad. The following should work elevated or non-elevated

get-content "C:\Windows\assembly\desktop.ini"

--
Jon


My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
RC2 - where has System.Management.Automation.dll gone? =?Utf-8?B?QW5kcmV3IFdlYmI=?= PowerShell 5 01-10-2008 12:43 AM
Re: System.Management.Automation.dll missing? Oisin Grehan PowerShell 2 11-25-2007 09:14 PM
-is [System.Management.Automation.PSCustomObject] Doug PowerShell 3 04-04-2007 06:36 PM
referencing system.management.automation DLL (or other Gac'd ones) klumsy@xtra.co.nz PowerShell 2 03-23-2007 04:29 PM
Getting Exception System.Management.Automation.PSArgumentException Sushil Kumar PowerShell 0 11-14-2006 08:06 AM


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