|
|
|
@ -20,6 +20,7 @@ function Remove-ItemPropertyVerified() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Process {
|
|
|
|
|
If (Test-Path "$Path") {
|
|
|
|
|
If ((Get-Item -Path "$Path").Property -ccontains $Name) {
|
|
|
|
|
Write-Status -Types "-", $TweakType -Status "Removing: `"$Path>$Name`""
|
|
|
|
|
|
|
|
|
@ -63,6 +64,10 @@ function Remove-ItemPropertyVerified() {
|
|
|
|
|
Invoke-Expression "$ScriptBlock"
|
|
|
|
|
} Else {
|
|
|
|
|
Write-Status -Types "?", $TweakType -Status "The property `"$Path>$Name`" does not exist." -Warning
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
} Else {
|
|
|
|
|
Write-Status -Types "?", $TweakType -Status "The path(s) `"$Path`" to the property `"$Name`" couldn't be found." -Warning
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|