DrDamnit
asked on
copy-item to User's Desktop?
What's the syntax to copy \\theserver\someshare\this file.txt to the current user's desktop?
I am executing the script by first doing this:
set-location \\theserver\someshare\
then running .\thescript.ps1
I am executing the script by first doing this:
set-location \\theserver\someshare\
then running .\thescript.ps1
Try by setting destination to "$env:USERPROFILE\desktop"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.