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

My System Specs

2. ## 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

--
Kiron

My System Specs

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

"Joe G" <Joe G@xxxxxx> wrote in message

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

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

--
Jon

My System Specs

4. ## 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:

> get-childItem \$env:windir
> System.management.automation.resources.dll -recurse
>
> Directory: Microsoft.PowerShell.Core\FileSystem::C:\WINDOWS\assembly\GAC_MS
>
> --
> Kiron
>
>

My System Specs

5. ## 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 Specs

6. ## 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:

> "Joe G" <Joe G@xxxxxx> wrote in message

> > The System.management.automation.resources.dll didn't come with the
>
>
> I've got 2 copies on this machine, both of which were installed with the
>
>
>
> --
> Jon
>
>

My System Specs

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

--
Kiron

My System Specs

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

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

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

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

news:exj%23\$cK8HHA.600@xxxxxx

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

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

 Similar Threads Thread Thread Starter Forum Replies Last Post nadeekakodi PowerShell 0 07 Nov 2008 =?Utf-8?B?QW5kcmV3IFdlYmI=?= PowerShell 5 10 Jan 2008 Oisin Grehan PowerShell 2 25 Nov 2007 Doug PowerShell 3 04 Apr 2007 klumsy@xtra.co.nz PowerShell 2 23 Mar 2007