File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Setup a test netscaler
4
4
5
+ The following commands achieve a minimal NetScaler setup for testing purposes.
6
+
5
7
$Nsip = "172.16.124.11"
6
8
$Snip = "172.16.124.111"
7
9
$DnsIp = "172.16.124.1"
16
18
Add-NSDnsNameServer -IPAddress $DnsIp
17
19
Set-NSTimeZone -TimeZone "GMT+01:00-CET-Europe/Paris" -Force
18
20
Save-NSConfig
19
- (Invoke-Nitro -Action get -Type nshardware -Method get).nshardware.Hostname
21
+ (Get-NSHardware).host
20
22
21
23
# Get a license with the _Host ID_
22
24
23
- Install-NSLicense -Path /Users/dom/Downloads/FID__26d05285_157049a9857_1935 .lic -Session $Session
24
- Restart-NetScaler -Force
25
+ Install-NSLicense -Path /Users/dom/Downloads/my_downloaded_license .lic -Session $Session
26
+ Restart-NetScaler -Force -Wait
You can’t perform that action at this time.
0 commit comments