Jump to content

Sending keys inside a powershell script

TubsAlwaysWins

Trying to write a PowerShell Script to automate the factory reset process of some Ubiquity Wireless Radios. (One click reset really)

Does anyone know how to send keys to inside the script? 

Right now it is current progression is that it will wait from a ping reply for the fallback IP of the radio, and then it opens an SSH client inside the same PowerShell terminal. Anyone know how I can send keys (So I can automatically fill in the password, hit enter, and then send the reset command

 

Thanks

 

Breaking things 1 day at a time

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×