Hi Jannik,
I was successfully able to install the script as per your steps. but after restart I am anot able to see the Tool in the Notification area. I can see it has copied the contains in the C:\Windows_Tools\ folder & also it has created Task Schedular too. When I check Task Schedular history, it is showing "Task Scheduler successfully completed task "\StartCompanyPortalSystemTray" , instance "{43f73ddc-7c61-4ae6-b9da-1e06ffa95a75}" , action "C:\windows\System32\WindowsPowerShell\v1.0\PowerShell.EXE" with return code 2147942401.", so I believe task scehduler is not able to run that script successfully from C:\Windows_Tools\ folder.
Also, I have tried to run the script Create-IntuneSystemTryV2 script from C:\Windows_Tools\ folder, it is not runnning. It is throwing “cannot be loaded because running scripts is disabled on this system” error.
So, do we need to add any commands in "Create-IntuneSystemTryV2 script" at the begining of the script something like;
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Hi Jannik,
I was successfully able to install the script as per your steps. but after restart I am anot able to see the Tool in the Notification area. I can see it has copied the contains in the C:\Windows_Tools\ folder & also it has created Task Schedular too. When I check Task Schedular history, it is showing "Task Scheduler successfully completed task "\StartCompanyPortalSystemTray" , instance "{43f73ddc-7c61-4ae6-b9da-1e06ffa95a75}" , action "C:\windows\System32\WindowsPowerShell\v1.0\PowerShell.EXE" with return code 2147942401.", so I believe task scehduler is not able to run that script successfully from C:\Windows_Tools\ folder.
Also, I have tried to run the script Create-IntuneSystemTryV2 script from C:\Windows_Tools\ folder, it is not runnning. It is throwing “cannot be loaded because running scripts is disabled on this system” error.
So, do we need to add any commands in "Create-IntuneSystemTryV2 script" at the begining of the script something like;
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser