View Single Post
Old 07-31-2008   #2 (permalink)
AgentM


 
 

RE: How do I change the type of "Value" in PSNoteProperty

I am using C# to build a cmdlet.

"AgentM" wrote:
Quote:

> I have a PSObject being returned that has a PsnoteProperty added.
> the Value of this PsNoteProperty is a Collection of PSObjects.
>
> PsObject.Properties.Add( new PsProperty("Name",Value))
>
> Now when I try to read this Value, it comes in as a object.
> How do I loop through these objects?
>
>
>
My System SpecsSystem Spec