hjorslev / SteamPS

Module that utilizes PowerShell as a wrapper for SteamCMD and interacts with various Steam APIs.
https://www.powershellgallery.com/packages/SteamPS
MIT License
71 stars 14 forks source link

Update-SteamServer requires admin #62

Closed hjorslev closed 4 months ago

hjorslev commented 6 months ago

Describe "Module Bug or Issue"

Update-SteamServer needs to test if the user is admin.

Context "The Problem"

Update-SteamServer requires admin privileges to stop a service.

Context "Expected Behavior"

Update-SteamServer should throw an error if the user is not an admin.

Context "Additional Information"

Get-Module -Name SteamPS -ListAvailable |
    Select-Object -Property Name, Version

$PSVersionTable | Out-String