This module exposes Windows Restart Manager APIs through PowerShell cmdlets for testing applications' compatibility with Windows Restart Manager and for basic scripted installs.
You can use this module to, for example, replace files that may be in use by other processes.
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.
Start-RestartManagerProcess
dir .\MyApp -Filter *.dll -Recurse | Register-RestartManagerResource
Get-RestartManagerProcess
Stop-RestartManagerProcess
For more examples and help content, please see the wiki.
To file issues or suggestions, please use the Issues page for this project on GitHub.
This project is licensed under the MIT license.