operationsIT
asked on
Powershell Script to move file from g:\copy to 5 specific machines startup folder
Hello EE,
I am looking for some help with a powershell script or template to help me get started.
I have 5 machines named test1, test2....test5 where I need to copy a file from a network share g:\copy
to each of these machines startup folder.
Any help would be great. This can't be just manual.
I am looking for some help with a powershell script or template to help me get started.
I have 5 machines named test1, test2....test5 where I need to copy a file from a network share g:\copy
to each of these machines startup folder.
Any help would be great. This can't be just manual.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Is powershell hard? I have to open a request so it'll take longer with group policy
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This is great. It is very close. It says I don't have permission so maybe I need to add a line for admin username/password?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Opening command in elevated mode will only allow me to copy from network share to my own startup, but not anyone else.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Can you do it in the batch or do you need to create a GPO and the use the batch? i was hoping since it's a one time thing, it would be a single solution
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
If I run your batch I get "Access denied" on all systems but my own.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, my domain admin login
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'll try that and report back
Hi operationsIT,
How did that go?
Thanks,
Alan.
How did that go?
Thanks,
Alan.
Hi operationsIT,
I guess it is working okay now?
Thanks,
Alan.
I guess it is working okay now?
Thanks,
Alan.
EE requested assistance with closing this question.
ASKER