I need to enter Ctrl-Y here using PowerShell script, in order to automate this task. please let me know how this can be done.
Any suggestions are welcome.
try something like this:
[System.Windows.Forms.SendKeys]::SendWait('^y')