Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Windows Forms, pick a folder from network

$
0
0

Hi everybody!

I am actually having some fun with a Windows Forms project and powershell.

I am creating a script that shows a form allowing to create an ADuser, generate a random password, creates a personnal folder on a selected path on our netapp, adds a CIFS alias, and automatically adds selected groups membership.

Everything was cool, until now, because i can't find a way to have a popup that allows to select a folder by opening directly a selected path depending on my pre-selected options when creating my user. (i.e. : if i create an user on site A, i want to open my selection windows on Netapp controller X, and if i create him on site B, i want it to open on controller Y)

I think that i am missing something... My need is the bastard son (The King Joffrey) between the openfiledialog that only chooses files but allows to start on a...


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>