update windows stuff

This commit is contained in:
willtome
2022-09-09 13:03:31 -04:00
parent 2b613bcac8
commit 240774c2c3
4 changed files with 22 additions and 10 deletions

View File

@@ -0,0 +1,7 @@
Param
(
[Parameter(Mandatory=$true)]
[string]$ServiceState
)
# Sample parameterized script for use with powershell_script.yml
Get-Service | Where-Object -FilterScript {$_.Status -eq $ServiceState} | Select-Object -Property 'Name'