Windows Services Profiles
For the time being, please edit the script to make the profiles yours.
Future versions may come with separate configuration files.
- Check the
Useful debugging commands
section to help you list the services currently available on your machine. - Edit
$hogs
to list the services you want to manage. - Edit
$profiles
to your liking. - Update the accompanying variables to specify required services.
- Test switching profiles manually (See Help).
- Create convenient Start Menu shortcuts (See Help).
- Use the Start Menu shortcuts to switch profiles depending on what you do and hopefully enjoy an optimized experience.
A PowerShell script to selectively stop/suspend and start/resume services based on profiles.
The WSP.ps1
script switches services profiles and optionally creates Start Menu shortcuts to easily target these
profiles.
The goal is to only run required services for each activity to limit unwanted resources usage by mundane services or prevent conflicts.
A profile identifier.
The special profile 'CS' creates/updates global Start Menu shortcuts to this script for each profile.
Left empty it prints out the help.
None. You cannot pipe objects to WSP.ps1
.
None. WSP.ps1
does not generate output and merely prints services actions.
.\WSP.ps1 GAME
Switches to the gaming profile.
.\WSP.ps1 CS
Creates global Start Menu shortcuts for each available profile.
Copyright 2021 Raphaël Doursenaud rdoursenaud@free.fr
License: Microsoft Public License (Ms-PL)
Uses Get-SpecialFolderPath.ps1
from https://github.com/beatcracker/Powershell-Misc