Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heaths/restartmanager
Managed Windows Restart Manager API
https://github.com/heaths/restartmanager
powershell windows
Last synced: 21 days ago
JSON representation
Managed Windows Restart Manager API
- Host: GitHub
- URL: https://github.com/heaths/restartmanager
- Owner: heaths
- License: mit
- Created: 2017-11-07T18:39:47.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2022-02-18T06:16:12.000Z (over 2 years ago)
- Last Synced: 2024-10-06T15:23:20.482Z (about 1 month ago)
- Topics: powershell, windows
- Language: C#
- Size: 98.6 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Windows Restart Manager Module for PowerShell
This module exposes Windows Restart Manager APIs through PowerShell cmdlets for testing applications' compatibility with Windows Restart Manager and for basic scripted installs.
[![Build Status](https://dev.azure.com/heaths/public/_apis/build/status/RestartManager-CI?branchName=develop)](https://dev.azure.com/heaths/public/_build/latest?definitionId=15)
[![CodeCov](https://codecov.io/gh/heaths/RestartManager/branch/develop/graph/badge.svg)](https://codecov.io/gh/heaths/RestartManager)
[![GitHub Release](https://img.shields.io/github/release/heaths/RestartManager.svg)](https://github.com/heaths/RestartManager/releases/latest)
[![PSGallery](https://img.shields.io/powershellgallery/dt/RestartManager.svg)](https://www.powershellgallery.com/packages/RestartManager)## Examples
You can use this module to, for example, replace files that may be in use by other processes.
```powershell
Start-RestartManagerProcess
dir .\MyApp -Filter *.dll -Recurse | Register-RestartManagerResource
Stop-RestartManagerProcess
Expand-Archive .\MyApp.zip .\MyApp -Force
Restart-RestartManagerProcess
Stop-RestartManagerProcess
```You can also use this module to just figure out what processes may be using certain files.
```powershell
Start-RestartManagerProcess
dir .\MyApp -Filter *.dll -Recurse | Register-RestartManagerResource
Get-RestartManagerProcess
Stop-RestartManagerProcess
```For more examples and help content, please see the [wiki](https://github.com/heaths/RestartManager/wiki).
## Feedback
To file issues or suggestions, please use the [Issues](https://github.com/heaths/RestartManager/issues) page for this project on GitHub.
## License
This project is licensed under the [MIT license](LICENSE.txt).