Skip to content

Instantly share code, notes, and snippets.

@tdewin
Created June 9, 2023 08:39
Show Gist options
  • Select an option

  • Save tdewin/192fb8e4abcc46fb9ae814eb7699afc8 to your computer and use it in GitHub Desktop.

Select an option

Save tdewin/192fb8e4abcc46fb9ae814eb7699afc8 to your computer and use it in GitHub Desktop.
vbr ui text
$dw = [Microsoft.Win32.RegistryValueKind]::DWord
$str = [Microsoft.Win32.RegistryValueKind]::String
function Set-VBRReg {
param($n,$v,$p)
$regpath = 'HKLM:\SOFTWARE\Veeam\Veeam Backup and Replication'
New-ItemProperty $regpath -name $n -Value $v -PropertyType $p -Force | Out-Null
}
Set-VBRReg -n "UIClassifiedMode" -v 1 -p $dw
Set-VBRReg -n "UIClassifiedStripeBackgroundColor" -v "#005f4b" -p $str
Set-VBRReg -n "UIClassifiedStripeText" -v (Read-Host -Prompt "Strip Text in GUI") -p $str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment