The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

goldfinger (9) [Avatar] Offline
#1
Hello Bruce,

get-help about_where lists bitwise operators like comp, sr, sl.
But I don't get to run this operators. They are missing or renamed?
I assume that new name for comp is now bnot. But what about the left shift and right shift operators?

1,4,8,15,255 | where { write-host ( -comp $_) }
brucepay (155) [Avatar] Offline
#2
Re: where and operators
These are errors in about_where help topic. I'll open a bug on the docs writer to fix these. Thanks.

-bruce
goldfinger (9) [Avatar] Offline
#3
Re: where and operators
Hi Bruce
thanks for the quick response.
By the way in your great book on page 528 the logical and bitwise operators enumeration are incomplete.
Should be:
<LogicalOperationToken> = "-and" | "-or" | "-xor" | "-not"
<BitwiseOperationToken> ="-band" | "-bor" | "-bxor" | "-bnot"