A user is asking for help with a PowerShell script, specifically on how to automate getting the server name from ControlUp for actions performed on the server. Suggestions were provided to utilize arguments and the ControlUp support documentation at https://support.controlup.com/docs/script-based-actions-sba
Read the entire ‘Automating Server Names in PowerShell Scripts Using ControlUp’ thread below:
I have a powershell script that disables logons to server. But I want to take the server name from controlup, instead of manual entering it. All actions are done on the Controlup server not in the target machine. Can I get the servername from controlup somehow automatically?
https://support.controlup.com/docs/script-based-actions-sba
you can get the Computer name automatically using arguments
Continue reading and comment on the thread ‘Automating Server Names in PowerShell Scripts Using ControlUp’. Not a member? Join Here!
Categories: All Archives, ControlUp Scripts & Triggers