Get Operating System Information

I use the below to obtain information from the win32_operatingsystem wmi class.

In this example, we retrieve the date the operating system was installed.

Get-WmiObject -class Win32_OperatingSystem | Select-Object __SERVER,@{label='InstallDate';expression={$_.ConvertToDateTime($_.InstallDate)}}

To obtain different information, just change the InstallDate to the appropriate column.

Tip: Add the -computer <computername> parameter after Win32_OperatingSystem to get information from a remote system.

Install TSM/Tivoli Service on a Microsoft Cluster

Use this to install a TSM service  on a Microsoft cluster.

dsmcutil install SCHEDuler /name:"tsm" /clientdir:"c:\Program Files\tivoli\tsm\baclient" /optfile:x:\dsm.opt /node:TSMNODE /password:TSMNODEPASS /validate:yes /autostart:yes /startnow:yes /clusternode:yes /clustername:MSCLUSTERNAME

The above will install a service named tsm on the current active node of the MS Cluster instance. The opt file is on the x drive, the Tivoli node name is TSMNODE and uses the TSMNODEPASS

The system is expected to be part of a cluster and the cluster name is MSCLUSTERNAME.

Change System and Secure Transport Settings

Below is the process used to change the ip, interface and Tumbleweed (Secure Transport v5.1) settings to move server to new location.

It even includes the timeline.

It is expected that the new interface is setup prior to this process.


Modified /etc/sysconfig/network-scripts/ifcfg-em2, change “DEFROUTE=no” to “DEFROUTE=yes”.
Modified /etc/sysconfig/network-scripts/ifcfg-em1, change “DEFROUTE=yes” to “DEFROUTE=no”.
ifdown em2 && ifup em2 && ifdown em1

Modified /etc/hosts and commented out old ip, added new ip


Changed Setup->Allowed Server to new ip


I am unable to ping between edge and server. Dropped local firewalls and still unable to ping.

Noticed that firewall is natting to default hide.

Adding identity nat to ensure ip stays as internal when connecting to yyy.yyy.yyy.yyy.


Identity nat worked to correct the issue.

Old st2 ip. == ppp.ppp.ppp.ppp

Running Logman

Logman create counter LOGNAME -u DOMAIN\USERNAME * -f bincirc -v mmddhhmm -max 300 -c "\\SERVERNAME\LogicalDisk(*)\*" "\\SERVERNAME\Memory\*" "\\SERVERNAME\Network Interface(*)\*" "\\SERVERNAME\Paging File(*)\*" "\\SERVERNAME\PhysicalDisk(*)\*" "\\SERVERNAME\Process(*)\*" "\\SERVERNAME\Redirector\*" "\\SERVERNAME\Server\*" "\\SERVERNAME\System\*" "\\SERVERNAME\Terminal Services\*" "\\SERVERNAME\Processor(*)\*" "\\SERVERNAME\Cache\*" -si 00:01:00



  • LOGNAME, the name assigned to the counter, use this to start and stop the collection
  • DOMAIN\USERNAME, well Duh??
  • SERVERNAME, the server from which data is collected.

The above will collect data on the specified SERVERNAME. I was given this by the Microsoft Support Performance Team for an issue that was occurring, so I would think it would be a good starting point.