Re: [msh] Some msh setup questions
- From: "Keith Hill" <r_keith_hill@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 3 Jan 2006 19:19:17 -0700
"Krishna[MSFT]" <Krishna[MSFT]@discussions.microsoft.com> wrote in message
news:D4C6D98E-8157-42E4-9E4E-8DEB3203B56B@xxxxxxxxxxxxxxxx
> Krishna[MSFT]: When you install monad an Examples directory will be
> created
> in the install directory. A skeleton profile.msh is copied to this
> examples
> directory.
>
> When monad is installed, by default the ExecutionPolicy ( registry key
> HKLM\software\microsoft\msh\1\shellids\microsoft.management.automation.msh
> )
> is set to "Restricted". This means execution of scripts is disabled on the
> system by default. Profile.msh is a script. So if profile.msh is installed
> in
> "all users\documents\msh" then the user will see some annoying messages
> everytime msh.exe is invoked. This happens even if profile.msh is empty.
> To
> prevent these messages (warnings) at startup time we are not installing
> profile.msh in "all users\documents\msh" location.
Why not create a basic profile.msh file that is signed and trust it by
default (although it sounds like you guys decided not to trust MS signed
stuff by default). Then you could include instructions in the Profile.msh
file on how to either remove the signature (and update the registry) or how
to create your own cert and sign with that.
It just seems like something that most people are going to want to
customize. Having the file in place and ready to go seems a bit more "user
friendly" to me, not to mention more like other shells. It could be that
I've set up MSH on a number of machines now and having to setup the profile
over and over and it's a bit of a pain especially since the name isn't
exactly obvious. I still think the default MSH profile file should be
called just "profile.msh" and make other shell instances prefix with their
fully qualified type name.
--
Keith
.
- Follow-Ups:
- Re: [msh] Some msh setup questions
- From: Thomas Lee
- Re: [msh] Some msh setup questions
- From: lee . holmes
- Re: [msh] Some msh setup questions
- References:
- RE: [msh] Some msh setup questions
- From: Krishna[MSFT]
- RE: [msh] Some msh setup questions
- Prev by Date: Re: MSH: how to delete folders containing strange character
- Next by Date: MSH: Bloggers - count your posts in 2005
- Previous by thread: RE: [msh] Some msh setup questions
- Next by thread: Re: [msh] Some msh setup questions
- Index(es):
Relevant Pages
|