Help/Skripty/PowerShell/CheckServices.ps1
2025-05-29 21:55:04 +02:00

6 lines
231 B
PowerShell
Executable File

$MyVariable="CZC94881W3"
echo $MyVariable
Get-Service -Name klnagent -ComputerName $MyVariable
Get-Service -Name klnagent -ComputerName $MyVariable | Set-Service -Status Running
Get-Service -Name klnagent -ComputerName $MyVariable