parent
37face1500
commit
f857f12ab8
@ -1,3 +1,4 @@
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
|
||||
Unblock-File .\Get-TeamsStatus.ps1
|
||||
Start-Process -FilePath .\nssm.exe -ArgumentList 'install "Microsoft Teams Status Monitor" "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" "-command "& { . C:\Scripts\Get-TeamsStatus.ps1 }"" ' -NoNewWindow -Wait
|
||||
Start-Service -Name "Microsoft Teams Status Monitor"
|
Loading…
Reference in new issue