PowerShell Scripts
PowerShell Scripts, shared from an experienced Microsoft SQL Database Administrator. Includes useful scripts for managing files, using remotePS and more.
-
Create a Firewall Rule with PowerShell (New-NetFirewallRule)
Create a Windows Firewall rule with New-NetFirewallRule, check it with Get-NetFirewallRule, then change, disable or remove it, with the SQL Server rules a DBA actually needs.
-
How to Run PowerShell Scripts with Task Scheduler
Automating PowerShell scripts is a much needed task for Windows Administrators. The Task Scheduler provides a reliable way to execute scripts on a predefined…