TIL: Finding the location of a user’s desktop folder in PowerShell
In developing a script that drops the output file to a user’s desktop it begs the question – what is the best way to determine the full path to the…
In developing a script that drops the output file to a user’s desktop it begs the question – what is the best way to determine the full path to the…
Multi-factor authentication (MFA) is critically important for securing accounts and limiting the risk of accounts being compromised. However one of the weaknesses of push based MFA, such as push notifications…
Recently I’ve been needing to put into Azure AD Groups large numbers of device objects and it turns out you can’t easily use the out of the box tools in…
Recently in doing a migration project to Exchange Online Protection (for a large number of domains) it was necessary on a regular basis to make changes to DNS records, and…
On a Windows Defender Application Control (WDAC) project one issue you may encounter is driver .dll or .sys files that are digitally signed, but the certificate has now expired. The…
Recently in doing a device remediation exercise it was necessary to run some PowerShell code on a device via Intune – this is easily done using the built in scripts…
I’ve been developing PowerShell scripts in Intune a lot recently for cleaning up various machine issues in an application control project and recently encountered an issue where a PowerShell script…
Recently when deploying Microsoft Office Macro controls using the Office cloud policy service the deployment approach was to create two policies – the first blocking the use of macros, and…
In developing some scripts recently I discovered that the Invoke-RestMethod cmdlet (in PowerShell version 5 at least) doesn’t provide the values of the response headers. The workaround I had to…
I’ve started experimenting with Ubuntu again recently with a Raspberry Pi4 that I have on my home network (running Ubuntu Server 20.04 LTS). I’ve had it with a view of…