Copy file to users home drives
sorry new ps.
i need script copy files home drives of our users. using folder redirection users app data , reason when app data directory created the sendto shortcuts not being created.
i need copy shortcuts users sendto directory. example path:
\\server\users\<username>\appdata\roaming\microsoft\windows\sendto
thanks in advance.
copy-item [-literalpath] <string[]> [[-destination] <string>]
so: copy-item c:\temp\foo.lnk \\server\users\$username\appdata\roaming\microsoft\windows\sendto
Windows Server > Windows PowerShell
Comments
Post a Comment