![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Powershell assemblies Hello- Which assembly contains the CmdLet class? How can I get this assmebly? Thanks! VS |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Powershell assemblies Get-PSSnapIn shows what is currently loaded in the console. get-psSnapIn | fl name, assemblyName, moduleName If you're looking for the SDK: http://msdn2.microsoft.com/en-us/library/ms714469.aspx -- Kiron |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Powershell assemblies VS wrote: Quote: > Hello- > > Which assembly contains the CmdLet class? How can I get this assmebly? > > Thanks! > VS Here's a quick and dirty way to get that assembly (thanks to Lee Holmes) from the GAC: PSH> [psobject].assembly.location C:\WINDOWS\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\System.Management.Automation.dll Quick and dirty... If you plan to do more development get the Vista SDK to get the other PowerShell assemblies, examples, and documentation: http://blogs.msdn.com/powershell/arc...shell-sdk.aspx Marco -- Microsoft MVP - Windows PowerShell http://www.microsoft.com/mvp PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Powershell assemblies Thanks Marco. This post was helpful. I found the location of the reference assemblies - 'Program Files\Reference Assemblies\Microsoft' in the comments on the blog. This should be documented on MSDN. "Marco Shaw [MVP]" wrote: Quote: > VS wrote: Quote: > > Hello- > > > > Which assembly contains the CmdLet class? How can I get this assmebly? > > > > Thanks! > > VS > The cmdlet class is in the System.Management.Automation assembly. > > Here's a quick and dirty way to get that assembly (thanks to Lee Holmes) > from the GAC: > > PSH> [psobject].assembly.location > C:\WINDOWS\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\System.Management.Automation.dll > > Quick and dirty... If you plan to do more development get the Vista SDK > to get the other PowerShell assemblies, examples, and documentation: > http://blogs.msdn.com/powershell/arc...shell-sdk.aspx > > Marco > > -- > Microsoft MVP - Windows PowerShell > http://www.microsoft.com/mvp > > PowerGadgets MVP > http://www.powergadgets.com/mvp > > Blog: > http://marcoshaw.blogspot.com > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Powershell Assemblies | PowerShell | |||
| using external assemblies in Powershell scripts | PowerShell | |||
| psh assemblies moved? | PowerShell | |||
| Powershell and loading dependent assemblies | PowerShell | |||
| How to find out which assemblies are 64bit? | PowerShell | |||