Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在ci do
x &= ~1
我需要在PowerShell中这样做吗?已经尝试了大多数事情,审查了 powershell 参考等。
谢谢
&=PowerShell中没有等效的运算符。等效的 Powershell 将是:
&=
$x = $x -band (-bnot 1)