Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Changed a small bit of formatting
  • Loading branch information
stanieldev committed Sep 29, 2022
1 parent 8d299f9 commit cefbe98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions create.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ ELSE {

# Add custom keys to registry
$regeditparams = @{
FilePath = "$Env:SystemRoot\REGEDIT.exe"
ArgumentList = "/s", "$(Get-Location)\create.reg"
Verb = "RunAs"
PassThru = $true
Wait = $true
FilePath = "$Env:SystemRoot\REGEDIT.exe"
ArgumentList = "/s", "$(Get-Location)\create.reg"
Verb = "RunAs"
PassThru = $true
Wait = $true
}
$addkeys = Start-Process @regeditparams
if ($addkeys.ExitCode -eq 0) { "Successfully added keys to registry!" }
Expand Down
10 changes: 5 additions & 5 deletions remove.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

# Remove custom keys from registry
$regeditparams = @{
FilePath = "$Env:SystemRoot\REGEDIT.exe"
ArgumentList = "/s", "$(Get-Location)\remove.reg"
Verb = "RunAs"
PassThru = $true
Wait = $true
FilePath = "$Env:SystemRoot\REGEDIT.exe"
ArgumentList = "/s", "$(Get-Location)\remove.reg"
Verb = "RunAs"
PassThru = $true
Wait = $true
}
$removekeys = Start-Process @regeditparams
if ($removekeys.ExitCode -eq 0) { "Successfully removed keys from registry!" }
Expand Down

0 comments on commit cefbe98

Please sign in to comment.