Tag Archives: “SBS 2011”

Which Printer Driver – PostScript (PS) or PCL [How About Both!]

Printers are probably the biggest source of problems for most IT Admins.  Paper jams, low ink, leaky toner and streeky printing are just some of the joys you will often face.  Another common issue is slow or incomplete printing, what’s the answer to this equally common user woe?

Well your in luck because this is one thing you may be able to ensure is not an ongoing issue for your users.  Most printer manufacturers (i.e. Xerox, Canon and HP) offer Universal Print Drivers (UPDs) to tackle these very issues.

As a rule of thumb PostScript Drivers are best for printing from Adobe applications such as Acrobat (PDF) and/or other complex documents.  PCL Drivers are usually best for priting basic documents, Microsoft Word Documents (doc, docx) and Excel Spreadsheets (xls) to name a few.

You may find it best to install and share your network printer twice, one instance using the PCL Driver and the other using a Postscript (PS) driver.  You then just need to educate your users which printer instance to select from the printer list according to the document type they are dealing with.

Please feel free to comment on your own experiences

Microsoft Exchange 2007 and 2010 – Messages Queued For Delivery Powershell Script

I’ve been getting into Powershell in a big way the past few months and have put together a script to display the number of queued messages on a Microsoft Exchange 2007 or Microsoft Exchange 2010 Server.  Under normal conditions your mail queue should really be empty most of the time so lots of queued messages is indicative of a problem.

 

$GETMQFD = Get-Counter ‘\MSExchangeTransport Queues(*)\Messages Queued For Delivery’

$MQFD = $GETMQFD.CounterSamples |Select-Object CookedValue

If ($MQFD.CookedValue | Where {$_ -eq 0})

{

Write-Host $MQFD.CookedValue Messages Queued for Delivery

}

Else

{

Write-Host “No Messages Queued For Delivery”

}

 

If you are using a Server Monitoring package such as GFI Max Remote Management then you can insert Exit Codes (i.e. Exit 1 or Exit 0).  This is placed after the output (i.e. Write-Host “No Messages Queued For Delivery”) to generate an onscreen error or success if one of the two conditions is met.

How to install Powershell ISE

Do you want to design, develop and test powershell scripts on your Windows Server?

If you are running Microsoft Windows Server 2008 R2 or Microsoft Windows Small Business Server 2011 then you will not be able to “right click” and select “Edit” you can however choose to run the script.

You need the Powershell Integrated Scripting Environment to be able to easily create, edit and debug your powershell scripts.

To install it just open Powershell, usually it is best to do this by “right clicking” your Powershell shortcut and clicking “Run as administrator”.  Once Powershell is open simply paste in the following text and then click “Enter” to start the install process

 

Import-Module ServerManager;Add-WindowsFeature PowerShell-ISE

 

You should now see “Powershell ISE” under Start Menu, Accessories and Windows Powershell.

HP ML110 G5 – SNMP RAID Checks

My first post is going to be about SNMP for the HP ML110 G5 Server, you need to install/configure the Windows SNMP Service and the HP Storage Manager before these OIDs will work.

ML110 G5 – Controller Status = 1.3.6.1.4.1.795.14.1.201.1.1.15.1

Status Codes: 1 = other, 2 = unknown, 3 = ok, 4 = non-critical, 5 = critical, 6 = nonrecoverable

ML110 G5 – Logical Drive Status (Array 1) = 1.3.6.1.4.1.795.14.1.400.1.1.11.1

Status Codes: 1 = other, 2 = unknown, 3 = ok, 4 = non-critical, 5 = critical, 6 = nonrecoverable

ML110 G5 – Logical Drive Status (Array 2) = 1.3.6.1.4.1.795.14.1.400.1.1.11.2

Status Codes: 1 = other, 2 = unknown, 3 = ok, 4 = non-critical, 5 = critical, 6 = nonrecoverable

ML110 G5 – Array Type (Array 1) = 1.3.6.1.4.1.795.14.1.1000.1.1.4.1

Status Codes: 1 = unknown, 2 = other, 3 = raid 0, 4 = raid 1, 10 = raid 10

ML110 G5 – Array Type (Array 2) = 1.3.6.1.4.1.795.14.1.1000.1.1.4.2

Status Codes: 1 = unknown, 2 = other, 3 = raid 0, 4 = raid 1, 10 = raid 10

Hope you find my first post helpful.