Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Custom “Windows Explorer” for Powershell GUI scripts

$
0
0

Simple and lightweight – perfect to use as a function within PowerShell scripts. I had issues with Powershell GUI scripts, STA mode, and FolderBrowserDialog – it would cause a .NET unhandled exception each time you launched the FolderBrowserDialog, so I built this.

Use Case: lets say you have a script that requires an end user to select a .csv file. You can run…

Start-miniExplorer -ShowFilesWithExtensionOnly csv 

…and this will only show files with the .csv extension, in the current folder structure.

Github : https://github.com/oze4/miniExplorer

Screenshot : http://i.imgur.com/L8Te30g.png

Cheers!

submitted by /u/oze4
[link] [comments]

The post Custom “Windows Explorer” for Powershell GUI scripts appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles