Category Archives: Windows Server 2008 R2
Its all about Windows Server 2008 R2 solutions & tricks…
Export Print Server Queue (Printer Name, Driver, Port, IP Address) to CSV File | How to export Printer | Get Printer queue and port through Script (PS1) | Migrate Windows Print Server
Author: Zahir Hussain Shah, MVP Exchange | CISSP
Export your Print Server Queue Data to CSV
Recently I received a request to export Network Shared Printers queue related data from all our Windows Print Servers located in the different locations, to an MSExcel (CSV) file format, where this request also included vast majority of printer queue related data, including Printer IP Address (Port), Share Name, Location, Driver Version, and etc And when I looked at the native Windows functionalities to provide this information, then I come to know that Windows Server Print Management Console doesnt provide much information, especially for the Port Details (IP Address), which is the essential part of maintaining printer queue related data.
Well after doing some initial research, I came across a wonderful blog post from Christowles, for sharing a PowerShell Script for remotely gathering Printer queue data from Print Server using WMI.
This script will connect to the remote Windows Print Server over WMI protocol, and finds all the locally installed printer queues, and then export the below table filed data to CSV file to the printer script directory:
| NameAvgPagesPerMinute | Caption | Comment | Default | DriverName | JobCountSinceLastReset | Local | Location | Name | Network | PortName | PrinterStatus | PrintJobDataType | PrintProcessor | Shared | ShareName | Status | StatusInfo | SystemName | WorkOffline |
You can download this PowerShell script from my SkyDrive.
Okay, so now lets see how it grabs data remotely from Print Server:
1) Download the Script from my SkyDrive Account.
2) Execute the script from the Windows PowerShell (You can add PowerShell to Windows 7 with Windows 7 Administrative Tools).
3) Upon executing this script, it will ask you for the Server Name, provide the server name, so script will connect remotely to grab all the data for you.
Once data gathering will be done, it will notify you on the PowerShell screen about the exported CSV file in the script directory.
I hope you enjoyed reading this blog post, as it helps a lot to maintain the record about the network shared printers, and at the event of disaster for rebuilding the print server.

Securely Publishing iPhone with Microsoft Exchange Server 2010: Business Integration and Deployment
Book Review: Securely publishing iPhone with Microsoft Exchange Server 2010: Business Integration and Deployment
By Steve Goodman
Recently, I was requested to write a blog review for a book iPhone with Microsoft Exchange Server 2010: Business Integration and Deployment. This book is written by Steve Goodman, and published by Packt Publisher. Being an Exchange geek, after you read the title of this book, it really influences you, and pushes forward towards seeing the contents of the book, where this book doesnt have only the impressive title, but also have great contents for its readers, Steve laid out the content of the book in a pretty nifty way, where he is first explaining the architecture of the solution, and then he goes step by step to and covers all the areas, which are essential to build a secure enterprise level messaging environment for the corporate business users, and its integration with iOS devices (aka smart-phones) for Microsoft ActiveSync protocol.
Reading Steves write ups have always been interesting for me, as you can also find his blog in my blog-rolls area. You can get to know more about Steves community contribution on his blog.
Have you been tasked with getting iPhones into the hands of your business executives, and need to ensure they can reliably and securely access corporate e-mail? This book will teach you what you need to know about getting Exchange 2010 set up and then help you deploy iPhones in a secure and manageable way. Starting with the basics, you’ll learn about what Apple mobile devices have to offer and how they have evolved into devices suitable for business use. If you’re new to Exchange Server 2010, you’ll learn the basics of Microsoft’s world leading messaging suite, before learning how to plan, install, and configure a highly available Exchange
environment. You will also understand how to configure Office 365 and learn how both can be configured to apply policies to iPhone, iPad, and the iPod Touch. You’ll also learn how to configure advanced features, such as certificate authentication, how to create and deploy configuration profiles for devices, and how to manage your devices once they are in the hands of your users.
After reading this book, you will be confident about introducing Apple mobile devices into your organization.
Now lets go back to the book review, and let me break it in pieces:
Who this book is for:
This book is aimed at system administrators who don’t necessarily know about Exchange Server 2010 or ActiveSync-based mobile devices. A basic level of knowledge around Windows Servers is expected, and knowledge of smartphones and email systems in general will make some topics a little easier. Experienced Exchange Server 2010 administrators will gain most value from chapter five onwards, as these chapters build upon a working Exchange 2010 organization.
This book will walk you through from the basic of the technology towards the building an Exchange Server 2010 Messaging Infrastructure, and then will slowly move ahead with provisioning, integrating and deploying iOS based client devices (smart-phones) and their business collaboration feature management.
I thought it would be nice, if I can provide some information about the contents of the book, below is the list of the core domains, which will be discussed in his book.
Chapter 1, Introduction to iPhone with Exchange Server 2010 introduces the Apple mobile device range and Exchange Server 2010 starting with the fundamentals and explaining the concepts used in later chapters.
Chapter 2, Architecture and Implementation Planning covers planning the architecture that you will need in place for Exchange Server. You’ll learn about the individual Exchange Server roles and how to plan your underlying infrastructure so it not only allows Apple mobile devices to connect, but meets the needs of your company.
Chapter 3, Exchange Server Configuration for iOS Connectivity follows on from the planning in the previous chapter to walk through the process of installing and configuring a highly available Exchange infrastructure that Apple mobile devices, amongst others, can connect to.
Chapter 4, Office 365 Configuration for iOS Connectivity looks at an alternative approach to configuring and running Exchange Server, by using Microsoft’s Office 365. We’ll see how this simplifies the implementation process and still allows us to connect and manage Apple mobile devices.
Chapter 5, Creating and Enforcing Policies explores how Exchange Server allows us to control end-user devices, from restricting the features that can be used on Apple mobile devices to ensuring only allowed devices can connect to your Exchange infrastructure.
Chapter 6, Configuring Certificate Based Authentication in Exchange Server 2010 walks through how to configure and manage a small public key infrastructure aimed at improving the security of your Exchange environment through the use of user
certificates on Apple mobile devices.
Chapter 7, Provisioning iOS Client Devices introduces the iPhone Configuration Utility, the Apple tool specifically aimed at controlling Apple mobile device features and configuration, along with exploring the methods available to deploy profiles to mobile devices.
Chapter 8, Sharing Mailboxes and Calendars covers a variety of methods that allow you to overcome Exchange limitations for access to shared mailboxes from clients other than Outlook and how to configure advanced features in Exchange Server 2010 allowing users to share individual calendars in a way compatible Apple mobile devices.
Chapter 9, iOS Client Device Management the final chapter, explores the ongoing management tasks associated with a mobile device estate along with how to perform common troubleshooting and auditing tasks.
Few links:
Buy your copy of this book at Packt Publishing website.
I hope you enjoyed reading this review, and will find this book interesting.
Cheers!

Microsoft Exchange Server Mailbox Database LUNs are running out of disk space with hidden data | Delete System Volume Information (Disk Shadow) | Free-up Exchange Server Mailbox Database LUN (Disk ) | How Delete Shadow Copies
Author: Zahir Hussain Shah, MVP Exchange Server, CISSP
Recently, I saw a situation, where on the Exchange Server 2010 Mailbox Database LUNs (Disks) are running out of free-disk space, and upon inspection, we found that other than Mailbox Database and Logs folder, there is some hidden data, which is consuming the free-disk space, and it is not seen able, so I got to recall the Disk Shadows problem, for which I wrote an article (Exchange 2010 VMs on Hyper-V Server are stopped due to unavailability of free disk space | Hyper-V Server is running out of free disk space on the Server) in past, where using VSS based Backup tool is failing to delete the VSS snapshot files from the disk (volume), after successful or unsuccessful backup jobs.
Okay, so what is happening here, we will see in the following section:
Problem / Cause:
When you use VSS based backup tools, like Symantec Veritas NetBackup, which uses VSS to take the snapshot (backup) of the required data, and where sometimes due unsuccessful backup jobs, and file locking (antivirus cause) problem, in some circumstances, VSS backup tool / VSS Service fails to delete the temporary files from the Disk (LUN), or in other words, you can say that due to the failed backup jobs, VSS creates the snapshot temporary files in the DISK, and which over the time eats your available free disk space.
Symptoms:
If you want to see how these files look like, you can go to the drive, e.g. E:\ make sure the hidden files are unchecked, open System Volume Information, and there you will see all these temporary created files, like <99898-8888-xxxx-xxxx>.
Solution:
For bring this consumed free disk space, lets do the following for removing these Volume Shadow copies:
1) Open CMD with RUN AS ADMINISTRATOR
2) First list the available generated shadow copies by running the below command:
DISKSHADOW
Since now you are on DISKSHADOW prompt at command prompt, lets list all the available shadow copies by running the below command from the DISKSHADOW prompt:
LIST SHADOWS ALL
Upon running the LIST SHADOWS ALL command, you will see all the shadow copies, so then you can run the below command from the same DISKSHADOW command prompt for deleting these shadow copies:
DELETE SHADOWS ALL
And now you can go back to Windows Explorer, and can evaluate your available free disk space, and will glad to see that all your hidden consumed disk space is back now.
I hope this will resolve your problem, and will help to stay relax from being tense to see your Hyper-V Servers (or any Server) physical disk free space getting consumed by hidden stuff.
Cheers!

Microsoft System Center 2012 Training | Cloud Computing Training | SCVMM 2012 | Hyper-V Training | Hyper-V Cloud Computing | Microsoft Private Cloud
Author: Zahir Hussain Shah | MVP Exchange Server, CISSP

Take a Cloud Journey, and Build your Career with Cloud Computing expertise!
In the month of January, 2012, I posted a blog article, in which I shared Step by Step Video Training for Building Microsoft Windows Server 2008 R2 Failover Cluster for Microsoft Hyper-V High Availability with Cluster Shared Volumes, this blog post provided a tremendous amount of information for building the Hyper-V Cluster on Windows Server 2008 R2 for making your VM work-loads Highly Available, which is a first-step for going forward with Cloud Computing, because Cloud Computing has always been expressed as a Journey, because it is not a product, which you just install in your network, and thats it, you have Cloud Computing now, but instead of this Cloud Computing is a world of Virtualization, Building Processes, Automation, providing Self-Service experience to your end-users, and efficiently using your computing resources, wherever and whenever you need them to provide different types of Cloud solutions with economics to your customers.
So without further putting texts here, lets directly jump straight towards the training, which will provide you end to end knowledge for building and running Microsoft Private / Public Cloud Computing solutions for you and your customers environment.
Recently, Microsoft arranged a online Microsoft Cloud Computing Jump-Start boot-camp, which took placed on Feb. 21-22, 2012, where the tons of tremendous knowledge transfer session conducted for Microsoft System Center 2012 family and Microsoft Cloud Computing offerings.
You can download or can watch all these sessions recording as follows:
Private Cloud Jump Start (01): Introduction to the Microsoft Private Cloud with System Center 2012
Private Cloud Jump Start (02): Configure & Deploy Infrastructure Components
Private Cloud Jump Start (03): Configure & Deploy the Private Cloud Infrastructure
Private Cloud Jump Start (04): Configure & Deploy Service Delivery & Automation
Private Cloud Jump Start (05): Configure & Deploy Application Management
Private Cloud Jump Start (06): Monitor & Operate Infrastructure Components
Private Cloud Jump Start (07): Monitor & Operate the Private Cloud Infrastructure
Private Cloud Jump Start (08): Monitor & Operate Service Delivery & Automation
Private Cloud Jump Start (09): Monitor & Operate Application Management
If you enjoy a 100-level strategic overview of the cloud, consider checking out this Cloud 101 Jump Start on March 13, 2012.
Let’s embrace the “Cloud”!
















