Author: Morten Lerudjordet

Intune Win32 & Powershell

I did not find the complete story anywhere so I put this together so it would be easier for others to get PS and Intune making nice. I expect some familiarity with Intune and Win32 apps, as I will skip most of the pretext. As most of you know creating Win32 apps one needs to…

By Morten Lerudjordet June 25, 2019 0

Azure Automation: update them modules redux

I did some work on updating the Update-AzureAHybridWorkerModules script I previously published here. It was a very basic script that only updated modules on hybrid workers that had been installed by using Install-Module. After thinking a bit, and becoming ever increasingly frustrated that we still do not have logic for automatically syncing modules installed in…

By Morten Lerudjordet December 25, 2018 0

Azure Automation runbook logging

For any automation tool, logging is pretty important. Though I would also say readability of the logs is something one should also think about when writing code. The general consensus in AA for logging is that one should use: Write-Error Write-Warning Write-Verbose Write-Output as the accepted ways of moving information to the different log types.…

By Morten Lerudjordet October 26, 2018 0

Azure AD Connect: Export filter OU list

Just a quick one to remind myself as I’m taking in some coffee. If you need to get the set OU filters for the Azure AD Connector, this little Powershell snippet might help:

Does not seem a way to import as of yet though 🙁 Will update if I find a workaround for this.…

By Morten Lerudjordet June 26, 2018 0