Link to home
Start Free TrialLog in
Avatar of grahamco
grahamcoFlag for United States of America

asked on

Powershell or Batch File Copy w/Loop

We need to place a .rdp shortcut in the desktop folder of all our user's roaming profile. Looking for a script to quickly accomplish this. The user's roaming profile directory names are in this format: "username.contoso.V6", within this directory is a "desktop" directory which is where we'd like to copy the shortcut.


source: c:\folder\rdpshortcut.rdp
destination: \\gsf1\rds\username.contoso.V6\desktop
ASKER CERTIFIED SOLUTION
Avatar of Dustin Saunders
Dustin Saunders
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of grahamco

ASKER

Thanks Dustin that worked perfectly!..