Skip to content

Commit

Permalink
Merge pull request proxb#23 from laaber/patch-1
Browse files Browse the repository at this point in the history
Fixed if statement
  • Loading branch information
proxb authored Sep 6, 2016
2 parents 0f78f09 + d26c262 commit bb5a790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Get-PSWSUSConfigSyncSchedule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Get-PSWSUSConfigSyncSchedule {
[CmdletBinding()]
Param()

if($wsus)
if(-NOT $wsus)
{
Write-Warning "Use Connect-PSWSUSServer for establish connection with your Windows Update Server"
Break
Expand Down

0 comments on commit bb5a790

Please sign in to comment.