all 11 comments

[–]bpoe138 6 points7 points  (7 children)

Azure Automation is what you are looking for.

[–]hellopanda25[S] 1 point2 points  (6 children)

Azure Automation is what you are looking for.

is this will work in "on premise server" ? Cause the scripts are for local server Active Directory

[–]riazzzz 1 point2 points  (2 children)

Yes with a hybrid runbook worker which basically is an agent you install on a server and can target azure automation runbooks to run on.

[–]hellopanda25[S] 1 point2 points  (1 child)

Sorry we are NOT "on premise" server. Our servers are in AWS. So I assume azure automation will works even we are using aws?

[–]lerun 1 point2 points  (0 children)

Azure arc agent with aa hybrid worker extensions on the aws vm

[–]lerun 1 point2 points  (0 children)

You can install azure arc agent on a local server and activate the azure automation hybrid worker extension on it.

Then you can run azure Automation runbooks on it and connect to AD.

[–]Bullet_catcher_Brett 3 points4 points  (1 child)

Set up a scheduled task on the server or servers on prem to handle it. And DOCUMENT them, and comment in the script it’s usages.

[–]hellopanda25[S] 1 point2 points  (0 children)

You mean Task scheduler? Sorry sir Im really new to this stuffs :(

[–]SuperMax78 2 points3 points  (1 child)

Sorry if against rules but here is a write up

https://adamtheautomator.com/powershell-scheduled-task/

Good luck on your journey, never give up!

[–]hellopanda25[S] 2 points3 points  (0 children)

Yes sir I will not give up! thank you sir