Running Powershell using Deployment credentails


  • Hi Guys,

    Hope someone might know the fix for this. 

    I have a Deployment build that works well. Yet I have a tasked powershell script to copy files from the deployment share to the local host after OS build, that runs just after installing applications. 

    The issue I have is that after the OS is installed and the server reboot the powershell script cannot access to Deployment share due to invalid credentials. 

    I can create a script that will assign credentials but I would rather use the user credentials so I don't have any plan text passwords. (Event though the account is set to Guest.)

    Is there a way to run the powershell script using the deployment credentials. 

    Thanks for you time in Advance.



    Monday, August 13, 2018 4:29 AM