This commit is contained in:
Print3M
2024-05-05 20:10:05 +02:00
parent cfdf9de9b4
commit cf4bd6f55d
4 changed files with 0 additions and 4 deletions
-4
View File
@@ -1,4 +0,0 @@
###
# GET SERVICES WITH UNQUOTED PATHS
###
Get-CimInstance win32_service | where PathName -notlike "" | where { $_.PathName.StartsWith('"') -eq $false }| select @{e={$_.PathName.split(" ")[0]};n="FirstPath"},PathName | where { $_.FirstPath.EndsWith(".exe") -eq $false }