Windows 2008 Cluster Quorum Configurations


In Windows Server 2003 cluster, the quorum resource could become the single point of failure as nodes could not function if they can not communicate to the quorum resource. This limit has been removed in Windows Server 2008 cluster, as now it supports 4 quorum modes which are enabled by the newly added ‘Voting Algorithm’. … Continue reading Windows 2008 Cluster Quorum Configurations →

PowerShell: Read Computer Information


Sometimes, I need to check the information of a list of servers. To get it done just in one shot, script is my best choice. Here is a example to check my local machine's info: $Machine = "localhost" $OS = Get-WmiObject -Class Win32_OperatingSystem -ComputerName $Machine $CS = Get-WmiObject -Class Win32_ComputerSystem -ComputerName $Machine $CPU = Get-WmiObject … Continue reading PowerShell: Read Computer Information →

PowerShell: Uninstall Software Remotely


I will need to remove a software from more than 30 Windows 2003 servers once I confirmed it has the memory leaking bug. To make the job easier, I prefer to use script (as always): $app = Get-WmiObject -Class Win32_Product -ComputerName (Get-Content servers.txt) | Where-Object {$_.Name -match "Software Name"} $app.Uninstall() NOTE: 1) Win32_Product WMI class is … Continue reading PowerShell: Uninstall Software Remotely →

PowerShell: Check Service Status


To ensure the Backup Exec Agent service running OK on each cluster nodes. I created a list to include each nodes and named it as CS_servers.txt, then use the following script to get the status of it. Get-WmiObject win32_service -ComputerName (Get-Content CS_servers.txt) -Filter "name='BackupExecAgentAccelerator'" | select __server,name,startmode,state,status The results are like: __SERVER  : CS-node-01 name      … Continue reading PowerShell: Check Service Status →