powershell - creating keys recursively in registry editor in windows -
powershell - creating keys recursively in registry editor in windows -
i need create keys recursively in register editor in windows using powerfulness shell. md hklm:\software\a\b\c in command b , c keys create if parent key exists, want create a\b\c recursively. please help me in this.
use -force parameter:
ps c:\> md hklm:\software\a\b\c ps c:\> test-path hklm:\software\a\b\c false ps c:\> md hklm:\software\a\b\c -force ps c:\> test-path hklm:\software\a\b\c true windows powershell registry
Comments
Post a Comment