So I have a PowerShell script that does some file\disk management on remote servers. What's great is I can use Invoke-Command and it runs the script locally on the target machine. What exactly is the C# equivalent of that? Or if such a thing even exists. I have a C# program that's similar in the sense that it creates the same output but uses UNC paths. But the Powershell being able to leverage the servers own resources performs a lot faster.
by Anon_Logic via /r/csharp