Jump to content
Pulseway 9.14 🔥

Featured Replies

Posted

Hi All we are trying to run the following as a PS script in Pulseway. We have no issues with running the script from the machine but when we running the script via Automation it says it worked and was successful but it makes no changes. thanks Nick 

New-Item -Path "HKCU:\SOFTWARE\Microsoft\Office\16.0\Outlook\Profiles" -Name "GO_365" -Force

Set-ItemProperty "HKCU:\SOFTWARE\Microsoft\Office\16.0\Outlook" -Name "DefaultProfile" -Value "GO_365"
 

  • Author

We are the administrators of the computers/company. We need to reset 400 Outlook mail profiles to reset and run as the default account. We are moving the client from Exchnage 2016 to Microsoft 365 and don't want to have to log onto each machine and reset the Profile and Outlook.

  • Administrators
Hey @Nick Grey

My suggestion is to test using Workflows >> choose trigger type as Ad-hoc and try to run the action Execute shell command or add the script on a notepad save it as ps1 push the scripts to all the machines using write file option in workflows and then use Execute File action in the workflows.
 
This is just a suggestion and if it doesn't help you out, I will raise a support ticket for you and we can solve the issue. 
 
Thanks, 
Stefan 

Create an account or sign in to comment