Hicould need some pointers hereWhat I am after is to detect if a machine is running in Azure and based on true i want to run and agent procedureAnd only run that procedure once if the software is already there
I found this PS script that looks to give me the answerhttps://gallery.technet.microsoft.com/scriptcenter/Detect-Windows-Azure-aed06d51
What would be the best way to make my goal work ?
You can create an Agent Procedure (AP) that execute that script you refer to. After the script is executed you can write the result to a text file and get it by the AP to fill a Custom field in Agent. On that Custom Field, you create A view what runs an AP Once and then remove the Agent from the view. Another option is to create a Policy with Policy Mgt that runs an AP Once and then removed the Agent from the selected view.
Hope this information will help you
Sounds like a very god suggestions
Will give that a try
If you have question about it just shoot. Would like to hear you outcome.