Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Powershell to logon to the application

$
0
0
I am trying something which I had never tried before in the powershell scripting....My requirement states in the steps below: 1. Launch the application. 2. Enter user credentials 3. search for a text in the application window 4. Report on logging - if the particular text is NOT found. 5. Close the session of the application I am trying to run this in the remote machine....Here is what i have got to start with below: [System.Diagnostics.Process]::Start("Name of the application").WaitForExit() Write-Host "Name of the application terminated." This would launch the application but doesn't allow the logon using the credentials and follow other steps. Any further help is highly appreciated....! Thanks in advance....

Viewing all articles
Browse latest Browse all 6937

Trending Articles