I'm trying to run an agent procedure on my SCVMM (System Center Virtual Machine Manager) system that will reset a specified target Hyper-V VM managed by SCVMM; this is for a use case in which the target system isn't responding to any commands, so Kaseya reboot procedure not possible. The Powershell commands to do so are simple but require the target system is named in the command. I can't figure out a way to either supply the target system name at the time of the requested reboot, or to glean the system name from #vAgentConfiguration.machName# but supply that variable to a script that runs on a separate system (the SCVMM management system). Is there any way to get a procedure to request input at the time of scheduling by the user, or for a script to be run on one managed system using a variable from another managed system?
This request was archived: Solution Provided
You can have a user request an input by using the getVariable() step and select the 'Prompt User' option in the dropdown.