Tag: powershell

Blog, Configuration Manager Current Branch, Powershell, Windows 10, Windows 7

Read Files and Detect Strings Using Powershell Detection Methods in SCCM

INTRODUCTION Powershell methods, is there anything they can’t do? No, not really! As with many other cases with Powershell, the options are endless. In this blog post I will explain how you can use the Get-Content command in a Powershell script in an SCCM detection method. MY SCENARIO I came across a scenario at a customer where during an application installation, configuration files were to be replaced in the installation directory using a script. Since a configuration line was different…

Blog, Configuration Manager Current Branch, Software Updates

Powershell Script for Configuring SCCM Maintenance Windows Based on Patch Tuesday

INTRODUCTION Many organizations use Maintenance Windows as part of their Software Update deployment strategy. Maintenance Windows in SCCM are commonly used for controlling when updates are allowed to be deployed to servers. As of SCCM 1802, it is possible to configure the deployment of Automatic Deployment Rules with a defined day offset from Patch Tuesday. Read more about it here: https://docs.microsoft.com/en-us/sccm/sum/deploy-use/automatically-deploy-software-updates Unfortunately, this feature is not available for Maintenance Windows, which causes an issue that I describe in this blog…

Bitlocker, Blog, HP, TPM, UEFI, Windows 10

How To Deploy HP BIOS Settings using SCCM

INTRODUCTION In most organizations, the workstation configuration needs to conform to a specific standard. If you are using HP workstations, you will need a strategy on how to deploy the HP BIOS settings. Enterprise OEMs such as DELL, HP and Lenovo provide solutions for deploying BIOS settings. Below is a list of the solutions for each manufacturer: HP  – HP BIOS Configuration Utility (BCU) DELL –  DELL Command Configure Toolkit (CCTK) Lenovo – Lenovo WMI scripts The DELL and Lenovo solutions…

Blog, Configuration Manager Current Branch, Office 365, Powershell

Deploy Microsoft Office 365 ProPlus Using PS App Deployment Toolkit

INTRODUCTION There are currently many organizations migrating from previous versions of Microsoft Office to Microsoft Office 365 ProPlus. Many of these organizations are also spread around the globe with different language requirements. I have seen that deploing Microsoft Office 365 ProPlus in large enterprise environment is not as trivial as you might think, as you have to take many things in to consideration. The way described in this blog post is the way I go about deploying Office 365 ProPlus, and I have frankly…

Blog, Configuration Manager 2012, Powershell

Powershell script for configuring collection update refresh settings in SCCM

INTRODUCTION Sometimes you might want to configure how collections update in SCCM. Accomplishing this for a few collections works fine using the GUI, but if you want to change collection update settings for hundreds, or thousands of collections at the same time, this is not a viable option. SOLUTION If you need to do this, use the script I have created. It reads the collections IDs from a file called collections.txt that needs to be in the same folder as the…

Blog, Configuration Manager 2012, Configuration Manager Current Branch, Powershell

Powershell script to export a list of all dependencies for an SCCM Task Sequence

Here is a Powershell script I wrote the other day which exports a list of all dependencies for a specific Task Sequence to a CSV file. How to run it: 1. Run the script using .\Export-Task_Sequence_Dependencies.ps1 -TSID “Task Sequence Package ID” 2. Open dependencies.csv to find the dependencies for the given Task Sequence. Please provide any feedback you might have. You can also find the script in the TechNet Gallery.

Blog, Powershell

Powershell script to add Active Directory users to groups using a CSV file

INTRODUCTION When adding a bulk of groups to different Active Directory group you should use Powershell. Use the script in this post to accomplish this. SOLUTION This script simply adds the users specified in the Users column in to the groups specified in the Groups column in the CSV. Grab the script and an example CSV from the TechNet Gallery. The script is also available below:

USEFUL POSTS Powershell script to copy files to current user profile Powershell script…

Blog, Powershell

Powershell script to set Outlook 2010/2013 signature using information populated from Active Directory

I updated the Signature Script that I posted last year with some bug fixes and improvements. You can download the *.zip file which includes the script and an example *.docx template from the TechNet Gallery. If you want to have a look at the script, here it is:

Blog, Powershell

Powershell Script to Only Install Patches Not Already Installed

INTRODUCTION If you are trying to do a script based installation of several hotfixes, you will most likely see that the script will fail if the hotfix is already installed. SOLUTION Here is a way of solving it, so only hotfixes that are not installed will be applied.

WordPress Theme built by Shufflehound.