Jump to content

Test Powershell: Revision history

Diff selection: Mark the radio boxes of the revisions to compare and hit enter or the button at the bottom.

27 July 2026

23 July 2026

  • curprev 07:5107:51, 23 July 2026 Majestix talk contribs 1,624 bytes +1,624 Created page with "<syntaxhighlight lang="powershell"> Function Get-FileName($initialDirectory) { [System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | Out-Null $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog $OpenFileDialog.initialDirectory = $initialDirectory $OpenFileDialog.filter = "All bz2 files (*.bz2)| *.bz2" $OpenFileDialog.ShowDialog() | Out-Null $OpenFileDialog.filename } #end function Get-FileName # *** Script MAIN *** Write-Ho..."