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

Azure MFA with Azure AD and RDS

Failed to setup initiator portal. Error status is given in the dump data.

Invalid pointer on gpresult /h gpreport.html