To search a particular OU use the -SearchBase parameter to define the OU (by distinguished name)
Whatif appears to be similar to write-hoist in that it writes directly to screen.
One suggestion would be to use start/stop-transcripot round your command – the output of this will be captured