damienvanrobaeys / Run-in-Sandbox

Run PS1, VBS, CMD, EXE, MSI, Intunewin, MSIX, or extract ISO, ZIP in Windows Sandbox very quickly just from a right-click
https://www.systanddeploy.com/2023/06/runinsandbox-quick-way-to-runextract.html
698 stars 82 forks source link

Update Add_Structure.ps1 #17

Closed ccatlett1984 closed 1 year ago

ccatlett1984 commented 2 years ago

Add " /y" to reg export, so it will overwrite existing files (was stuck without any feedback due to the | out-null)

changed "where" to "where-object" for clarity

moved $null to left side of comparison for best practice