Windows PowerShell Web Access - Custom Microsoft.Powershell_Profile.ps1 for All Users


hi everyone,

i'm looking bit of guidance on implementing custom powershell profile users of system using add-pswaauthorization cmdlet. more, i'm looking how/where drop custom profile set using -configurationname parameter.

i've tried using full path , filename, doesn't work (using command: add-pswaauthorizationrule -usergroupname 'domain\administrative_sec_gr' -computername * -configurationname c:\windows\system32\windowspowershell\v1.0\microsoft.power­shell_profile.ps1). i'd avoid creating blanket profile entire system customize experience using auth rules paired customized profiles (limiting cmdlet access, directory access, computer access, etc).

can point me in right direction please? of documentation i've found examines issue on per user basis little guidance on how handle group situation.

thanks!

mike


michael kaminski

you don't configure user profile.  you configure session. 

the constraints on cmdlets, functions, , scripts can ran part of session configuration, not user profile. 

you configure , register powershell remote session on computer, , grant users or groups of users permission use session.

trying set kinds of limitations in user profile useless.  you can't in user profile user can't un-do.


[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Group Policy Event ID 1058 Error Code 1326 (The user name or password is incorrect)

Suspicious event log Event ID: 4905

DCOM received error "2147746132" from...