By Garth Jones The other day a good friend of mine, Sherry Kissinger, created a method to inventory PowerShell (PoSH) with System Center 2012 Configuration Manager (CM12) and System Center Configuration Manager 2007 (CM07). I tested it out on CM12 and found that it worked great! However, it needed some reports, so I created some as a companion to her blog post. These reports were tested on CM12, but they should also work on CM07. The reports are titled as follows and they drill through from top to bottom: · PowerShell Dashboard · List of PCs by PowerShell Version · PowerShell Computer Details Prior to downloading the reports, you will need to read Sherry’s blog post and implement the mof edits. https://myitforum.com/myitforumwp/2013/12/31/configmgr-inventory-of-powershell-versions/ After y...
During my session today at the ConfigMgr User Group in Zurich / CH I demoed a little Powershell function which will output all the Collection Names a device is a member of. Unfortunately, this cannot be done by default from the Admin Console. I know there are Console extensions doing EXACTLY the same, but I know of people who don’t want to install any extensions not made available by the vendor. This is why I wrote this little snippet which in turn can easily be turned into a function. 1: $ResID = (Get-CMDevice -Name "CLTwin7").ResourceID 2: $Collections = (Get-WmiObject -Class sms_fullcollectionmembership -Namespace rootsmssite_HQ1 -Filter "ResourceID = '$($ResID)'").CollectionID 3: foreach ($Collection … Continue reading →
ConfigMgr User Group session slides For all of those who attended my session (or those who didn’t), here are the slides for my “ConfigMgr 2012 R2 & Powershell – Tips & Tricks & Tools”. For all those interested, I also attached a demo document created by my Inventory script. I talked a lot more than just what is on the slides, but if you weren’t there, you missed that Thanks everybody for this great day in Zurich (which actually isn’t the Swiss Capital!) Download:
In troubleshooting some ConfigMgr 2012 R2 web service point configuration problems in my home environment, I was having real problems trying to locate the install status of IIS6 Metabase and Compatibility components within the Server Manager GUI. Ultimately I turned to PowerShell to get the answer I needed. (in fact, I’m still trying to find […]
A few days ago I was asked how one could rename a lot of Folders in the Configuration Manager Admin Console. ConfigMgr Powershell cmdlets Folders are a bit neglected by Microsoft. They can’t be used for Security stuff, scoping or anything else besides putting stuff there. That said you can’t create Folders via the built-in Powershell cmdlets, you can’t move them or delete them, so you can’t rename them. For all this you still need to use WMI! I said it again Here are two of my previous posts showing what you can do: How to create Folders in ConfigMgr 2012 Delete Folder Structure in ConfigMgr 2012 This article here … Continue reading →
As is often with scripting, automation and tool making, we find ourselves needing to ensure we have a stable (wired) network connection before performing certain tasks on a system. Whether it be for automating a domain join or simply copying a large file, ensuring you have that hard-wired connection can be critical. After researching the internet and interrogating WMI on a few different test systems, I concluded that leveraging the Win32_NetworkAdapterConfiguration class was going to be my best option. In one line of code we can get a collection of all hard-wired network connections on a system. Read the full post
This article I planned on writing for some time now (as a lot of others) but didn’t find the time yet. The topic itself isn’t new, it’s the solution that’s cool (although itself also not too new). Install Applications according to dynamic variable list There is more than one way of how you can install applications (and packages) during a Task Sequence and each of them has its pros and cons. There is the “Install Application” step which lets you chose the applications you want to have installed: This is really easy, as long as you don’t want to install more than nine (9) applications in one step. The tenth … Continue reading →