Windows Powershell Scripting
Posted on 2016-12-01
Hi, could someone assist with an example of a powershell script that I could edit for my network environment?
I have a need to update (overwrite) a file on all PC's in a particular department in our MS AD environment, the path I need to drop the file into is C:\Program Files\xxx\xxx.
The share file will come off a shared network drive that the department already have access to, I was going to do it via a batch file at logon but have concerns that it will not overwrite the existing file without user intervention. The users machines are W7 Pro's and have tighter security than most machines so additional credentials might be needed and I wouldn't want that visible to the users.
So is there a script that I can edit and use to achieve this and what is the best way to execute it. It would be good to have it run during the day rather than at logon if possible by being pushed to the PC's?
Thanks for any advise or assistance in advance.