Trevor Jones
Blogs, Articles, and Posts
Audit Events in Your Azure Subscription with PowerShell
(smsagent.blog)
Update! v.1.1 released fixing a bug where the most recent events were not being returned
By: Trevor Jones submitted:Sep 16 2022
Update! v.1.1 released fixing a bug where the most recent events were not being returned
(2022-09-13) A quick post - I just published a new script for retrieving activity log events for an Azure subscription as the current options for searching and retrieving events didn't satisfy me.
By: Trevor Jones submitted:Sep 16 2022
Automate Backups for Azure Table Storage with Azure Function App
(smsagent.blog)
If you've ever used Azure Table Storage you've probably wondered - where is the backup option?!! I
By: Trevor Jones submitted:Jul 28 2023
If you've ever used Azure Table Storage you've probably wondered - where is the backup option?!! I
mean, you can back up SQL server or NoSQL databases, and you can back up storage blobs and Azure files, so why not table storage? Microsoft do not provide any native backup solution for Azure table storage
By: Trevor Jones submitted:Jul 28 2023
Automate Public IP Address Change Notifications for Azure Services
(smsagent.blog)
In Azure, there are various ways to control and restrict the flow of traffic into, out of or between
By: Trevor Jones submitted:May 5 2023
In Azure, there are various ways to control and restrict the flow of traffic into, out of or between
resources depending on the resource in question and the pricing tier used. A common scenario where you might want to restrict traffic is with an API flow where you may want some of your resources to ... Continue reading Automate Public IP Address Change Notifications for Azure Services ?
By: Trevor Jones submitted:May 5 2023
Encrypting Sensitive Data for Transit or Rest with PowerShell
(smsagent.blog)
This blog is about how you can use the .Net cryptography model to encrypt and decrypt sensitive
By: Trevor Jones submitted:Sep 30 2022
This blog is about how you can use the .Net cryptography model to encrypt and decrypt sensitive
information such as passwords with PowerShell. It is specifically for the encryption in transit and encryption at rest scenarios, where, for example, you may be sending data to a backend service and securely storing it in that service.
By: Trevor Jones submitted:Sep 30 2022
Popping Toast Notifications in PowerShell Core
(smsagent.blog)
If you've ever popped a toast notification in PowerShell using the Windows Runtime (WinRT), you've
By: Trevor Jones submitted:Nov 1 2024
If you've ever popped a toast notification in PowerShell using the Windows Runtime (WinRT), you've
probably discovered that, whilst it works fine in PowerShell 5, it doesn't work at all in PowerShell Core (5/6/7+). That's because the WinRT assemblies are not included in PowerShell Core - WinRT is an exclusively Windows thing
By: Trevor Jones submitted:Nov 1 2024
Translating Windows Update Driver Names to Friendly Driver Names
(smsagent.blog)
The Windows Driver Update management capability in Intune is a welcome new feature providing greater
By: Trevor Jones submitted:Jul 14 2023
The Windows Driver Update management capability in Intune is a welcome new feature providing greater
control of driver updates. One frustration I've long had with drivers in Windows Update though is the naming - sometimes the names are quite indescript and it can be difficult to know which driver (or driver software) it actually is.
By: Trevor Jones submitted:Jul 14 2023
Using a LiteDB portable database with your PowerShell project
(smsagent.blog)
I was working on a PowerShell project recently where I needed to reference a large number of items -
By: Trevor Jones submitted:Jun 16 2022
I was working on a PowerShell project recently where I needed to reference a large number of items -
more than I wanted to add as an array or hash table in script, or even an external file like an XML document. So I searched for a portable, standalone database that I could distribute with the script and happened across LiteDB, a lightweight, single-file NoSQL database. It seemed the ideal solution as there's a .Net code library for it, and so far I'm pretty impressed.
By: Trevor Jones submitted:Jun 16 2022
Projects, Scripts, and Modules
Delete Device Records in AD / AAD / Intune / Autopilot / ConfigMgr with PowerShell smsagent
(smsagent.blog)
I've done a lot of testing with Windows Autopilot in recent times. Most of my tests are done in
By: Trevor Jones submitted:Jun 16 2022
I've done a lot of testing with Windows Autopilot in recent times. Most of my tests are done in
virtual machines, which are ideal as I can simply dispose of them after. But you also need to cleanup the device records that were created in Azure Active Directory, Intune, the Autopilot registration service, Microsoft Endpoint Manager (if you're using it) and Active Directory in the case of Hybrid-joined devices.
By: Trevor Jones submitted:Jun 16 2022
New tool – Base64 Converter
(smsagent.blog)
I found myself doing a number of Base64 conversions recently - I usually use PowerShell for this,
By: Trevor Jones submitted:Feb 24 2023
I found myself doing a number of Base64 conversions recently - I usually use PowerShell for this,
but I decided it would be handy to have a tool to do it, so I created one! Not something that hasn't been done before or can't easily be done online, but it's always nice to create your
By: Trevor Jones submitted:Feb 24 2023
PowerShell Functions to Invoke an Intune Remediation Script on Demand and View Remediation States
(smsagent.blog)
!! Updated 2023-07-13 - added additional versions of the functions using the Microsoft Graph
By: Trevor Jones submitted:Jul 14 2023
!! Updated 2023-07-13 - added additional versions of the functions using the Microsoft Graph
PowerShell SDK (v2), as well as adding paging support to the original two functions. Microsoft recently released a preview capability in Intune to run Remediations (formerly Proactive remediations - stop changing the name of things, Microsoft, really!!) on demand, which is ... Continue reading PowerShell Functions to Invoke an Intune Remediation Script on Demand and View Remediation States ?
By: Trevor Jones submitted:Jul 14 2023