Slides and scripts from the System Center 2012 Configuration Manager R2 Advanced Infrastructure session #WCL307

As promised in the session here are the scripts and links that I was using. Video and slides available on Channel 9: http://channel9.msdn.com/Events/TechEd/NewZealand/2013/WCL307 Blog: Management Point replica https://blog.ctglobalservices.com/kea/working-with-database-replicas-on-your-management-point/ http://myitforum.com/myitforumwp/2012/08/06/next-sccm-guru-webcast-features-brian-mason/   SQL Scripts: Index and Statistics Maintenance: http://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html Pre-creating the SQL database: Download   My generel SQL recommendations: https://blog.ctglobalservices.com/kea/system-center-2012-configuration-manager-sql-recommendations/   Planning for Cloud based Distribution Points http://technet.microsoft.com/en-us/library/jj613909.aspx   Getting started with PowerShell: https://blog.ctglobalservices.com/kea/coretech-wmi-powershell-explorer-part-ii/

By |2013-09-11T22:24:35+01:00september 11th, 2013|Configuration Manager (SCCM), Events|2 Comments

PoshCAT 0.2 version released

I just published PoshCAT 0.2 version and the changes are as follows: · New Client Actions o Desired Configuration Manager Cycle o Application Machine Policy Cycle o Application Global Evaluation Cycle o Install ConfigMgr Client o Get App-V Client Packages o Get App-V Client Configuration o Get App-V Client Version o Enable App-V Client Package Scripts o Get ConfigMgr Client Available Applications o Get Applied Group Policies o Refresh Group Policies o Get Free Disk Space · Alternate Credentials Support – you can specify only one account · Active Directory Connector · Better error handling · Separate folder for reports [...]

Automate importing and creating driver packages in SCCM 2012 R2

  I take that you are familiar with drivers and manually creating driver categories and driver packages in Configuration Manager. Here I will show you how you can optimize the process by running a very need little PowerShell script called ImportDrivers.ps1 (main developer is Claus Codam). There are a few prerequisites that needs to be in place before the script will work. Driver source has to be 3 levels deep like this example (Make\Model\OS). The driver source is where you store the original driver packages from the vendor. You need to create a Driver packages folder (where ConfigMgr will import [...]

No cable connection when running Hyper-V on a Windows 8 workstation

  For quite some time I haven’t been able to use a cable connection, but never had the time to investigate why. Today it got too much (and also, I couldn’t to the wireless). The network adapter was enabled and I didn’t have any Hyper-V virtual switches to interfere with the connection. Turns out the Hyper-V Extensible Virtual Switch was enabled on the NIC.     Once disabling this I could the cable connection on my laptop.

By |2013-08-27T21:25:24+01:00august 27th, 2013|Virtualization, Windows Client|Kommentarer lukket til No cable connection when running Hyper-V on a Windows 8 workstation

Building PoshCAT Part 3 – Enabling PowerShell Remoting through Group Policy for PoshCAT

You may want to read these posts before: · How to install PoshCAT · Building PoshCAT Part 1 – Create different Client Actions lists · Building PoshCAT Part 2 – Adding your own custom functions One of the most important thing you need to know before you start using PoshCAT is that it relies on PowerShell remoting. If you don’t configure PowerShell remoting on your computers, then the Client Actions will fail. In this post I will show how you can enable PowerShell remoting through Group Policy but you can also configure it manually. To enable PowerShell remoting manually you [...]

Building PoshCAT Part 2 – Adding your own custom functions

Last week I showed how you can create different Client Actions lists for different support groups in your organization and in this post I will show how you can add/create your own custom functions for PoshCAT So let’s assume that you would like to query applied Computer Group Policy objects. If you want that your custom function returns some kind of information, then it must return PSObject. Here is the function that I use in this example. This function queries only applied/enabled policies 1 Function Get-ComputerAppliedPolicies 2 { 3 $GPOPolicies = @() 4 $GPOQuery = Get-WmiObject -Namespace "ROOT\RSOP\Computer" -Class RSOP_GPLink [...]

Building PoshCAT Part 1 – Create different Client Actions lists

Last week I published our new tool PoshCAT and in the upcoming weeks I will cover different things. In this blog post I will show how to create different Client Action lists for different support groups. PoshCAT uses XML based configuration file for different Client Actions that you can execute through UI. One of the main ideas was that the tool should be customizable: · Ability to add and remove commands from UI · Ability to add your own custom actions/functions By default there are over 30 commands that are ready for use. Commands.xml configuration · TASK – Client Action [...]

By |2013-08-13T09:34:57+01:00august 13th, 2013|Configuration Manager (SCCM), Powershell, Scripting & Development|Kommentarer lukket til Building PoshCAT Part 1 – Create different Client Actions lists

SCO 2012 R2: System Management Automation Part 3 – The Web Service

The new preview of System Center Orchestrator 2012 R2, comes with a new part called "System Management Automation" Not much info has been released about what it is, or what it can be used for. update: more information have been released by microsoft. Start here It seems to me to be a new runbook engine, with a completely new type of runbooks. I can't wait to get more info about what it is , and what it is for. It has 3 parts which is installed seperately: Web Service Runbook Worker PowerShell Module I will try to post some of [...]

By |2013-08-08T10:50:44+01:00august 8th, 2013|Automation|7 Comments

How to install PoshCAT

1. Download and Unzip PoshCAT_v0.2.zip 2. Right-Click Start-PoshCAT.ps1, WorkerFunctions.ps1, SharedFunctions.ps1 and Commands.xml and select properties. 3. Unblock the files if needed and click OK. 4. Right-click Start-PoshCAT.ps1 and choose Run with PowerShell 5. If you don’t have administrative permissions, this message will be shown.   Enjoy!

SCCM Client Actions Tool PowerShell Edition aka PoshCAT

Updated 28.08.2013 Description SCCM Client Actions Tool PowerShell Edition aka PoshCAT is a practical and simple PowerShell application for performing most common day-to-day administrative tasks on System Center 2012 Configuration Manager Clients. The tool allows running actions remotely on one or more computers simultaneously. A list of computers can be provided either from a file (CSV, TXT) or loaded from Configuration Manager Collection importer or through Add Computer prompt. You can find the old version from here SCCMCAT - https://sccmcat.codeplex.com/ by Christjan Schumann. Please read the documentation first and blog posts! Please read this post how to install PoshCAT - [...]

How to create a link to a Knowledge Article in an email template

What if I told you.. you could make a direct link to a knowledge article that is attached to an Incident (or other workitems) and present it in an email template to a user. Scenario:   1) The supporter gets a new Incident from an end-user: 2) Instead of writing the same message over and over, he or she decides to attach a knowledge article related to the issue and send a little message along to the end-user: 3) The end-user then receives a new email triggered from the SendEmail worklfow 4) He can then click on the link and [...]

By |2013-08-01T21:29:56+01:00august 1st, 2013|Service Manager (SCSM)|1 Kommentar

SCO 2012 R2: System Management Automation Part 2 – The PowerShell Module

  The new preview of System Center Orchestrator 2012 R2, comes with a new part called "System Management Automation" Not much info has been released about what it is, or what it can be used for. update: more information have been released by microsoft. Start here It seems to me to be a new runbook engine, with a completely new type of runbooks. I can't wait to get more info about what it is , and what it is for. It has 3 parts which is installed seperately: Web Service Runbook Worker PowerShell Module I will try to post some [...]

By |2013-07-26T09:00:08+01:00juli 26th, 2013|Automation|Kommentarer lukket til SCO 2012 R2: System Management Automation Part 2 – The PowerShell Module

Which management pack contains my group or Distributed Application?

  Which management pack contains my group or Distributed Application? A couple of days ago I got a question, which I thought could be the 1$ question on Who Wants To Be A Millionaire, but I was actually a bit wrong.   While you can always see directly in the UI in which management pack rules, monitors, overrides have been saved, it is not exactly the same with Groups and Distributed Applications.   Neither in the Groups view nor in the properties of the group can you see anything about the management pack in which it has been saved. Same [...]

By |2013-07-23T11:35:05+01:00juli 23rd, 2013|Operations Manager (SCOM)|1 Kommentar

SNMP trap/probe – with or without the dot in the OID?

  I was setting up some UPS monitoring at a costumer, and i got into a “discusison” with a collegaue about the first dot in a OID. We were discussing whether or not you need the dot before the first number when creating monitors/rules in SCOM 2012. We went ahead and created two simple monitors – one with the dot and one without: UPS Battery Temperature: .1.3.6.1.4.1.318.1.1.1.2.2.2.0   UPS Battery Temperature – WITHOUT DOT: 1.3.6.1.4.1.318.1.1.1.2.2.2.0   I faked a temperature alert and i got:   I got two alerts! So actually, apparently it doesn’t make a living difference if you [...]

By |2013-07-22T14:52:09+01:00juli 22nd, 2013|Operations Manager (SCOM)|2 Comments

SCO 2012 R2: System Management Automation Part 1 – Overview and Setup

  The new preview of System Center Orchestrator 2012 R2, comes with a new part called "System Management Automation" Not much info has been released about what it is, or what it can be used for. update: more information have been released by microsoft. Start here It seems to me to be a new runbook engine, with a completely new type of runbooks. I can't wait to get more info about what it is , and what it is for. It has 3 parts which is installed seperately: Web Service Runbook Worker PowerShell Module I will try to post some [...]

By |2013-07-19T15:11:54+01:00juli 19th, 2013|Automation|1 Kommentar

SCO 2012 R2: System Management Automation – Using the Web Service in Visual Studio 2012

  update: more information have been released by microsoft. Start here The new preview of System Center Orchestrator 2012 R2, comes with a new part called "System Management Automation" In this article series i can been focusing on the 3 parts: Web Service Runbook Worker PowerShell Module In this article i'll show how to use the web service in Visual studio. An earlier post described more about the web service Install Browse using Internet Browser   The idea is to give you a chance to play around with it, and any kind of comments/feedback is very welcomed! Lets go!   [...]

By |2013-07-19T14:29:24+01:00juli 19th, 2013|Automation|Kommentarer lukket til SCO 2012 R2: System Management Automation – Using the Web Service in Visual Studio 2012

New Content on CM12SDK.Net

I just posted new content on CM12SDK.net How to modify Configuration Manager Client Cache Size How to Create a Software Update Deployment Template How to Create/Add Alerts for Software Update Deployments How to invoke Client Notification actions Configuration Manager 2012 Developer Excel Sheet – I removed all the old Excel sheets and now I have only one Excel sheet which contains all the necessary things. If you are working with Configuration Manager, then a few weeks ago we released our first version of WMI and PowerShell Explorer and there is one special feature for Configuration Manager administrators which allows you [...]

By |2013-07-12T14:07:30+01:00juli 12th, 2013|Configuration Manager (SCCM)|2 Comments

New Tool – Coretech APP-V Package Analyzer and Converter

APP-V 5 has been around more than one year now and if you have a lot of old APP-V 4.5 or 4.6 packages then you may want to move to newer version to get all the nice features that APP-V 5 provides. APP-V 5 Sequencer PowerShell Module contains Test-APPvLegacyPackage and ConvertFrom-AppvLegacyPackage CMDLETs. Test-AppvLegacyPackage CMDLET allows us to analyze old packages and if the analyzer says no problem, then we can convert the old apps to never version with ConvertFrom-AppvLegacyPackage CMDLET. I got 61 old APP-V packages last week and I wanted an easy way to analyze these packages and also [...]

New System Center 2012 Configuration Manager SP1 book

It’s truly with great pleasure and excitement I can announce that my new book System Center 2012 Configuration Manager SP1 Mastering the Fundaments, 2nd edition is finished, and will be available later in July. The new book not only covers how to get started correctly, it also includes information about the new Cloud features like Windows Intune integration (Mobile Device Management), Windows Azure distribution point (Cloud DP), Mac/Linux management, PKI, installing Configuration Manager on Windows Server 2012, deploying Windows 8, handling Windows & 3rd party updates and much more. ISBN for the book is 978-91-87445-01-9.   

By |2013-07-03T11:10:32+01:00juli 3rd, 2013|Configuration Manager (SCCM)|23 Comments

How to deploy APP-V 5 SP1 Client through Group Policy

Before I just blogged How to extract APP-V 5 SP1 client executable and in this blog post I will show how to deploy the APP-V 5 SP1 Client through Group Policy. If you have the MSI files and you try to install the APP-V client, then it will prompt you this message. If you are using ConfigMgr for APP-V Client deployment, then you don’t have any issues because you can specify the command-line parameters but through Group Policy you can´t do that and you need to modify the MSI file. Creating the Group Policy Object If you want to modify [...]

By |2013-07-02T15:48:54+01:00juli 2nd, 2013|Application Virtualization (App-V)|Kommentarer lukket til How to deploy APP-V 5 SP1 Client through Group Policy

How to extract APP-V 5 SP1 client executable

If you are looking APP-V 5 SP1 client MSI files, then stop looking. APP-V 5 client MSI files are inside the appv_client_setup.exe file. To extract the MSI files you need to execute following command: If you check the extracted files, then you will see appv_client_MSI_x86.msi and appv_client_MSI_x64.msi files. References How to Deploy the APP-V 5 Client - http://technet.microsoft.com/en-us/library/jj713460.aspx