![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Using powershell on a shared system Anyone have any experience with Using powershell on a shared system? How do you set up individuale profiles? And is there a way to set it up so that you don't get asked if it's OK to run the script? currently ExecutionPolicy is set to unrestricted. Would RemoteSigned fix this? OldDog |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Using powershell on a shared system from: http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx You can have four different profiles in Windows PowerShell. The profiles are listed in load order. The most specific profiles have precedence over less specific profiles where they apply. all users: * %windir%\system32\WindowsPowerShell\v1.0\profile.ps1 This profile applies to all users and all shells. * %windir%\system32\WindowsPowerShell\v1.0\ Microsoft.PowerShell_profile.ps1 This profile applies to all users, but only to the Microsoft.PowerShell shell. current user (one of each for each user): * %UserProfile%\My Documents\WindowsPowerShell\profile.ps1 This profile applies only to the current user, but affects all shells. * %UserProfile%\My Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 This profile applies only to the current user and the Microsoft.PowerShell shell. - Larry OldDog wrote: Quote: > Anyone have any experience with Using powershell on a shared system? > How do you set up individuale profiles? > And is there a way to set it up so that you don't get asked if it's OK > to run the script? > > currently ExecutionPolicy is set to unrestricted. > > Would RemoteSigned fix this? > > > OldDog |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Using powershell on a shared system My system doesn't ask permission to run a script. What exactly does it ask you? "unrestricted" is as liberal as it gets, and the system will trust all scripts if that is what you see for Get-ExecutionPolicy - Larry OldDog wrote: Quote: > Anyone have any experience with Using powershell on a shared system? > How do you set up individuale profiles? > And is there a way to set it up so that you don't get asked if it's OK > to run the script? > > currently ExecutionPolicy is set to unrestricted. > > Would RemoteSigned fix this? > > > OldDog |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Using powershell on a shared system from: help set-executionpolicy -full However, if the "Turn on Script Execution" Group Policy is enabled for the computer or user, the user preference is written to the registry, but it is not effective, and Windows PowerShell displays a message explaining the conflict. You cannot use Set-ExecutionPolicy to override a group policy, even if the user preference is more restrictive than the policy. Perhaps you have a group policy overriding your user setting? - Larry OldDog wrote: Quote: > Anyone have any experience with Using powershell on a shared system? > How do you set up individuale profiles? > And is there a way to set it up so that you don't get asked if it's OK > to run the script? > > currently ExecutionPolicy is set to unrestricted. > > Would RemoteSigned fix this? > > > OldDog |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| shared system video memory in vista | Vista General | |||
| Ati Radeon 9550 using system memory? 511mb shared system memory. | Vista hardware & devices | |||
| 383 MB Shared System Memory with December ATI Drivers | Vista Games | |||
| Shared System RAM | Vista General | |||
| Vista Blocking Shared System Drive when in WinXP (Dual Boot System) | Vista security | |||