Querying for Devices in Azure AD and Intune with PowerShell and Microsoft Graph

Recently I needed to get a list of devices in both Azure Active Directory and Intune and I found that using the online portals I could not filter devices by the parameters that I needed. So I turned to Microsoft Graph to get the data instead. You can use the Microsoft Graph Explorer to query … Continue reading Querying for Devices in Azure AD and Intune with PowerShell and Microsoft Graph

Intune Client-Side Logs in Windows 10

Note to self (and anyone interested!) about the client-side location of logs and management components of Intune on a Windows 10 device. Diagnostic Report A diagnostic report can be generated client-side from Settings > Access Work and School > Connected to <Tenant>'s Azure AD > Info > Create Report The report will be saved to: … Continue reading Intune Client-Side Logs in Windows 10

Create a Custom Splash Screen for a Windows 10 In-Place Upgrade

A while back I wrote a blog with some scripts that can be used to improve the user experience in a Windows 10 in-place upgrade. The solution included a simple splash screen that runs at the beginning of the upgrade to block the screen to the user and discourage interaction with the computer during the … Continue reading Create a Custom Splash Screen for a Windows 10 In-Place Upgrade

Create Disk Usage Reports with PowerShell and WizTree

Recently I discovered a neat little utility called WizTree, which can be used to report on space used by files and folders on a drive. There are many utilities out there that can do that, but this one supports running on the command line which makes it very useful for scripting scenarios. It also works … Continue reading Create Disk Usage Reports with PowerShell and WizTree

PowerShell One-liner to Extract a Windows 10 Upgrade Error Code

Short post - here's a PowerShell one-liner that will extract the upgrade code from the setupact.log generated by a Windows 10 upgrade. It includes both the result code and the extend code. You could include this in an in-place upgrade task sequence with ConfigMgr to stamp the code to the registry, or WMI, or create … Continue reading PowerShell One-liner to Extract a Windows 10 Upgrade Error Code

Find Windows 10 Upgrade Blockers with PowerShell

This morning I saw a cool post from Gary Blok about automatically capturing hard blockers in a Windows 10 In-Place Upgrade task sequence. It inspired me to look a bit further at that, and I came up with the following PowerShell code which will search all the compatibility xml files created by Windows 10 setup … Continue reading Find Windows 10 Upgrade Blockers with PowerShell

Create Interactive Charts with WPF and PowerShell

So I'm not a big Twitter fan, but I do admit - as an IT professional you can find a lot of useful and pertinent information there. One example was this morning when I happened to notice a tweet from Microsoft about their opensource projects on Github. After a quick perusal, I happened across an … Continue reading Create Interactive Charts with WPF and PowerShell

Using Windows 10 Toast Notifications with ConfigMgr Application Deployments

When deploying software with ConfigMgr, the ConfigMgr client can create a simple "New software is available" notification to inform the user that something new is available to install from the Software Center. But this notification is not overly descriptive. You might wish to provide a more detailed notification with a description of the software, why … Continue reading Using Windows 10 Toast Notifications with ConfigMgr Application Deployments

Simplify Resolving Windows 10 Upgrade Errors with SetupDiag and ConfigMgr

A few weeks ago Microsoft released a handy tool to help diagnose issues with Windows 10 upgrades called SetupDiag. The tool basically analyzes the Windows Setup logs against known issues and reports it's findings in a log file. Troubleshooting Windows 10 setup is not the most fun activity, so using this tool certainly makes the … Continue reading Simplify Resolving Windows 10 Upgrade Errors with SetupDiag and ConfigMgr