In my last blog post, I showed you how to use Detection scripts in Intune. In this blog post, I will show you how the additional requirement rules work and how you can use PowerShell for those.
Microsoft Intune PowerShell Detection scripts
When I deploy Win32 packages in Intune, I use PowerShell detection scripts to detect if the software is installed on a system. In the blog post, I will show you how they work and why they are more flexible than file and registry checks. Table Of ContentsshowWhat are detection scripts in Intune?How do detection scripts … Continue reading Microsoft Intune PowerShell Detection scripts
Using a specific PowerShell profile for a Console session, Windows Terminal, PowerShell ISE, or Visual Studio Code
I ran into this somewhere during this week. I wanted to have different PowerShell profiles for other applications. (I don't need all my functions and scripts being loaded in every PowerShell session or by a Scheduled Task) In this blog post, I will show you how to change your PowerShell profiles and make them specific for an application.
Copying Exchange Full Access and Send As permissions to other users
I was working on a user provisioning script for a customer, and he asked if I could copy all Shared Mailbox permissions of a template user to the new user. (It was something that was quickly forgotten during the user creation process) Sure, because PowerShell 🙂 In this blog post, I will show you how to retrieve Full Access permissions and copy them (Including Send As) to another user.
Learning things about PowerShell
One thing I get asked often is where I can learn things about PowerShell. How do you keep up with the latest things? In this blog post, I will show you a few resources which I use to see what's new 🙂
Using Get-ManagementRole to get the permissions required for Exchange-specific cmdlets
I ran into an issue where one of my Exchange scripts didn't work, "a parameter could not be found that matches the parameter..." Strange error because the parameter is there... Or is it? In this blog post, I will show you how Get-ManagementRole works in Exchange and how it can help you with issues like this.
Check for non-Microsoft signed Windows Services
I have a lot of Windows Services on my Windows 11 laptop, mainly from Microsoft itself or third-party, but Microsoft signed are safe(r). In this blog post, I will show you how you can scan your system for non-Microsoft signed Windows Services and create a report on those.
Intune Autopilot report using Microsoft Graph
One of the best things about Microsoft Intune is Windows Autopilot. In this blog post, I will show you how to create a report of the current status of Windows Autopilot in your tenant.
PSResourceGet
On October 9th, PSResourceGet became Generally Available (GA)! This blog post will show you what it is and how it adds to / replaces the current PowerShellGet v2.2.5.
PowerShell, Intune, and Microsoft Graph X-Ray
I used Microsoft Graph X-Ray as a tool for getting the PowerShell cmdlets needed for scripting specific actions in the Azure / Entra ID portal in the past. But you can also use it for Intune 🙂 In this blog post, I will show you how this works.