Update-SteamServer requires admin privileges when interactive with Windows services (e.g. stopping them). This PR adds a check that stops the user if the session is not elevated.
Type of change
[ ] 📖 [Docs]
[ ] 🪲 [Fix]
[ ] ⚠️ [Security fix]
[x] ♻️ [Refactor]
[ ] 🎉 [Feature]
[ ] ✨ Enhancement
[ ] 🌟 [Breaking change]
Checklist
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added Pester tests that covers the added cmdlets
Description
Fixes #62 Resolves #20
Update-SteamServer requires admin privileges when interactive with Windows services (e.g. stopping them). This PR adds a check that stops the user if the session is not elevated.
Type of change
Checklist