-
Notifications
You must be signed in to change notification settings - Fork 0
/
LinkClone.notes
31 lines (17 loc) · 1.01 KB
/
LinkClone.notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Open powershell
connect-viserver -force vcenter.cise.ufl.edu
get-resourcepool | format-table -autosize
Spring 2020 Malware Senior Project
get-resourcepool "Spring 2020 Malware Senior Project"
get-resourcepool "Spring 2020 Malware Senior Project" | get-vm
LINK CLONE PART:
get-resourcepool "Spring 2020 Malware Senior Project" | get-vm "MalwareEnvServer" | new-snapshot -name "initial vm" -description "Clean ubuntu server"
$blas = get-resourcepool "Spring 2020 Malware Senior Project" | get-vm "MalwareEnvServer"
$ben = get-resourcepool "Spring 2020 Malware Senior Project"
$dan = get-datastore "nfs-vm2"
$phil = get-folder "IsolatedNetwork1"
get-snapshot -vm $blas
$jnw = get-snapshot -vm $blas -name "initial vm"
new-vm -vm $blas -resourcepool $ben -datastore $dan -location $phil -LinkedClone -name "MalwareNoInternet" -referenceSnapshot $jnw
get-resourcepool "Spring 2020 Malware Senior Project" | get-vm -name "MalwareNoInternet" | start-vm
https://code.vmware.com/docs/10197/cmdlet-reference/doc/New-VM.html