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)

As you might already aware, PowerShell v5 preview is out and like any other powershell enthusiasts, I want to understand what is special in this release. I hunt for features list is going on and I will keep this post updated as I progress with my findings. PowerShell V5 preview is released on 3rd April […]

{ 0 comments }

Microsoft released PowerShell v5 Preview yesterday. I did quick search on internet about what is special about this release. Though I couldn’t find any exiting articles, the one that grabbed my attention is OneGet module. What is OneGet module and what it has? Get-Command -Module oneget So basically, it is a module that allows packaged […]

{ 0 comments }

PowerShell : Query WSUS Server Database(SUSDB) Details

April 3, 2014

Today I got some requirement to verify the database name and DB server details of WSUS servers. This configuration is available inside HKLM\Software\Microsoft\Update Services\Server\Setup registry key of each WSUS server. So, I can query this registry value to find out what is the name of WSUS DB and DB server. But out of curiosity, I […]

Read the full article →

PowerShell: How to get exit code of a process

March 31, 2014

While working on a script that does file copy using Robocopy utility, I had the need to capture the exit code from the process I started. I relied on System.Diagnostics.Process dotnet class to start the copy operation using robocopy because it gives me an option to get the return code after the process completion. So […]

Read the full article →

PowerShell: Find applications in “Not Responding” state in Task manager

March 30, 2014

A application can go unresponsive because of various reasons. Until, we identify and kill such applications, the system hands and creates log of inconvenience to the user. Such applications also consume resources and make system unstable. So, let us see how to identify the not responding applications in a computer. When I say “Not Responding”, […]

Read the full article →

Powershell: Find Services that failed to start after server reboot

March 28, 2014

Whenever a server reboot is performed, a big question comes into mind is, “All services started properly”? Let us discuss this topic a bit more in this post. Normal approach to verify services status after server restart is looking for automatic status and their current state(start/stop). While this is good for Operating system related services, […]

Read the full article →

Powershell : Write-Host Vs Write-Output

March 26, 2014

What is the difference between Write-Host and Write-Output?? I came across a useful article from PowerShell inventor about why you should not use Write-Host in general context unless you want to utilize specific features of it. It is a good read and worth having a peek. To output any data to console it is wiser […]

Read the full article →

PowerShell: Create a Windows 7/8/2008/2012 VHD using ISO file

March 21, 2014

Yesterday I have used PowerShell to build a VHD of Windows 8.1 from ISO file. My home laptop is having Windows 8.1 home edition and features set is limited. To explore the features in Windows 8.1 enterprise edition, I decided to make my laptop multi boot. When I decided to make multi boot, I have […]

Read the full article →

PowerShell : Query and Uninstall Windows 8 store Applications

March 20, 2014

If you are using a Windows 8 PC, but this time you must be knowing that there are two types of apps in this OS. One type is “Store application” and another is “Desktop application”. I don’t want to go in detail about explaining differences between them, but want to say in nutshell that, store […]

Read the full article →

PowerShell: Show/Get a browse folder window

March 20, 2014

In today’s post, let us see some more useful methods inside shell.application com object. In previous post, I showed you how to get desktop icons status. In this post, I will demonstrate, how to display a window using which user can browse and select folder. You know what I am talking? Look at the below […]

Read the full article →