$file = "C:\Users\Jeffrey\SkyDrive\Documents\AHK\Shortcuts\shortcuts" $shortcuts = Import-Clixml $file do { Write-Host "IUS$ " -ForegroundColor Red -NoNewline $input = Read-Host switch ($input) { "add" { Write-Host "Name? " -ForegroundColor White -NoNewline $name = Read-Host Write-Host "Value? " -ForegroundColor White -NoNewline $value = Read-Host $shortcuts.$name = "$value" } "remove" { Write-Host "Name? " -ForegroundColor White -NoNewline $name = Read-Host $shortcuts.remove("$name") } "view" { $shortcuts.GetEnumerator() | Sort Name } } } while ("add","remove","view" -contains $input) $shortcuts | Export-Clixml $file If ($shortcuts.$input -ne $null) {Start $shortcuts.$input}