Wednesday, May 27, 2015

Translate SCOM GUID to hostname

In SCOM RMS Event log, you may receive events that flag issues about a healthservice.
The challenge that SCOM Admins face is that these events merely provide the GUID.
In order for the remediation to be done, what is needed is the exact hostname of the server that is having the issues.

There are 2 ways that this information required can be retrieved.
You can choose either ways and you will still get the information


(Get-MonitoringObject -id 'GUID').DisplayName
If you have access to the SQL Database, you can run the query as below

select DisplayName, Path, basemanagedentityid from basemanagedentity where basemanagedentityid = 'GUID'

Thursday, May 21, 2015

Lync 2013 Client unable to see / add contacts

Encountered an interesting issue in our environment.
There is small pockets of users that encounter an issue of being unable to see existing contacts and add new contacts to their respective Lync clients.
The Lync client version were updated to the latest build of 15.0.4719.1000 but that did not help.
The error that they encountered is "Cannot add,remove or move contacts or groups at this time. Please try again later" as per the screenshot below


Perform the actions below on the Lync client affected

  1. Go to Tools/Options
  2. On the pop up window, select Personal from the list on the right
  3. Change the personal information manager setting to None for at least 30 minutes (This will be based on your active directory replication interval)
  4. Then switch it back to Microsoft Exchange or Microsoft Outlook

Wednesday, April 22, 2015

SCCM MIF File Generator

This VBS will provide you with a mean to generate the NOIDMIF.mif files for SCCM clients based on a pre-populated Excel sheet. It has been shared in the Microsoft Community Gallery and it can be downloaded here.

Output MIF File will be similar to the screenshot below
1) The excelsheet should be populated base don the format below with the Values in Column A to C based on your own information of Ship Date (Aka Purchase Date) and Known Hardware Warranty Date.
The Excel should be named as ServersInventory.xlsx for servers and computersinventory.xlsx for clients.
2) The file should be executed on a machine with Excel installed
3) Modify the struser and strpwd in the vbs to the necessary credentials to enable the MIF files generated to be copied to the target mahcine
How to use
1) Save the excel files and the downloaded vbs file in the same folder
2) Execute the vbs
3) Enter 1 if you populating for servers and 2 if its for workstations/notebooks
4) Enter the OU that you wish to target against
1) A scan will be done on the the specified OU against the information available in the excel sheet.
2) MIF files will be generated and copied for matches found and the machine name will be populated in the excel. (Screenshot as below)