Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $vc_server = "10.160.67.181"
- $vc_user = "administrator@vsphere.local"
- $vc_password = "Admin!23"
- Connect-VIServer -Server $vc_server -Protocol https -User $vc_user -Password $vc_password
- # Get the template first
- $orig_template_vm = Get-VM -Name OriginalStressVM*
- # clone it into the following hosts
- $h_001 = "w3-fvtstress-001.eng.vmware.com"
- $h_002 = "w3-fvtstress-002.eng.vmware.com"
- $h_003 = "w3-fvtstress-003.eng.vmware.com"
- $h_004 = "w3-fvtstress-004.eng.vmware.com"
- $h_007 = "w3-fvtstress-007.eng.vmware.com"
- $h_008 = "w3-fvtstress-008.eng.vmware.com"
- #Get datastores
- $FS_VVOL1 = Get-Datastore -Name "FS_VVOL1"
- $FS_VVOL1 = Get-Datastore -Name "FS_VVOL2"
- $vs8_nfs_vol2 = Get-Datastore -Name "vs8_nfs_vol1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement