$Files = New-Object System.Windows.Forms.OpenFileDialog -Property @{ InitialDirectory = [Environment]::GetFolderPath('Desktop') Filter = 'WordDocument (*.docx)|*.docx' MultiSelect = $true } $null = $Files.ShowDialog() foreach ($File in $Files.FileNames) { Start-Process -FilePath $File -Verb print -Wait }