Select-Window by title?

Oct 18, 2010 at 2:22 PM

This doesn't seem to work:

Select-Window -Title untitled - notepad | set-windowactive

What am I doing wrong?

 

 

TIA!

Nov 12, 2010 at 9:06 AM

Simple, use this instead:

Select-Window -Title "untitled - notepad" | Set-WindowActive