You can also use the Resolve-assembly cmdlet from the PowerShell community
extensions
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog:
http://richardsiddaway.spaces.live.com/
PowerShell User Group:
http://www.get-psuguk.org.uk
"Oisin Grehan" wrote:
> On Aug 16, 1:11 am, "IT Staff" <jkk...@hotmail.com> wrote:
> > what must i always do to avoid this common error :
> >
> > make sure that the assembly containing this type is loaded ?
>
> PS> [void][reflection.assembly]::loadwithpartialname("system.drawing")
>
> - Oisin
>
>