Is there a way to define classes within a PowerShell script? If I want my script to emit some form of custom objects which could be piped to another cmdlet, how would I do that?
You create a PSObject and add properties to it, but would that solve your problem?
Refaat Issa [MSFT]
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?