Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

bypassing drive isolation in powershell

$
0
0

how can I bypass the drive isolation that powershell has?  

I have a removable media drive that will not show that it is mounted in powershell, but shows mounted in windows explorer.  For this portion of the automation I need to recursive copy a folder from a network share to a local removable drive.

 

I know WMI shows the drive as mounted.  My initial thought was to use WMi to actually perform the copy, however, I am not as experienced with WMI in powershell as I would need to be to code this copy on my own.

 

Can someone either provide me with a function that would perform this, suggest an alternative method, or walk me through how to call the needed WMI methods in order to accomplish the end goal?


Viewing all articles
Browse latest Browse all 8583

Trending Articles