Helpforsure

Microsoft Windows Experts

Windows Performance Monitoring Concepts | Perfmon January 26, 2011


In analyzing the performance of a particular computer system with a given workload, we need to measure the following:

  • The capacity of those machines to perform this work
  • The rate at which the machines are currently performing it
  • The time it takes to complete specific tasks

Most computer performance problems can be analyzed in terms of resources, queues, service requests, and response time. This section defines these basic performance measurement concepts. It describes what they mean and how they are related. Two of the key measures of computer capacity are bandwidth and throughput. Bandwidth is a measure of capacity, which is the rate at which work can be completed, where as throughput measures the actual rate at which work requests are completed.

  • How busy the various resources of a computer system get is known as their utilization.
  • How much work each resource can process at its maximum level of utilization is defined as its capacity.
    (more…)
 

Three ways to configure WinRM listeners.


Configure WinRM Listeners through Quick Configure.

1.      Configuration HTTP listener and other actions to enable this machine for remote management:

winrm qc

2.      Configuration HTTPS listener and other actions to enable this machine for remote management:

winrm qc –transport:https (more…)

 

Retrieve Terminal Services Licensing Grace Period Days info via WMI January 25, 2011


Script to retrieve the number of days left in your TS Licensing Grace Period:
strComputer = “.”
Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\CIMV2\TerminalServices”)
‘ Obtain an instance of the the class
‘ using a key property value. (more…)

 

Set Relative Weight in a Terminal Services Session Directory/Broker based Farm via WMI


Script to set a Relative weight value of 100 in a Terminal Services Session Directory/Broker based Farm via a Script:

=========================

Set Relative Weight to a TS Farm

=========================
strComputer = “.”
Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\CIMV2\TerminalServices”)
‘ Obtain an instance of the the class
‘ using a key property value.
Set objShare = objWMIService.Get(“Win32_TSSessionDirectory”) (more…)

 

Howto: Backup Application/System Event logs via WMI Queries

Filed under: Scripts — helpforsure @ 5:38 am
Tags: , , , , , , , , ,

The following Visual Basic scripts(WMI) will allow you to take a backup of your Event Viewer .evtx log files by running WMI Queries:

=================================

Backup Application Event Log

=================================

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\CIMV2”)
‘ Obtain an instance of the the class
‘ using a key property value.
Set objShare = objWMIService.Get(“Win32_NTEventlogFile.Name=’C:\Windows\System32\Winevt\Logs\Application.evtx'”) (more…)

 

VMMTrace: Simplified SCVMM Tracing

Filed under: SCVMM — helpforsure @ 5:07 am
Tags: , , , , ,

When SCVMM is not ‘cooperating’ and no amount of digging through event logs, support articles, and forums is helping… it’s time for a trace. (What happened to SCTrace?!? See bottom of this post.)

Don’t think of tracing as a first step. Think of it instead as a solid backup plan. When you’ve made it through these items and still are no closer to resolution you are ready for ‘the trace.’

 

Introduction to the new Sysinternals tool: RAMMap January 23, 2011


RamMap is available from SysInternals at http://technet.microsoft.com/en-us/sysinternals/ff700229.aspx. It allows us to examine detailed memory usage information in a way that is easy accessible.

Each tab has its own wealth of data, but I’ll be focusing on Use Counts and File Summary tab as they offer the information I think most people will be interested in.

Use Counts (more…)