Scenario: Its a usual web automation requirement to setup auto login capability for certain sites through Internet Explorer browser. Most common implementation involves using internetexplorer.application COM object and accessing the web page HTML elements using DOM methods like getElementByID, getElementsByName, getElementsByTagName, etc., However, there are numerous complaints that while implementing COM automation scripts in VBScript, […]
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 […]
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 […]
Requirement: You want to have a web page pre-launched with automatic username and password login to the web page. Using VBScript: Using VBScript you can achieve this requirement where you create an Internet Explorer Application object and have complete access/control to it’s elements/content and their properties. Create IE Object: Set ObjIE = CreateObject(“internetexplorer.application”) Launch web […]
JSP RegEX fails with error Unexpected quantifier This is a quick article to explain about JSP RegEX fails with error Unexpected quantifier Scenario: You have a JSP page that has been running for a long while. All of sudden you notice its failing resulting in unexpected behavior. Upon troubleshooting you learn that the JSP page […]
Here is the Windows PowerShell script for Active Directory Domain Services Deployment on Windows Server 2012 R2.
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 […]