powershell

SCCM Administration Free E-book

Hi All, in the past few months, I have dedicated to update a manual that I have been using on my SCCM courses. This manual is now a free e-book and focus on the step-by-step of the basics administration of an sccm environment, so this is the exercises manual. I still development my own material and delivering many sccm courses based on the material, as you can imagine, the courses I provide the “why” click here and there, so if you’re new to SCCM and want to learn more about it, you will be more than welcome to attend to one of our curses. Check them out at .http://www.rflsystems.co.uk/training/ Anyway, this e-book focus on the basics of the administration. In this e-book you’ll be guided since the creation of the lab (that is based on Windows Server 2012 R2 Hyper-V). And we cover topics like, installing SQL, SCCM, Installing Site…

ConfigMgr HealthCheck toolkit – Beta 04

Hi All, after long, long time, we are happy to announce that the HealthCheck toolkit is once again available for download and we released a new version, beta 04 with some small fixes… What is the System Center Configuration Manager HealthCheck Toolkit? The System Center Configuration Manager HealthCheck Toolkit (CMHealthCheck) has been created to check for problem and/or misconfiguration in the SCCM environment and, when possible, will provide you with some solutions for problems. You can download it for free from: http://www.rflsystems.co.uk/software/healthcheck-toolkit/ how to use it: 1- CollectData.ps1 (This script will collect information from a CM12/R2 Infrastructure). Open the powershell (64 bits) and run with an account that has admin rights on the cm boxes as it will connect remotely to registry, wmi, etc. CollectData.ps1 -smsprovider servername (ie. CollectData.ps1 -smsprovider srv0003) Once it collect data, it will create a CollectData.log under _Logs and will create a Date\servername folder (ie. 2013-12-05\srv0003)…

Automation Backup in a Hyper-v for Small Business/Start up

Hi All, small business and start up’s are always looking for ways to save money. As you should know, small companies they don’t have money to buy fancy products and when people decide to open their business, they have a small amount of money to do some X (this could be buy a PC, server, etc) and keep it running for a couple of months/year without need to invest anymore. When I started RFLSystems while ago, I had the same, a money to start the business and keep it running for some time. in my case, I needed an environment that would be used to do demos to customers as well as running production stuff like CRM, SCCM, File Share, etc. As you can imagine, for me going to cloud was easy, I could add some vm’s, buy services from provides, etc. but, money was a restriction. for me, having…

SCCM-Create wifi profile with password

Hi All, Today I would like to talk about the Wi-Fi profile. SCCM has this great feature that you can manage Wi-Fi profile on all managed computers, make changes, etc, without need for the user to do anything, this is great. however, one of the limitation on a wifi profile is the fact that you cannot set a password when using WAP/WEP. For many large organizations that have a 802.1x or a network where you need to somehow authenticate (certificate, ad username/password, etc), this is not a problem, however, for smaller organizations or organizations that have not implemented this security yet, not having the option to add the password is a pain. i recall that some of the chat i had with some customers where they have deployed the wifi profile and had to e-mail everyone the password, as you can imagine, big security risk… anyway, how can i add…

SCCM-Software Update Compliance taking long time

Hi All, have you ever wonder why the Software Update Compliance takes long time to report the correct date? often that I get this question from a customer that wants to know what the status just after a software update deployment, but when I mean just after, I mean just few minutes. there are lots of things that could cause the status not being showing correctly, like network, etc. that is outside ConfigMgr, but in this post, lets talk about the main one, state messages. When using SCCM 2012/2012 R2, the default detailed level setting when deployment a software update group is to report only success and errors messages. this is quite ok for most environments where you go to the deployment node and check things from there, but you’ll not get the compliance for each update. there are 3 options: all messages, only errors messages and the default one…

SCCM-Windows Update 6.2.x on Windows 10?

Hi All, I have been reviewing a report I did for a customer where all Windows 10 machines were reporting Windows Update Agent 6.2.x. what caused my customer to send few people on few windows 10 machines and try to troubleshoot windows update issues where it did not exist. of course, after couple of hours/day, they realise this was a data issue instead of their environment issue. When I started to review, I looked at my lab and I had the same. Executing a query on fn_rbac_UpdateScanStatus, I saw all my windows 10 machines also reporting Windows Update Agent 6.2.x So something was wrong. but why? 1st step was to check if the files on the client where the correct version. if you want to know where I discovered which file to look, click here. As you can see, the file was with the windows 10 version…so I checked Powershell…

MVP Summit – Hackaton

Hi All, during the MVP Summit, we had a nice work with the Product Team where the MVP group asked some features to be added to the product and that could be coded in a Week and that may be added to the project in a later version (as we hope those will make it) I have to say that we had great projects, in total 10 projects led by MVP’s and coded by Microsoft… Team 1 – Active Have you ever needed to know what machines are active? you need this, they delivered a way to see what machines are online, they integrated with Cortana and etc. I have to say, really great project Team 2 – Wizards Have you ever used the console to do stuff and needed to select the same option over and over? this is the “fix”. It will allow you to save the options…

SCCM-Compliance Setting Script error 0x87d00321

Hi All, When working with Compliance Settings, I normally end up using scripts and often, I get the error 0x87d00321. If you use CMTrace, you’ll see that the error is: The script execution has timed out. Source: System Center Configuration Manager —– Now, we need to understand how it works and how to change. The script timeout information is saved under the class SMS_SCI_ClientComp, Component Name Configuration Management Agent on a lazy property called ScriptExecutionTimeout. The default values is 60, it means that the script will be timed out after 60 seconds of execution. The value, can be seen when using the following powershell script  

  Now the trick part, how to change? As you can imagine, not that trick if you have PowerShell. The script below changes the default 60 seconds to 600 seconds,  

  if you want this behaviour to be changed or have…

SCCM Automation with PowerShell – after the Webinar

Hi All, thanks everyone that joined me on the SCCM Automation with PowerShell – Software Updates Advanced. i hope everyone enjoyed and if you’re not able to view the recording, you can access it clicking here All scripts can be found here, they are in a zip format everyone entered in a draw to win a copy of my e-book PowerShell & SCCM, the winners have already been contacted and given the instructions to get their free book and they are: Jason R., Carlos I., Siddharth S. Thanks everyone, and see you in the next webinar.

W10-Customizing Lock Screen

Hi All, With windows 10, actually, since Windows 8, Microsoft changed the way you could change the Lock screen (or logon screen for some). Today, you can do it via computer GPO(Administrative Template -> Control -> Personalization -> Force a specific default lock screen image). As you can imagine, you need to have the same screen resolution on your environment or you cannot use this setting properly, or you may have many GPO’s, one for each screen resolution that you can get and have WMI filter. As you can imagine, this is probably the worst option as it will be difficult to manage. Anyway, I have created a PowerShell script (below) that will help you. This PowerShell will check the current resolution and copy the correct wallpaper to the correct folder (where the user has rights to write/modify) on each logon. So you always have the latest version for the…