Ok, I figured it out with your help Jvierra. You mentioned using -scope global, What I didn't realize is I needed to use it in conjunction with -persist!
It now works perfectly
Executing New-Psdrive with a button
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.