Try the Bitwise Operators section of this article for info on doing bitwise 
comparisons and shifts:
http://technet.microsoft.com/en-us/library/hh847759.aspx

Mark Schill has an article on bitwise operations here:
http://powerschill.com/uncategorized/bitwise-operators/


I hope that helps,


Nash

From: [email protected] [mailto:[email protected]] On 
Behalf Of James Rankin
Sent: Friday, August 22, 2014 4:54 AM
To: [email protected]
Subject: [NTSysADM] PowerShell

Any idea if you can toggle a particular bit of a byte in a binary Registry key 
using PowerShell? My head is busted trying to work this out....

--
James Rankin
---------------------
RCL - Senior Technical Consultant (ACA, CCA, MCTS) | The Virtualization 
Practice Analyst - Desktop Virtualization
http://appsensebigot.blogspot.co.uk

Reply via email to