⏳ Attn: DattoCon Miami 🌴 attendees - time is running out to sign up for PreDay experiences and Peer Forums at no additional cost. Follow this link to update your registration > https://web.cvent.com/event/d7d27022-d9c3-4880-8edc-3cbd5ef420b9/register

Emergency VM reset procedure

Steve Sirag
Steve Sirag Member
edited June 20 in Request
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?
Tagged:
0
0 votes

Shipped · Last Updated

solution provided by KAT

0
0 votes

Needs Review · Last Updated

Comments

  • Kaseya Automation Team
    Kaseya Automation Team Member, Kaseya Certified CHOCOLATE MILK
    edited September 2020

    Hello Steve,

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

This discussion has been closed.