Hello,
Before asking my question, Let me introduce myself.I'm very Poor @ Scripting and PowerShell related stuffs. I have a very basic Query in PowerShell, I have to execute some of the PowerShell command (Hyper-V, Lync etc..) in target machine using Runbook activity.
Commands:
- Get-VM (Hyper-V)
- Get-CSwindowsservice (Lync)
When I'm executing the below Command from local PowerShell windows its listing all the services & VM's along with the status.
Questions:
01.How do I use the same commands within PowerShell activity - I need the Format
02. How to get the Service & VM status for next activity
03. Which is the best activity for this requirement (Run program, .Net script or Powershell IP)
Regards,
Julie