```powershell
function Get-UserConfirmation {
param(
[Parameter(Mandatory=$true)][string]$QuestionTitle,
[Parameter(Mandatory=$true)][string]$Question
)
$Choices = New-Object Collections.ObjectModel.Collection[Management.Automation.Host.ChoiceDescription]
$Choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&Yes'))
$Choices.Add((New-Object Management.Automation.Host.ChoiceDescription -ArgumentList '&No'))
$Answer = $Host.UI.PromptForChoice($QuestionTitle, $Question, $Choices, 1)
if ($Answer -eq 0) {
return $true
} else {
return $false
}
}
```