Posted August 25, 20231 yr 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"
August 25, 20231 yr Administrators Hi @Nick Grey Thanks for reaching out. Can I ask what the aim of the script is and what privilege level you are running it on? Thanks, Stefan
August 28, 20231 yr 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.
August 30, 20231 yr 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