PowerShell Script to Remotely Update Registry keys and Restart Services on multiple Computers with Progress bar showing the Status of the Script

Requirement: In an enterprise automation its very often a requirement to REMOTELY Query list of servers/computers/desktops Apply a registry change to the servers/computers/desktops Restart a Service on the servers/computers/desktops Solution: Implementing a PowerShell script for such an automation requirement helps you easily build enterprise capabilities to the script like: Showing a Progress bar indicating current […]

PowerShell : Finding number of lines in a File

Requirement: In Automation using PowerShell Scripting its very often a requirement to read input from a file.  Usually the input is separated by new line in the file. Your PowerShell should read all lines from the file and process the input line by line. Say, you have list of servers in file and you want […]

PowerShell script to detect if you are running in Citrix XenApp Environment

PowerShell script to detect if you are running in Citrix XenApp Environment It is very usual that you find enterprises supporting Physical and Virtual environments. When you have to setup an automation or an application customization across such an enterprise, you often require to determine the environment where the user is logged in and apply […]