PowerShell Module with custom functions and cmdlets for System Center Operations Manager.
This is a personal PowerShell Module by Claudio Spizzi. It is used to manage System Center Operations Manager, e.g. exporting MP bundles, get performance counters or reset SCOM agent health states by PowerShell.
- Export-SCOMManagementPackBundle
Export all artifacts from a SCOM Management Pack Bundle (.mpb).
-
Get-SCOMAgentManagementGroup
Get all Management Group connections of a SCOM Agent. -
Remove-SCOMAgentManagementGroup
Remove an existing Management Group connection from a SCOM Agent. -
Reset-SCOMAgentCache
Reset the SCOM health service cache on target systems. -
Reset-SCOMAgentConfig
Reset the SCOM health service configuration (!) on target systems. -
Get-SCOMHealthServiceActiveWorkflow
Show all active workflows on a Health Service. -
Get-SCOMHealthServiceFailedWorkflow
Show all failed workflows on a Health Service.
- Reset-SCOMMonitor
Bulk reset one or multiple monitors in the Management Group.
Please find all versions in the GitHub Releases section and the release notes in the CHANGELOG.md file.
Use the following command to install the module from the PowerShell Gallery, if the PackageManagement and PowerShellGet modules are available:
# Download and install the module
Install-Module -Name 'OperationsManagerFever'
Alternatively, download the latest release from GitHub and install the module manually on your local system:
- Download the latest release from GitHub as a ZIP file: GitHub Releases
- Extract the module and install it: Installing a PowerShell Module
The following minimum requirements are necessary to use this module, or in other words are used to test this module:
- Windows PowerShell 3.0
- Windows Server 2008 R2 / Windows 7
- System Center Operations Manager 2012 R2 or later
- OperationsManager PowerShell Module (part of the SCOM Operations Console)
Please feel free to contribute by opening new issues or providing pull requests. For the best development experience, open this project as a folder in Visual Studio Code and ensure that the PowerShell extension is installed.
- Visual Studio Code with the PowerShell Extension
- Pester, PSScriptAnalyzer and psake PowerShell Modules
To release a new version in the PowerShell Gallery and the GitHub Releases section by using the release pipeline on AppVeyor, use the following procedure:
- Commit all changes in the dev branch
- Push the commits to GitHub
- Merge all commits to the master branch
- Update the version number and release notes in the module manifest and CHANGELOG.md
- Commit all changes in the master branch (comment: Version x.y.z)
- Push the commits to GitHub
- Tag the last commit with the version number
- Push the tag to GitHub