kwikustbg Posted Tuesday at 10:56 AM Share Posted Tuesday at 10:56 AM Hello, I need configuration triggered task which after each recconected session will restart specific service in windows. In what form do I need to configure this in the DEM to make it work? I try using powershell as well as the cmd command. What im doing wrong? Quote Link to comment Share on other sites More sharing options...
Employee Victor León Posted Tuesday at 07:52 PM Employee Share Posted Tuesday at 07:52 PM Hello, What if you put 'restart-service' under Command and '-Name LSAService -Force' under Arguments? Quote Link to comment Share on other sites More sharing options...
hans straat Posted 21 hours ago Share Posted 21 hours ago If you run powershell as a command you need to specify the path to the executable Action: Run Custom Command Command: C:\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe arguments: -ExecutionPolicy Bypass -file \\uem-test\uem-test$\UEMScripts\Desktop\Set-Clientname\Set-Clientname.ps1 In my script I change the vmware_View_Client_computer name in the registry when they switch from one to another computer. Quote Senior technical specialst at Leiden University Medical Center (lumc) Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.