Skip to content

Commit

Permalink
Replace snapin with module in AlertSuppression.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
tdanner committed Oct 30, 2017
1 parent c2158d6 commit c3d5018
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Samples/PowerShell/AlertSuppression.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
if ( (Get-PSSnapin -Name SwisSnapin -ErrorAction SilentlyContinue) -eq $null )
{
Add-PsSnapin SwisSnapin
}
Import-Module SwisPowerShell

$OrionServer = 'localhost'
$Username = 'admin'
Expand Down

0 comments on commit c3d5018

Please sign in to comment.