Azure Automation Runbook: New-FakeVirus

Often when you are playing with security related products, you would need to create dummy/fake viruses on your computers. The most common way to do this is to create a EICAR test file (https://en.wikipedia.org/wiki/EICAR_test_file). I have used this method in the past when testing the Microsoft Forefront Endpoint Protection management pack in OpsMgr. Today I needed to use it again when I was preparing a demo for the OMS Malware Assessment. I thought, why not make an Azure Automation runbook that automatically create the EICAR test file for me on remote computers, so I can trigger it manually or schedule

Continue reading

Start A Child Runbook From Azure Automation Hybrid Worker on the Same Hybrid Worker Group

Today I was writing a PowerShell runbook (let’s call it Runbook A) that’s designed to run on on-prem hybrid workers. At the end of Runbook A, I needed to kick off another runbook (let’s call it Runbook B) that must run on the same Hybrid Worker group. Because I don’t want to hardcode the Hybrid Worker group name in the script (or using an Automation variable), I wrote a very simple function that returns the Hybrid Worker configuration (including the Hybrid Worker group name) from registry if runs on a Hybrid Worker. To use it, simply place the function shown

Continue reading

New Activity-Level Tracing Options for Azure Automation Graphical Runbooks

Nowadays, OMS / Azure Automation is full of surprises. almost every time I visit the OMS and Azure Automation portals, I’d notice new features being made available. Today, I just noticed a new setting for graphical runbooks called Activity-level tracing: You can now configure additional verbose tracing for graphical runbooks. Please note in order to leverage this new capability, you must also turn on verbose logging for the particular graphical runbook. Verbose Logging without Activity-level tracing: Detailed Activity-level Tracing Enabled: As you can see, once turned on, you can see a lot more verbose logging activities (starts with ‘GraphTrace”) for

Continue reading

Our Azure Automation Session Recording at Microsoft Ignite Australia

Last week, I had an opportunity teamed up with the legendary CDM MVP Pete Zerger (@pzerger) and delivered a session on Azure Automation at Microsoft Ignite Australia in Gold Coast, Queensland. Our session was the first session right after the opening keynote, so while some other sessions are still waiting to be uploaded to Channel 9 at the moment, our session has already been published. You can watch the recording here: https://channel9.msdn.com/Events/Ignite/Australia-2015/ARC311 I have also published all the sample runbooks and other information on Github: https://github.com/tyconsulting/AUIgnite2015

Continue reading

Free OMS Workshops in Sydney and Melbourne

Next week, I will team up with my fellow Cloud and Datacenter MVP Daniel Mar from Infront Consulting Australia and deliver 2 free Microsoft Operations Management Suite (OMS) workshops in Sydney and Melbourne. These events will take place at Microsoft’s Sydney and Melbourne office respectively. We will deep dive into different aspects of OMS and demonstrate some existing and new capabilities. If you want to learn more about OMS and are based on either Sydney and Melbourne, please feel free to register and come to our workshops. Sydney (1:30pm – 5:00pm Wednesday 2nd Dec) Registration link: https://journeytohybridcloud2-sydney.eventbrite.com Melbourne (8:30am –

Continue reading

Azure Automation Webhooks Now Support Hybrid Workers

My friend and fellow CDM MVP Pete Zerger just pinged me and told me he just spotted that Azure Automation webhooks now support targeting Hybrid Workers. The webhook configuration used to look like this: (Source image from David O’Brien’s blog: http://www.david-obrien.net/2015/05/azure-automation-webhooks/) Currently, the webhook configuration looks like this: Few days ago when Pete and I delivered the Azure Automation session at Microsoft Ignite Australia, in one of our demos, we used Webhook to kick off a process to create AD user accounts on On-Prem Active Directory using Hybrid Workers. Because Webhook did not support Hybrid Workers back then, we had

Continue reading

SharePointSDK and SendEmail PS Modules Published in GitHub and PowerShell Gallery

I have recently published 2 PowerShell modules that I’ve written around a year ago on GitHub and PowerShell Gallery: SharePointSDK: Original Post: http://blog.tyang.org/2014/12/23/sma-integration-module-sharepoint-list-operations/ Github Repository: https://github.com/tyconsulting/SharePointSDK_PowerShellModule PowerShell Gallery: https://www.powershellgallery.com/packages/SharePointSDK/ SendEmail: Original Post: http://blog.tyang.org/2014/10/31/simplified-way-send-emails-mobile-push-notifications-sma/ Github Repository: https://github.com/tyconsulting/SendEmail_PowerShellModule PowerShell Gallery: https://www.powershellgallery.com/packages/SendEmail/ Please note the versions I published on Github and PowerShell Gallery are newer than the versions from my original blog posts. Originally, both modules take clear text user name and passwords as input parameters. This behaviour was flagged by the PowerShell Gallery administrators after they examined my modules using PowerShell Script Analyzer. I have just updated both modules today and replaced

Continue reading

Presenting in Microsoft Ignite Australia

Microsoft Ignite Australia is going to take place in Gold Coast, QLD between 17 – 20 November 2015. I am really honoured to co-present a session with the legend Pete Zerger on Azure Automation. Our session is scheduled for 1:30pm Tuesday 17th Nov. You can find the details of the session here: https://msftignite.com.au/sessions/session-details/1667 So if you are attending Ignite Australia and would like to learn more about Azure Automation, please make sure you come to our session. Hope to see you all in the sunny Gold Coast next week.

Continue reading
%d bloggers like this: