Hello,
I think I may be missing something. Basically I have a PowerShell script that needs to run when a user logs in. So I have this powershell script saved on a network File Server, and have a batch file that will call the powershell script. Neither of that is the problem. My problem is programatically getting that batch file into the all users startup folder. I can open the folder through explorer and save to it, but through Powershell or Command Prompt I get access denied when I try and browse into the folder, or copy to it.
It seems I can access the Startup folder through PowerShell ISE but unable to programatically copy anything into it.
Any help would be appreciated.