powershell

SCCM Automation with PowerShell – after the Webinar

Hi All, thanks everyone that joined me on the SCCM Automation with PowerShell – back to basics webinar. 1st of all, i’d like to apologize for the audio and video issue that some of you had. We received less than 1% complain and we’re working to make sure this will not happen again. I also would like to apologize for the lack of time we had and we’re not able to run the FAQ as we had planned. Anyway, i hope everyone enjoyed and if you’re not able to view the recording, you can access it clicking here The PowerPoint and scripts can be found here, they are in a zip format I would also take this opportunity to answer some of the questions related to the webinar: 1-Can we make executable of this script? Yes, it is possible to create .exe file from a powershell file. a free solution…

SCCM 2012-SW Update Group for Reporting

Hi All, often, when i go to customers, i need to create and update a software update group for reporting so they can get a easy way to know if they are compliance with the deployed update groups… ps. you ay need to change the CategoryInstance_UniqueID to add the products and classifications you have in your environment.

 

System Center 2012 R2 Configuration Manager Dashboard Updated

Hi All, Today I’m pleased to inform that the new beta version (v0.02) of the System Center 2012 R2 Configuration Manager Dashboard (CM12R2Dashboard) has been released. Overview The System Center 2012 R2 Configuration Manager Dashboard (CM12R2Dashboard) enables SCCM administrators and support team to monitor SCCM environment to take the right decision at the right time. It can provide status on client activity, client health, deployments, content status and much more and has been designed to provide clear information to support teams, SCCM administrators and managers. The CM12R2Dashboard is totally customizable allowing it to show the information that is required by the customer. It can determine, based on customized parameters, when the information is in a Warning or Critical states by changing the information background colour. It can run on Windows 7+ and Windows 2008+ with at least PowerShell 3.0 (recommended 4.0) and .Net Framework 4 and depends on the installation…

SCCM 2012: Application Catalog and Migration

Hi All, last week, i was helping a customer with their migration from SCCM 2012 R2 to SCCM 2012 R2 CU4. There were already many things that had happen, collection migration, etc.. but the consultant that was performing the migration, wasn’t able to finish the job, so, i was called in. During the migration, we migrated couple of clients to test the migration script/GPO and we noticed the application catalog (probably the most used feature for them) wasn’t returning any result, however, when my user was logged on, i was able to see the applications that were deployed to “All users” collection. Looking at the logs, i saw on the policy logs, that the user policy was always with “0” assignments and so, it was not bringing anything to the Application Catalog. I tried to reset the policy, reinstall the client but none of those things worked. Looking further, on…

Becoming a SCCM automation hero: SCCM & PowerShell automation course

Hi all Are you looking to be the SCCM automation hero? Look no further with my SCCM & PowerShell automation course I’ll be delivering a 3 days online course next July. The next course is scheduled to happen on 08, 09 and 10 July 2015 In this class, you’ll learn how to use Windows PowerShell to automate the deployment and management of a SCCM 2012 R2 environment What you’ll see/learn* – Overview of Automation, PowerShell and WMI – PowerShell, the basics – Tools & Resources – Deploying and Managing sites – Deploying and managing site system roles – Administrative Tasks – Assets and Compliance Tasks – Software Library Tasks – Console Extension – custom scripts and custom forms – Client Management (including Remote Management) *it may be subject to change During this course, you’ll have remote access to a lab environment where you will be able to learn while using….

SCCM 2012 – Add-CMDeploymentTypeGlobalCondition

Hi All, when i was preparing the presentation for the thedesktopteam workshop day last year (http://thedesktopteam.com/blog/raphael/workshop-day-5th-april-2014-london/), i created few scripts to add requirements to a existing application/deployment type. by the time, i tought that this was too advanced for what i wanted to deliver on that workshop and because work related stuff, i never had a change to publish it. Few days back, i was speaking with Rick and he told me that it was impossible to achieve some of the requirements via script/powershell and i said it was possible and i had a script for it. what he was trying to do is to add a OS requiement for an application. to clarify my answer, the ConfigMgr console is also a “script” language. of course, it probably uses c# or c++, but it is a compiled script, so if they can, any other scripting language also can do, we…

System Center 2012 R2 Configuration Manager: Automation from Zero to Hero book is out

Hi All, Over the past few months I have been busy writing my new book about System Center 2012 R2 Configuration Manager and PowerShell called System Center 2012 R2 Configuration Manager: Automation from Zero to Hero. Today, I would like to let you know that it is now available as e-book via RFLSystems.co.uk website (http://bit.ly/1EsS4OG), as paperback via Amazon UK (http://amzn.to/1F6psrK), Amazon US (http://amzn.to/1AVV3bL) and Amazon DE (http://amzn.to/1cvNene) while other Amazon’s website should be available soon. For most Configuration Manager administrators, the Configuration Manager console is more than sufficient to perform the necessary operations. However you are limited to what the console is designed to handle. For more complex tasks, or those that might extend beyond the scope of the console, you need an alternative. This book is packet with real-world scripts that have proven to save time when automation day-to-day tasks in a Configuration Manager environment. What will you…

System Center 2012 R2 Configuration Manager Dashboard

Hi All, Today I’m pleased to inform that the beta version of the System Center 2012 R2 Configuration Manager Dashboard (CM12R2Dashboard) has been released. Overview The System Center 2012 R2 Configuration Manager Dashboard (CM12R2Dashboard) enables SCCM administrators and support team to monitor SCCM environment to take the right decision at the right time. It can provide status on client activity, client health, deployments, content status and much more and has been designed to provide clear information to support teams, SCCM administrators and managers. The CM12R2Dashboard is totally customizable allowing it to show the information that is required by the customer. It can determine, based on customized parameters, when the information is in a Warning or Critical states by changing the information background colour. It can run on Windows 7+ and Windows 2008+ with at least PowerShell 3.0 (recommended 4.0) and .Net Framework 4 and depends on the installation of the…

SCCM 2012-Find TS Reference without AutoInstall settings

Hi All, it is a common problem when using OSD to install apps, to forget to select the “Allow this program to be installed from the Install Software task sequence without being advertised” application setting. same for the packages/programs, where people forget to select the “Allow this program to be installed from the Install Package task sequence without being deployed” on the program settings. When this happen, you will normally see the Task Sequence failing with error 0x80004005 and looking at the logs, you’ll see No matching policy assignments received. Policy download failed, hr=0x80004005 When this happen, you need to enable the setting and start it again, but you easily lost couple of hours doing it already. Microsoft has a good blog post on how to enable it here, however, it does not show you what apps or packages/program you need to change. So i created a simple (and dirty)…

SCCM 2012 – Powershell for Creating iOS Store Apps

Hi All, Have you ever need an application/dt based on an iTunes link? if yes, you know how time consuming it is and the experience is not great. Based on this, i’ve created this powershell that will, from a itunes link, identify the name of the application, publisher, category and create a new application (if needed) as well as a new deployment type called iOS, also if needed. to use this powershell, you need to pass the sdkserver and the sitecode as well as a text file with the iTunes links (1 per line) the text file should look like the following: https://itunes.apple.com/gb/app/microsoft-word/id586447913?mt=8 https://itunes.apple.com/gb/app/microsoft-powerpoint/id586449534?mt=8 https://itunes.apple.com/gb/app/microsoft-excel/id586683407?mt=8 the command line would look like: .\ImportiTunesApplication.ps1 -sdkserver “SRV0007” -sitecode “CLC” -filename “c:\temp\ituneslist.txt” at the end, you’ll see all apps being created