Update Script.ps1

master
Chris Nutter 2023-11-01 18:49:19 -07:00
parent ab693c7dbf
commit 42f94a38da
1 changed files with 1 additions and 1 deletions

View File

@ -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 New-NetFirewallRule -Name 'OpenSSH-Server-In-TCP' -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
} else { } else {
Write-Output "Firewall rule 'OpenSSH-Server-In-TCP' has been created and exists." Write-Output "Firewall rule 'OpenSSH-Server-In-TCP' has been created and exists."
} }