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

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -