Let have a look on how to configure Runbook to assist us on perform VMM backup based on schedule.
[Runbook]
[ Activities ]
- Monitor Date/ Time – runbook execute based on predefine schedule
- Run .Net Script – execute powershell command
- Send Event Log Message – display status of the backup in event log
[ Monitor Properties ]
[ Run .Net Script Properties]
Script:-
Install VMM Administrator Console on the machine that you need to use execute and enter the following into Run .Net Activity
$session =New-PSSession -ComputerName 'ICG-AP-VMM01' import-module 'VirtualMachineManager' |
[Send Event Log Properties]
Check in the runbook and click RUN. The runbook will run based on the schedule that you’ve configure.