var RunProvisionScript = runProvisionScript
RunProvisionScript exported for testing purposes
func DetectSeriesAndHardwareCharacteristics(host string, cli manual.WinrmClientAPI) (hc instance.HardwareCharacteristics, series string, err error)
DetectSeriesAndHardwareCharacteristics detects the windows OS series and hardware characteristics of the remote machine by connecting to the machine and executing a bash script.
InitAdministratorUser will initially attempt to login as the Administrator user using the secure client only if this is false then this will make a new attempt with the unsecure http client.
ProvisionMachine returns a new machineId and nil if the provision process is done successfully The function will manual provision a windows machine using as comunication protocol WinRM(windows remote manager)
ProvisioningScript generates a powershell script that can be executed on a remote host to carry out the cloud-init configuration.