From ce537bf42b29e2686041b7443d6a6b8c0a4d7eb8 Mon Sep 17 00:00:00 2001 From: Winston Smith Date: Mon, 10 May 2021 11:43:22 +0200 Subject: [PATCH] feat: add reboot after end prompt --- Guests/RTR-01.ps1 | 1 + Guests/RTR-02.ps1 | 1 + Guests/RTR-03.ps1 | 1 + Guests/SRV-01.ps1 | 1 + 4 files changed, 4 insertions(+) diff --git a/Guests/RTR-01.ps1 b/Guests/RTR-01.ps1 index 16fe603..c1d5181 100644 --- a/Guests/RTR-01.ps1 +++ b/Guests/RTR-01.ps1 @@ -131,3 +131,4 @@ route add -p 0.0.0.0/0 192.168.255.254 Read-Host "Finished???" +Restart-Computer diff --git a/Guests/RTR-02.ps1 b/Guests/RTR-02.ps1 index 81616b5..9c002f3 100644 --- a/Guests/RTR-02.ps1 +++ b/Guests/RTR-02.ps1 @@ -106,3 +106,4 @@ route add -p 192.168.12.0/24 192.168.255.8 route add -p 0.0.0.0/0 192.168.255.254 Read-Host "Finished???" +Restart-Computer diff --git a/Guests/RTR-03.ps1 b/Guests/RTR-03.ps1 index e710f5e..ec20fb1 100644 --- a/Guests/RTR-03.ps1 +++ b/Guests/RTR-03.ps1 @@ -97,3 +97,4 @@ route add -p 0.0.0.0/0 192.168.255.254 ipconfig /renew Read-Host "Finished???" +Restart-Computer diff --git a/Guests/SRV-01.ps1 b/Guests/SRV-01.ps1 index 830df01..3ead0d6 100644 --- a/Guests/SRV-01.ps1 +++ b/Guests/SRV-01.ps1 @@ -123,3 +123,4 @@ Set-DhcpServerv4OptionValue -ScopeId 192.168.8.0 -Router 192.168.8.254 Set-DhcpServerv4OptionValue -ScopeId 192.168.8.0 -DnsServer 9.9.9.9 Read-Host "Finished?" +Restart-Computer