I'm running a PowerShell script with the following:
Copy-Item -Path d:\Deploy\Scripts\content\PC-IP -Destination c:\installs -recurse -Force Copy-Item -Path d:\Deploy\Scripts\content\Mobile-license -Destination c:\installs -recurse -Force
This works great, but instead of hard-coding the D drive (USB drive) I was wondering if there is a way to automatically detect the USB drive letter. Something like this: %usbdrive%
I have several desktops and laptops that use D, E and F as the USB drive letter.
Thank you, Justin