PowerShell command in SetupComplete.cmd

Put your power shell script into the Post Setup page, ntlite should know how to add it correctly to setupcomplete.cmd. I never use powersmell but i presume nuhi has allowed for them in post setup.
 
I have been doing some reading. For powershell to work correctly in setupcomplete.cmd file, environment variables need to be set before hand. Just wondering if nuhi made allowances for this.
 
I have been doing some reading. For powershell to work correctly in setupcomplete.cmd file, environment variables need to be set before hand. Just wondering if nuhi made allowances for this.
you have to add them in your ps1 begining. nuhi can't configure any environment for anyone. everyone makes dif things
 
Is their a way to execute a powershell command in the setupcomplete.cmd
Just drop it in Post-Setup page next time when applying with NTLite.

It will execute it like this (no need to type this unless you're doing it manually):
Code:
powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass fileName.ps1
 
Back
Top