Requests for Automation

Emergency VM reset procedure

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

Gravatar for Kaseya Automation Team
Kaseya Automation Team 7 months ago

Hello Steve,

You can have a user request an input by using the getVariable() step and select the 'Prompt User' option in the dropdown.


  • Request Archived
  • 0 Votes
  • 1 Comment
  • Open for about 1 year
  • Created by Steve Sirag