Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Using powershell on a shared system

Reply
 
Old 4 Weeks Ago   #1 (permalink)
OldDog


 
 

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 SpecsSystem Spec
Old 4 Weeks Ago   #2 (permalink)
Larry__Weiss


 
 

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 SpecsSystem Spec
Old 4 Weeks Ago   #3 (permalink)
Larry__Weiss


 
 

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 SpecsSystem Spec
Old 4 Weeks Ago   #4 (permalink)
Larry__Weiss


 
 

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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46