View Single Post
Old 10-02-2007   #5 (permalink)
Marco Shaw


 
 

Re: Creating a cmdlet using csc.exe - missing namespaces

Lee Holmes [MSFT] wrote:
Quote:

> Another helpful way to get $ref is:
>
> $ref = [PsObject].Assembly.Location
>
> --
> Lee Holmes [MSFT]
> Windows PowerShell Development
> Microsoft Corporation
> This posting is provided "AS IS" with no warranties, and confers no rights.
Doesn't this get it from the GAC, and is considered not-a-good-thing?

Marco

--
----------------
PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec