Nick Grey Posted August 25, 2023 Posted August 25, 2023 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"
Administrators Anne Posted August 25, 2023 Administrators Posted August 25, 2023 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
Nick Grey Posted August 28, 2023 Author Posted August 28, 2023 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 Anne Posted August 30, 2023 Administrators Posted August 30, 2023 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now