You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reverted StopService parameter back to string from bool and adjusted the changes in the rest of the code.
Fixed parameter GitHubActionsRunnerRegistrationUrl so it's -like and not -notlike in the validation.
# Immediately stop the service as we want to leave the VM in a deallocated state for later use. The service will automatically be started when Windows starts.
224
-
if ($StopService-eq$true) {
224
+
if ($StopService-eq'true') {
225
225
#Collects all running services named actions.runner.*
226
226
$GetActionRunnerServices=Get-Service-Name "actions.runner.*"|Where-Object { $_.Status-eq'Running' } |Select-Object-ExpandProperty Name
0 commit comments