Skip to content

IT Dev Lab

Learnings and musings of a Microsoft Identity & Security consultant

IT Dev Lab

Learnings and musings of a Microsoft Identity & Security consultant

  • Home
  • Post Series
    • WDAC
  • Links library
  • About
    • Home
    • PowerShell
PowerShell WDAC

PowerShell script to convert WDAC XML file to binary CIP format

Andrew 30 March 2023 0 Comments

The Microsoft WDAC Wizard is a great tool for building and modifying WDAC policies, but there are times where it is necessary to manually modify the policy XML file. If…

PowerShell

TIL: Finding the location of a user’s desktop folder in PowerShell

Andrew 17 October 2022 0 Comments

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…

Microsoft 365 PowerShell Uncategorized

Exchange Online DNS validator

Andrew 27 September 2022 0 Comments

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…

Intune PowerShell

Trigger an Intune sync on a device with PowerShell

Andrew 16 August 2022 0 Comments

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…

Intune PowerShell

Proxy authentication required for Intune scripts

Andrew 9 August 2022 0 Comments

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…

PowerShell

Invoke-RestMethod response headers

Andrew 5 August 2022 0 Comments

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…

You Missed

Microsoft Entra MIM2016

Looking to migrate from MIM to Microsoft Entra?

Sentinel WDAC

January 2024 WDAC Advanced Hunting changes

WDAC

Creating a policy with the WDAC Wizard

WDAC

Application control with Microsoft WDAC

IT Dev Lab

Learnings and musings of a Microsoft Identity & Security consultant