Click here to Skip to main content
15,881,882 members
Articles / Programming Languages / PowerShell

Retrieving data from executed commands in PowerShell in C#

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
15 Jun 2022CPOL3 min read 12K   9  
How to create a dynamic object in C # containing the results of a command executed in PowerShell.
How to quickly create a record class in C # containing the output values of a PowerShell command

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Retired
Poland Poland
Retired administrator of Microsoft systems, such as corporate AD and corporate Echange e-mail, creator of their on-prem implementation, assembling programs for his own use since 1982 (then in machine code 8080, today most often C #)

Comments and Discussions