Set up a SCCM test environment in no time!
If you need a full blown Test environment, here is how to set that up in no time at all
If you need a full blown Test environment, here is how to set that up in no time at all
You may have noticed that it sometimes take quite some time to delete a virtual machine from within the Hyper-V console. It can take hours in some cases. This happens if the virtual machine has snapshots and it is by design. What actually happens when you delete the virtual machine is that the snapshot(s) is being merge into the VHD file and then the virtual machine is deleted from the Hyper-V console. I have created a virtual machine and installed Windows Server 2008 R2. It is just a basic install. After the install I created a snapshot while the virtual [...]
This post show how to do a list of all package structure in ConfigMgr 2007, via standard PowerShell.
Now its time to use a vbs script to ensure that all services are stopped and started in the correct way – so if any services are dependent on other they will be restated as well. First Create a new task from your Console: Let it be an Agent Tasks and Remember the Management Pack: Give it a Name and a Target like this: Add a Parameter – either your Service shortname or a text like this: Press [OK] and [Create]. Choose a server and [Restart a Services and its dependencies] When running te task you need to create a [...]
If you need to restart a service with a Task, you can create a Task like this: Use either a command file or an vbs script – this sample shows using a command shell file with this content: And at the end you could run it from your Computer State View.
Have you ever thought on creating Alerts directly from a mail? Or Send a mail to your OpsMgr to raise an alert in your Operations Manager? A few weeks ago I was talking with a guy participating on one of the Advanced OpsMgr courses, his existing monitoring environment currently delivered an mail to a group mailbox in which they used to react and resolve issues from a Nagios/IPMonitor installation. But what he really would like to was gather all issues in the Operation Manager Console, after a quick talk with Jakob Svendsen https://blog.ctglobalservices.com/jgs/outlook-2010-auto-export-body-of-new-e-mails/ he came up with a “How To” [...]
In Configuration Manager 2007 most of the client agents settings you can configure are site wide except for a few such as Policy Polling interval and restart settings. These two can be configure on a collection basis – but that is it. But here comes Configuration Manager 2012 to the rescue – You can now create Custom Client Settings and assign them to a collection. The Default Client Agent Settings are applied across the network and are site wide in nature. You simply select the settings you want in your “custom settings object” by ticking the checkbox next to [...]
If you are one of the guys who unfortunately live in other countries than an english spoken one – you could have problems with defining your SLA on e.g. a distributed application. But try to Log in on your RMS with the service account and change regional setting to your locale, and then you should be able to define SLA with commas…. ,,,, Have a great day…
Need to see all your Agents and the Install date / time – run this query – or download the report and import it. SELECT Path, InstallTime FROM BaseManagedEntity INNER JOIN MT_HealthService ON BaseManagedEntity.BaseManagedEntityID = MT_HealthService.BaseManagedEntityId Where InstallTime > ‘2009-21-02’ And a Report file, if you want to deliver your Operations Manager Administrators the nice view: [download id="33" format="1"]
There may be too many steps in the task sequence Error caused by faulty MDT integration
The PXE Service Point is no longer a separate site system role in Configuration Manager 2012. Instead it is a function of the Distribution Point Role. In the Distribution Point Role Properties, you can find the PXE tab and you have the same configuration options as you did in Configuration Manager 2007 You can configure/setup the PXE Service Point in Configuration Manager 2012 in the following ways: Select the Enable PXE service point as per the above screen shot When you install/setup a Distibution Point you will have the option of enabling the PXE Service Point Note: You will [...]
Have you ever tried to create a command as a Notification Channel in OpsMgr 2007? – Normally you would expect it to use the Notification Account Profile since this is the account which have been designed for this, and this account is sure doing the job on Instant Messenger and SMTP – But when you configure a Command Channel and run a command; it will run as Local System and as so the computeraccount – So if you try to call a command on another machine like when using Sysman with a modem on another machine – remember to include [...]
When I am developing new script, I usually use VBScript (or powershell but that’s another story). but sometimes I already have some old functions written in JScript, that I need to use in my VBScript. This article shows you how to do it.
As you might already know, there are a lot of nice changes in Configuration Manager 2012. As part of a site server installation Configuration Manager will generate a file called ConfigMgrAutoSave.ini and store that in the %temp% folder. This file can be used to perform a scripted installation. If you want to perform a scripted installation perform these steps: Navigate to <ConfigMgr Install source\SMSSetup\Bin\X64\ Type setupwpf.exe /script L:\Labfiles\Install\PS1Script\ConfigMgrAutoSave.ini (Notice that setupwpf.exe will not perform basic checking for .Net those components must be present otherwise it will fail. The scripted installation can also be performed by running setup.exe – thanks Johan). [...]
Loging in as Administrator without knowing the name of the computer.
There is no Configuration Manager toolkit (yet). As with the previous versions of Configuration Manager and SMS you need a good log reader - unless you go the “Wally style” and use Notepad Configuration Manager 2012 Trace32.exe will ship with the product and can be found on the DVD in the Tools folder. Happy reading and look forward to see brand new friends in CM2012 like
Dear Kent Agerlund, Congratulations! We are pleased to present you with the 2011 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in System Center Configuration Manager technical communities during the past year. And Yes, I know it’s April 1st.
If you like I have a demo environment with no Internet connection then you are also required to download the Configuration Manager 2012 prerequisites file prior to starting the installation. Open a command prompt with administrative permissions Navigate to .\Configuration Manager 2012 Install source\smssetup\bin\X64 Run SetupDL.exe target dir (in my example SetupDL.exe D:\CM2012DL The total download size is 192 mb. and the total number of files is 14 with SQL Express and .Net Framework 4.0 being the largest files.
[download id="32"] This week a customer contacted us, claiming that the tool did not work on sundays! I thought that was pretty strange, so I asked for log file/event log messages, and it was true. It did fail! It was even “Kernelbase.dll” or “kernel32.dll” that was throwing the exception! I tested it on our test environment, and got the same errors.! I turned out to be an old Visual Basic function, that is used to retrieve the name of the current day, that was failing on sundays. This new version has an updated logfile writer, which writes the correct format [...]
This macro is made for a opsmgr management pack, soon to be published on this blog. It is written in VBA in outlook 2010 (could work in other version too, but it is not tested). It shows how to create a macro function, that is usable in a rule. 1. Enable Developer Ribbon to be able to create scripts 2. Open visual Basic 3. Select “ThisOutlookSession” 4. Type/ this Sub into Visual Basic. Changed the strExportPath to the folder you want to use. Sub SaveMessageOnRule(Item As Outlook.MailItem) Dim strExportPath As String strExportPath = "C:\Temp\Mails\" Dim FileName As String FileName = [...]
Here at MMS 2001 day 1, I have had the pleasure of attending two great SCUP 2011 session. From my test drive I have made my personal top list of new and improved features. 1. Performance a. The application has undergone a major improvement when it comes to performance. Where it could take 10-15 minutes to load some of the larger catalogs in SCUP 4.5 the same process today takes less than a minute. 2. New UI a. The admin UI has moved away from the MMC (big applause) and is now built to look like the other [...]
If you need to change the Resolution State when a new Alert appears, or change the status of an alert from a specific source or a given period of time, it could be done with a script. The script will be called by creating a Notification. Often you specify a SMTP, SMS or IM as a Channel but lets instead call a script – In this sample I will use a Powershell script to change new alerts Resolution state to the “Print Guys”. Lets start with creating a Command Notification Channel - Give it a name like this one: Start [...]
Using the OSDinjection.xml to customize the Config.Mgr Bootmedia upon updating DP!
Using usmtutils.exe to make sure the hardlink store is removed after succesfull restore.