by Sitaram Pamarthi on September 13, 2012

  • Script to configure static ports on Exchange Server 2010 : (click here)
  • Preparing your network diagram? Use Vision stencils from Cisco for rich look and proper representation of devices (click here)
  • DHCP Alternate Configuration PowerShell Module : (click here)
  • Here’s how Samsung flew bloggers halfway around the world, then threatened to leave them there (click here)
  • Got my copy! FREE eBook updated for RTM – Introducing Windows Server 2012 (click here)

System administrators depend a lot on WMI objects to query various information from local or remote computers. That means if any of the WMI query is taking long time or never ending, the automatons placed by System administrator may fail. I ran into same situation yesterday. Query against a WMI Class(given by third party application) [...]

{ 0 comments }

I have seen many complaining that message recall is not working as expected in their environments. I too often receive queries related to it. Today one of my colleague asked me whether the message recall that she/he did will work for sure or not. My answer is “YES/NO/MAYBE”. Because I never seen it working in [...]

{ 0 comments }

Pstip# Get Drive letter from a path

March 28, 2013

When working with paths it is often required to find out the drive letter of of a path. I generally do this using Dotnet methods, but just realized that PowerShell has a buil-in way to do this. The Split-Path cmdlet can help you doing this. Look at the before sample code. function Get-DriveLetterFromPath { [cmdletbinding()] [...]

Read the full article →

Enable or Disable OU protection in Active Directory Using Powershell

March 27, 2013

In this post, I will show you how to use Powershell for enabling or disabling OU protection in Active Directory. In my last post, we have seen how to query Organization Units in Active Directory that has protection enabled. Now we will see how to enable or disable this protection option using PowerShell. As I [...]

Read the full article →

Find/query protected OUs in Active Directory using Powershell

March 27, 2013

In this post, I will show you how to find list of Organization Units(OUs) in Active Directory that has protection enabled on them using Powershell We know that, Active Directory now has built-in protection for Organization Units to prevent accidental deletions. This helps in unnecessary loss of data and saves the time that one need [...]

Read the full article →

Change HP ILO User password using PowerShell

March 13, 2013

In this post, I will take you through a PowerShell script that helps in setting up the password for HP Integrated Lights-Out (ILO) console. All these years, I was under kind of wrong impression that HP ILO can be managed via web console and a few utilities given by HP. Today I realized that it [...]

Read the full article →

Change Drive letter of CD Drive using Powershell

March 12, 2013

In my previous post, I talked about how to query CD ROM Drive letter using PowerShell. In this post, I will show you how to change the drive letter of CD Drive in remote computers. This will come handy when you want to assign a specific drive letter to CD ROM drive. In the below [...]

Read the full article →

Find drive letter of CD Drive using Powershell

March 11, 2013

Do you ever wanted to know if a remote computer is having CD drive attached to it? or drive letter of CD drive on remote computer? I got similar requirement today and came with below method after some research. There is a WMI class named Win32_CDROMDrive in Windows which stores the details of CD ROM [...]

Read the full article →

Pstip# Quick way to check if a OU exists in Active Directory

March 10, 2013

While working on some PS stuff today related to active directory, I came across a need to verify if the given OU(Organization Unit) exists or not. Basically, I am taking OU as input to one of my scripts and would like to validate if that OU exists before doing any processing.  After a little bit [...]

Read the full article →

Enable debug logging on Citrix XenDesktop VDI agent

March 1, 2013

For troubleshooting weird issues, we need debug logging to be enabled at VM side in a Citrix XenDesktop VDI environment. This article explains how to enable this debug logging. Find WorkstationAgent.exe.config in C:\Program Files\Citrix\Virtual Desktop Agent folder and edit it Take a back of workstationagent.exe.config file. We can revert to this if something screwed up. [...]

Read the full article →