Skip to content

Commit f2bad8d

Browse files
committed
Added example for New-NSHyperVInstance
1 parent f39afd5 commit f2bad8d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Contrib/New-NSHyperVInstance.ps1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,17 @@
3232
Default gateway to auto-provision the instane with
3333
3434
.EXAMPLE
35-
TODO
35+
New-NSHyperVInstance.ps1 -Verbose -Package C:\temp\NSVPX-HyperV-11.1-50.10_nc.zip `
36+
-VMName NSVPX-11-1 `
37+
-SwitchName Labnet `
38+
-NSIP 10.0.0.30 -DefaultGateway 10.0.0.254 `
39+
-Path C:\temp\NSVPX-11-1 `
40+
-Force
41+
42+
Create a new NetScaler Hyper-V VM named 'NSVPX-11-1' in directory 'c:\temp\NSVPX-11-1'
43+
from the given VPX package.
44+
Auto-provision it with NSIP 10.0.0.30/24 default gateway 10.0.0.254 on switch
45+
'Labnet'. If the VM already exists, remove it first.
3646
3747
.NOTES
3848
Copyright 2017 Dominique Broeglin¨

0 commit comments

Comments
 (0)