Getting Dell Service Tag (Serial Number) using WMI

For Each strComputer In wscript.Arguments
 Set objWMIService = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2″)
 Set colSMBIOS = objWMIService.ExecQuery _ (“Select * from Win32_SystemEnclosure”)
 For Each objSMBIOS in colSMBIOS
  Wscript.Echo strComputer & “: ” & objSMBIOS.SerialNumber
 Next
Next

SCOM 2012: Turn on (…and view a log) Network Discovery debug mode

Edit discovery.conf in “C:\Program Files\System Center Operations Manager 2012\Server\NetworkMonitoring\conf\discovery” location:
Remove “#” before “DebugEnabled = TRUE”.
Add line “LogDiscoveryProgress = TRUE” below the DebugEnabled = TRUE.

Restart the Health service on management server.

Run network discovery. Wait for to complete.

Read log “ManagementServer-FQDN.log” from location c:\temp on the Management Server…

 

 

Ports Used in System Center 2012 Operations Manager

  • Operations console to management server: TCP 5724
  • Operations console to Reporting server: TCP 80
  • Web console to web console server: selected web site port
  • Agent to management server: TCP 5723
  • ACS forwarder to ACS collector: TCP 51909
  • Agentless management: occurs over remote procedure call
  • Management server to UNIX\Linux computer: TCP 1270
  • Management server to UNIX\Linux computer for special discovery and troubleshooting: TCP 22

Prerequisites in IIS for installing the SCOM 2012 Web Console

Web Server (IIS) role with the follow server role services:
(http://technet.microsoft.com/en-us/library/hh205990.aspx#BKMK_RBF_WebConsole)

Static Content
Default Document
Directory Browsing
HTTP Errors
HTTP Logging
Request Monitor
Request Filtering
Static Content Compression
Web Server (IIS) Support
IIS 6 Metabase Compatibility
ASP.NET
Windows Authentication

If you already installed .net 4.0 then you will need to run this command to register IIS with .net 4.0

c:\windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r

Time Synchronization and Domain Controller VM’s

To partially disable the Hyper-V time synchronization provider, leave Time synchronization enabled under Integration Services and run the following command from an elevated command prompt on the guest domain controller:

reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider /v Enabled /t reg_dword /d 0 

It is important to ensure that your host machine is syncing with a reliable time service to avoid any time skews.

Read