Skip to content

megamorf/Powershell-ServiceWatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Powershell-ServiceWatch

Powershell functions for ServiceWatch (from ServiceNow) related tasks

The ServiceWatch Powershell module currently contains 4 functions:

PS C:\> Import-Module ServiceWatch
PS C:\> Get-Command -Module ServiceWatch

CommandType     Name                                               ModuleName
-----------     ----                                               ----------
Function        Export-ServiceWatchKnowledgebase                   ServiceWatch
Function        Get-ServiceWatchStatus                             ServiceWatch
Function        Get-ServiceWatchVersion                            ServiceWatch
Function        New-ServiceWatchSession                            ServiceWatch

Get-ServiceWatchVersion is the only function that can be run without having to create a session with New-ServiceWatchSession first.

Functions can be run as follows:

$session = New-ServiceWatchSession -cn srvmgt025 -credential (get-credential)
$session | Get-ServiceWatchVersion
$session | Get-ServiceWatchStatus 
$session | Export-ServiceWatchKnowledgebase -Destination D:\exports\

About

Powershell functions for ServiceWatch related tasks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published