Setting Possible Owners in a cluster


greetings everyone

i close getting need here.

here simple script setting vm in cluster have have possible owner of lv1qahv01

set-clusterownernode -resource "scvmm virtualmachine1" -owners lv1qahv01

this script above allows vm virtualmachine1 live on host lv1qahv01

what trying manipulate script say, "i want set vm's live on host lv1qahv01 have possible owner of lv1qahv01."  i trying without having type in 80 resources.

i know simple, cant @ moment.

let me know if need post more info.

thank you!!

patrick

i don't have these cmdlets test with, should moving in right direction:

get-vm -computername lv1qahv01 | foreach {

    set-clusterownernode -resource "$($_.name)" -owners lv1qahv01

}


don't retire technet! - (maybe there's still chance hope, on 12,300+ strong , growing)



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS