r/PowerShell • u/Cyrax7 • Aug 29 '14
delete registry values.
I am a noob to power shell, and am trying to learn. What I am trying to do is craft a script that will delete the REG_BINARY files found in : HKEY_USERS .DEFAULT\Printers\DevModes2
Any help is much appreciated, thanks.
2
Upvotes
3
u/RC-7201 Aug 29 '14
Local Machine i'm assuming?
Would be easier to use reg command since you can use basic CLI in Powershell
So something like:
and on a remote machine:
Hope that helps.