Select-Window by title?

Oct 18, 2010 at 3: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 10:06 AM

Simple, use this instead:

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