Skip to content
Snippets Groups Projects
Commit a29fd701 authored by Martin Čuchran's avatar Martin Čuchran
Browse files

Update pv176.yaml

parent 64e23442
No related branches found
No related tags found
No related merge requests found
......@@ -83,11 +83,11 @@ resources:
$user.SetPassword('safe_mode_administrator_password')
NET USER pv176 safe_mode_administrator_password /add
NET LOCALGROUP Administrators pv176 /add
$IP = "10.0.0.2"
$IP = '10.0.0.2'
$MaskBits = 8
$Gateway = "10.0.0.1"
$Dns = "147.251.4.33"
$IPType = "IPv4"
$Gateway = '10.0.0.1'
$DNS = '147.251.4.33'
$IPType = 'IPv4'
$adapter = Get-NetAdapter | ? {$_.Status -eq "up"}
$adapter | New-NetIPAddress -AddressFamily $IPType -IPAddress $IP -PrefixLength $MaskBits -DefaultGateway $Gateway
$adapter | Set-DnsClientServerAddress -ServerAddresses $DNS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment