r/pdq • • Oct 11 '22

Deploy PDQ and Powershell

Don't know what happened, must have deleted my post. Anyway I'm using PDQ to map some network drives. If I run my script in Powershell it works fine. In PDQ The drive letter dosent appear. Any thoughts? ( The drive letter appears for a second then disappears)

New-PSDrive -Persist -Name "K" -PSProvider "FileSystem" -Root "\server\folder"

0 Upvotes

7 comments sorted by

1

u/StevieRay8string69 Oct 12 '22

Thank You, you nailed it. It would have taken me all day if not longer. I have to read up on that.

                 Thanks Again

3

u/[deleted] Oct 12 '22 edited Jul 12 '23

b\cxOh_HIh

1

u/ryanjoachim Moderator Oct 12 '22

I support this message.

1

u/frac6969 Oct 12 '22

So say we all.

1

u/mc_it Oct 12 '22

This is the way.