new user logs into domain, new profile defaults .PS1 to notepad, loginScript.ps1 fails! can I get something to default .PS1 to powershell?


new user logs domain

new profile defaults .ps1 notepad

loginscript.ps1 fails!

can default .ps1 powershell?

i have set .ps1 powershell default program in administrator account.

i have set .ps1 powershell default program in setup account.

i have copied setup profile .default account , company needed customaztions applied new user profiles except .ps1 defaults notepad breaking login script.

please help


ed

get-help about_execution_policies

set default execution policy via gpo.

for windows xp , windows server 2003:  administrative templates\windows components\windows powershell    windows vista , later versions of windows:  administrative templates\classic administrative templates\  windows components\windows powershell    policies set in computer configuration node take precedence  on policies set in user configuration node.    powershellexecutionpolicy.adm file available on  microsoft download center. more information, see "administrative  templates windows powershell" @  http://go.microsoft.com/fwlink/?linkid=131786.  

 



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS