Add-Type -AssemblyName System.Windows.Forms
$FileBrowser = New-Object System.Windows.Forms.OpenFileDialog -Property @{
Multiselect = $false
InitialDirectory = "C:\minkatalog"
}
[void]$FileBrowser.ShowDialog()
if($filebrowser.filename -eq ""){return}
$TestFile = $FileBrowser.FileName