Tag: PowerShell

Great tool to change MECM content path locations

Just a tip for a really useful tool. Our storage department was planning a storage migration so the content share used for applications, packages, etc in MECM (SCCM) changed. We already used a cname to point to the content share for a lot of objects but not for all of them. So I was looking for a tool to change content paths to the correct cname share in MECM.

This tool does the job! I can really recommend it!

Continue reading “Great tool to change MECM content path locations”

Change Intune device category with PowerShell and MS Graph Intune module

I tried to find a way to be able to change the category assigned to an Intune device without having to use the Intune portal. I found a lot of information about it and even working scripts. But these scripts didn’t do exactly what I wanted. So I used some scripts and information about PowerShell and the MS Graph Intune module and merged them into my script. Some results I wanted to accomplish were to change an Intune device category by using the device name and the category name not the device ID or category ID. I also build in some checks. I wrote this post about it and I hope you find it useful.

Continue reading “Change Intune device category with PowerShell and MS Graph Intune module”

Fix 7-zip vulnerability help file

A vulnerability was found in 7-Zip 21.07 that can be exploited through the 7-Zip Help file. This post will show how to remediate this vulnerability by deleting the 7-zip.chm file. In this post I will show you 2 ways you can accomplish this:
With a MECM (SCCM) configuration item deployment and with Intune script. In this post I will remediate the 7-zip (all versions) 64 bits version with MECM, and only the 21.07 (32 and 64 bits) version with Intune.

Continue reading “Fix 7-zip vulnerability help file”

Set custom Teams backgrounds with Powershell

I got a request at work that it would be nice if users already have got some of the companies custom teams background that they can select as their background in a meeting. They wouldn’t have to upload the images themselves but they would already be in teams to select. It also should be easy to add new custom backgrounds if needed. So I made a powershell script with a colleague of mine that would do this. In this post I will show you how this script works and you can use it yourself.

Continue reading “Set custom Teams backgrounds with Powershell”

Create structure in your MECM (SCCM) console !UPDATED!

The MECM console is the place where you do all of your operational tasks. Deploying windows OS and updates, creating and deploying applications, creating user and device collections, task sequences, running scripts, monitoring and much more.
In order to keep a good overview it is important to create structure within your MECM (SCCM) console, so everyone knows where to find what.
This post will describe a way to structure the MECM console.

Continue reading “Create structure in your MECM (SCCM) console !UPDATED!”

Check if a device is NOT a member of a specific group

With this PowerShell script you can check if a device is NOT a member of a specific group. A colleague and I created this script because our AD computers should be a member of 1 out of 3 AD groups. If the device is not member of one of these groups certain group policy’s wont be loaded and some thing won’t work properly. With the results of this script we know that devices have to be added to a AD group to function properly.

Continue reading “Check if a device is NOT a member of a specific group”

Use the Run Scripts feature in MECM (SCCM) to deploy PowerShell scripts

Run Scripts feature in MECM (SCCM) in allows you to do the following things:

  • Create and edit PowerShell scripts for use with Configuration Manager.
  • Manage script usage through roles and security scopes.
  • Run scripts on collections or individual managed devices.
  • Get Realtime script results from client devices.
  • Monitor script execution and view reporting results directly after deploying your script.
Continue reading “Use the Run Scripts feature in MECM (SCCM) to deploy PowerShell scripts”

PowerShell Active Directory Module on Windows 10

The PowerShell active directory module allows you to do the following things:

  • Manage and automate standard domain-related tasks
  • Check domain user Active Directory attributes and group memberships on the users workstation, if installed on users workstation (described in this post)
Continue reading “PowerShell Active Directory Module on Windows 10”
Theme: Overlay by Kaira