How do i convert ps script to c#


hi

how convert ps1 script c#.please m. dnt know powershell. 


adityadugyala

hi,

hope below links help:

converting powershell statements equivalent c# code

http://social.technet.microsoft.com/forums/en-us/operationsmanagerextensibility/thread/4fe4ef9a-6490-4573-aee9-8a200ceeb10e

using csharp (c#) code in powershell scripts

http://blogs.technet.com/b/stefan_gossner/archive/2010/05/07/using-csharp-c-code-in-powershell-scripts.aspx

regards,

yan li


cataleya li
technet community support



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file