Configuration Manager 2012 SP1 and R2 PowerShell Provider

Updated 23.03.2015! As you might have already noticed that Configuration Manager PowerShell Provider is lot like Active Directory, Registry etc. provider. To run a cmdlet you need to be inside CMSITE. If you are still using SP1+, then: 1. you can´t use New-Item cmdlet to create folders 2. you can´t set the location to sub folders 3. Get-ChildItem does not work at all If you are using R2+, then 1. You can use New-Item to create folders 2. You can change the location i.e. sub folders etc. 3. Get-ChildItem only prints out folder objects but not collections, applications etc. inside [...]

Activate local Admin account – or why you need BitLocker!

While this is not a newly discovered hack, I feel that we can not stress the importance of using Bitlocker to encrypt our hard drives. If you like me encounter customers that still runs their computers unencrypted, and don’t see the need for encryption. just use the following guide to show them how easy it is to activate the local administrator account and reset its password. Step 1 Show the customer that the local administrator account is disabled. (or that you don’t know the password). Step 2 Boot from any bootable media, such as the original installation media, Ultimate Boot [...]

By |2014-09-26T14:32:36+01:00September 26th, 2014|Operating Systems, OS Deployment, Security|8 Comments

Jeg taler på Microsoft Campus Days 2014

(sorry for the danish, but this is a DK event ;-))   Jeg er igen i år så heldig at jeg har fået lov at tale på Microsoft Campus Days 2014 i København!   Info om min session: System Center Orchestrator 2012 R2 & Windows Azure Pack – Introduktion til Service Management Automation Service management automation er en ny del af System Center Orchestrator 2012 R2 og det bygger på PowerShell! Få en introduktion til systemet, mulighederne og et start-til-slut eksempel på en Runbook i SMA. Denne session bliver leveret af Jakob G. Svendsen, Co-Founder af PowerShell User Group Danmark. [...]

By |2017-08-22T10:37:34+01:00September 25th, 2014|Events|0 Comments

Service Management Automation: SMA Toolkit Released!

Microsoft has collected all of their SMA tools into one tookit called “SMART”   Info from their technet gallery item: The SMA Runbook Toolkit (SMART) is a collection of Service Management Automation (SMA) related tools. They are all PowerShell-based and provided as samples, to help achieve the following tasks:   Visualization and Dependency Mapping Tool 1.0 – New! This tool lets you browse SMA Runbooks and export their dependencies to the PowerShell console, Visio, Word and/or Visual Studio. Once runbook tendencies have been computed, the Visual Studio export is particularly fast and has a nice automatic layout in DGML. This [...]

By |2017-08-22T09:25:52+01:00September 23rd, 2014|Automation, Windows Azure Pack (WAP)|0 Comments

PowerShell Deployment Toolkit: Windows Azure Pack install fails

I am a big fan of PDT but I have been trying to install Windows Azure Pack and the complete system center using PowerShell Deployment Toolkit Using the newest version (currently version 2.64.2611) it fails installing the Windows Azure Pack components! Luckily i found the error: Use a password for the installer user that follows the rules for Windows Azure Pack Minimum 8 chars Include at least one upper case letter and one lower case. include at least one number Include at least one non-alphanumeric. (In my case i was missing this! .. so added a ! to the password) [...]

By |2014-09-23T14:16:47+01:00September 23rd, 2014|Powershell, Windows Azure Pack (WAP)|2 Comments

New 3-day Workshop: Windows Azure Pack: Mastering Service Management Automation (SMA)

I am currently in development of my new mastering class in SMA. Here is the detailed info and upcoming dates Title Windows Azure Pack - Mastering Service Management Automation Days 3 Level 300 Trainer Jakob Gottlieb Svendsen, Cloud & Data Center MVP. Email: MVP Profile: Blog: Summary Go from A to Z in Service Management Automation. The new automation tool based on PowerShell Workflows. Beside the introduction, architecture and installation, this workshop focuses on designing Runbooks using PowerShell Workflows in SMA. Learn how to convert your knowledge of PowerShell scripts to PowerShell Workflows. We will start from [...]

By |2017-08-22T09:25:52+01:00September 23rd, 2014|Automation, Windows Azure Pack (WAP)|1 Comment

Scripts and links from my sessions @IT/Dev connections

A big thanks to all who attended at our sessions. Below are the links to the scripts and blog post we referenced during the session. Hope to see you all again next year! Managing Configuration Manager with PowerShell  Building Custom Tools Using PowerShell  Truly Better Together: Configuration Manager 2012 R2 and PowerShell  Quick and Dirty – Build Configuration Manager 2012 Admin Console Extensions automatically - Configuration Manager 2012 R2 Developer Excel Sheet - Does Your Hard Work Advance the Ecosystem? - Coretech Collections Tool - Before you start using these script examples on your production environment, please make [...]

Links and downloads from SCU 2014 in Basel

Below is a list of the links and scripts that I used in my two sessions today on Compliance Management and Troubleshooting ConfigMgr. Compliance examples – download Configuration Manager Support Center: Microsoft System center 2012 R2 Configuration Manager Toolkit: Optimizing ConfigMgr database: Background on maintenance task: Configuring SQL Backup and recovery, includes link to demo: Autmating the WSUS Cleanup process SQL PowerShell audit script Splitting existing ConfigMgr database into multiple SQL files Pre-creating the database before installing Configmgr – download script SQL Script to for fragmentation on the SQL DB   Checking [...]

By |2014-09-19T18:30:27+01:00September 19th, 2014|Configuration Manager (SCCM), General info|4 Comments

Monitoring Exchange 2013

With Exchange 2013 a new way of monitoring workloads appeared, at least in the windows world. Managed Availability is the name and my guess is, that we will see more of this type of monitoring going forward. As a SCOM administrator you have limited possibilities of creating overrides for Exchange 2013 monitoring. This must be done by an Exchange administrator in the Exchange Management Shell, but you still need to know how this is done so you can work with the Exchange administrator to tweak the default monitoring configuration. I recommend reading these articles to begin with: Understanding how Exchange [...]

By |2014-09-18T13:54:06+01:00September 18th, 2014|Operations Manager (SCOM)|3 Comments

Scripts and links from the ConfigMgr 2012 Site Review session @IT/Dev connections

A big thanks to all who showed up at our session, Steve and I had a fantastic time and could easily have gone on for 75 more minutes Below are the links to the scripts and blog post we referenced during the session. Hope to see you all again next year! Optimizing ConfigMgr database:   Background on maintenance task:   Configuring SQL Backup and recovery, includes link to demo:   Autmating the WSUS Cleanup process SQL PowerShell audit script

By |2014-09-18T11:58:08+01:00September 18th, 2014|Configuration Manager (SCCM), General info|1 Comment

Links from the ConfigMgr 2012 R2 precon @IT/Dev Connections

Thanks for a great day @Aria in Las Vegas. As promised here are the links we (@Jarwidmark and @Agerlund) mentioned during our preconference: Pre-creating the database using this script SQL backup and restore Software Update Report dashboard rdl file Software Update step-by-step: PowerShell Script to set permissions in Active Directory for OSD Hydration for System Center 2012 R2 Script for Deploying a reference image (VM) fully unattended Link to Jason Sandy's startup script for ConfigMgr Client: Video - Compliance Settings and Control End–User Installed Software Coretech Configuration Manager shutdown utility How to [...]

By |2014-09-17T14:41:21+01:00September 17th, 2014|Configuration Manager (SCCM)|1 Comment

Store encrypted password in a PowerShell script

I write a lot of PowerShell scripts where I need to access different kinds of services, servers and databases. Often these scripts needs to run on schedules in the background and so on. Instead of having cleartext passwords scattered throughout the scriptfile I like to store a securestring version of the password in the script. Normally you would build a credential object using something like this [crayon-5d30193a328e8105822890/] That means that anyone who can open and read the scriptfile, will know what the password for the account in question is. Which is VERY BAD. It would be better if we could [...]

By |2017-09-07T22:55:56+01:00September 10th, 2014|Powershell|16 Comments

House of Cards–The ConfigMgr Software Update Point and WSUS

A Card house; fun to build but not very solid and when one card falls the whole house often goes down with it. It’s a little like that with the WSUS server and Configuration Manager. Installing WSUS seems so easy but there are still some moving part, and if you get one of the wrong maybe the whole House of Cards falls. Recently I have seen that happen at several customers. This blog post is divided into 3 parts: 1. Introduction 2. Problem overview and symptoms 3. Solutions to fix issues and avoid it in the future Let’s start by [...]

By |2014-09-10T14:38:25+01:00September 10th, 2014|Configuration Manager (SCCM), General info|50 Comments

3rd party updates & Compliance using Secunia and System Center 2012 ConfigMgr

This is the 3rd and final post in my series of Secunia CSI and System Center 2012 Configuration Manager integration. Part 1 focused on installing and configuring, Part 2 focused on deploying and installing 3rd party software updates. This blog post will introduce you to the monitoring options in the product. You can monitor compliance in either ConfigMgr or in Secunia CSI. The difference between the two is ConfigMgr will only show you compliance about the updates you have published to WSUS where CSI will list compliance for all applications found on the systems. Tracking compliance in CSI In CSI [...]

By |2014-09-05T14:33:47+01:00September 5th, 2014|Configuration Manager (SCCM)|0 Comments

ConfigMgr 2012 Evaluation version expired

So what actually happens when an evaluation version expires? You will notice a few things, like the ConfigMgr administrator console very clearly tells you it expired. As you can see from above you will still be able to open the console but only with Read permisions. Trying to perform actions via PowerShell will give you an error saying that you don’t have the proper permissions: Looking in the SMS provider log file (smsprov.log) you will also see errors indicating the lack of permissions. You will also notice that both the SMS Executive Service and Site Component Manager service is not [...]

By |2014-09-01T13:44:46+01:00September 1st, 2014|Configuration Manager (SCCM), General info|3 Comments