Random thoughts of a System Center Admin...

Manage it, yeah I can do that...

Month: April 2014

Detection Method for MSU in Applications for SCCM 2012

Taken from: http://msiworld.blogspot.ca/2013/02/detection-method-for-msu-in.html

In SCCM 2012 Applications you can have a detection method set for MSU with KB numbers.

You can use the Powershell or VBScript to do this. Here is an example of both.

Powershell Script:

get-hotfix | Where-Object {$_.HotFixID -match “KB981603”}

VBScript:

‘Returns info if Windows ‘KB981603’  in installed
‘ ———————————————————-‘
Option Explicit

Dim objWMIService, strComputer
strComputer = “.”

‘Run the query
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\\” _
& strComputer & “\root\cimv2”)

Dim QFEs
Dim QFE
Set QFEs = objWMIService.ExecQuery (“Select * from win32_QuickFixEngineering where HotFixID like ‘KB981603′”)
For Each QFE in QFEs
Wscript.echo “Update KB981603 was installed by ” & QFE.InstalledBy & ” on ” & QFE.InstalledOn
Next
WScript.Quit

Managing 32 bit and 64 bit versions of applications using Global Conditions, Requirement Rules and Deployment Types

A great blog on the use of SCCM 2012 Global Conditions

http://sunbehindtheclouds.com/2013/01/10/managing-32-bit-and-64-bit-versions-of-applications-using-global-conditions-requirement-rules-and-deployment-types

Group Policy – Search Site

The ability to search out any built-in GPO Settings…

http://gpsearch.azurewebsites.net

 

BGInfo – Get Hardware Model Script

Putting the Hardware Model in a BGInfo screen should be a built-in field, however for some reason it has been missed.

Continue reading

BGInfo Get IPAddress Script

Whenever asked if I can put the IPAddress on the Desktop using BGInfo the easy answer is “YES” it has a built in IPAddress Field should be able to do what I want.

When you use the Built-In field, you will get a (None) showing up for each of the Adapters that doesn’t have an Active IP Address assigned.  On Modern Laptops this will include WiFi adapters, or if you have a Visualization Solution installed such as Hyper-V or VMWare you will have additional virtual Network Adapters that will show as (None). Continue reading

Microsoft Time Zone Index

Here is a list of all the Time Zone Indexes and Names that you can put into your MDT Rules file.

Continue reading

Move Mouse Script

Over the years I have run into some pretty strange issues with Application installs, but one that to this day still trips me up is with the Citrix Plugin.

The installation seems to “hang” until you move and or click the Mouse.  Seems weird, but true…

So I went online to see if anyone had already slain this beast and found the following: Continue reading

FEP and SCEP Anti-malware Protection Support after OSes Reach End-of-Life

System Center End Point Protection support after OS Reaches End of Life.

http://blogs.technet.com/b/configmgrteam/archive/2014/03/27/fep-and-scep-anti-malware-protection-support-after-oses-reach-end-of-life.aspx

%d bloggers like this: