Comments

  1. SMO might be overkill in this scenario:

    Get-Service -computer $ServerName SQLSERVERAGENT | Restart-Service

Leave a comment

*