Option 1
Run commands yourself
Your own account holds these. Nothing is created and nothing is assigned. Each command states what it needs at the top of its own page, because they differ — most of the module needs nothing at all.
- Nothing —
New-VmPowerSchedule,Show-VmPowerScheduleCalendarandTest-VmPowerSchedulebuild and check objects in memory -
Readeron the subscriptions you want reported on, or a management group above them —Get-VmPowerPlan -
Microsoft.Automation/automationAccounts/variables/read, and/writeto store one — the*-VmPowerSchedulecommands against a deployed account -
Microsoft.Compute/virtualMachines/read,/start/actionand/deallocate/action—Invoke-VmPowerPlan, the one command that acts. Normally the controller runs this, not a person