When I create a VM in Virtual Machine Manager (VMM) I have an option to set a local administrator password for it. But when I use the "View Script" feature on the last screen of the wizard, I get a PowerShell script that creates a VM without setting a password.
How can I make the PowerShell script set the password for the local administrator account for the VM it creates?
While I don't have VMV, at the MS Script Guiding may help. It shows Powershell scripts which has a number of variables, one being the admin password one you want. I would assume the script VMM is creating is similar to these.