From 42f94a38da652743ee2a873008d8e837ba7b896b Mon Sep 17 00:00:00 2001 From: Chris Nutter Date: Wed, 1 Nov 2023 18:49:19 -0700 Subject: [PATCH] Update Script.ps1 --- Script.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Script.ps1 b/Script.ps1 index 2dc84af..79496c8 100644 --- a/Script.ps1 +++ b/Script.ps1 @@ -59,4 +59,4 @@ if (!(Get-NetFirewallRule -Name "OpenSSH-Server-In-TCP" -ErrorAction SilentlyCon New-NetFirewallRule -Name 'OpenSSH-Server-In-TCP' -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 } else { Write-Output "Firewall rule 'OpenSSH-Server-In-TCP' has been created and exists." -} \ No newline at end of file +}