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
Month: November 2023
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.