Unanswered PowerShell Classes

  • Thursday, February 22, 2007 12:16 AM
     
     

    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?

     

All Replies

  • Tuesday, June 19, 2007 10:53 PM
     
     

    You create a PSObject and add properties to it, but would that solve your problem?

     

    Refaat Issa [MSFT]