Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

PowerShell 2.0 CTP

Closed Thread
 
Thread Tools Display Modes
Old 11-06-2007   #1 (permalink)
egb
Guest
 
Posts: n/a

PowerShell 2.0 CTP

WS-Management v1.1 is a prerequisite to installation. Is this
intentional. If so PowerShell is growing by 30-40%. It seems to me
the functions of PowerShell should simply be limited by what is
available rather than requiring various prerequisites. Dependencies
are expensive for developers, testers, support and end users.

Otherwise, both WS_M and Powershell installed smoothly. Most of
my scripts still run (haven't checked them all). No complains so far.
NICE WORK!!
Ed
 
Old 11-06-2007   #2 (permalink)
RichS
Guest
 
Posts: n/a

RE: PowerShell 2.0 CTP

Yes. It is needed for the remoting functionality as detailed in posts on the
PowerShell Team blog
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"egb" wrote:
Quote:

> WS-Management v1.1 is a prerequisite to installation. Is this
> intentional. If so PowerShell is growing by 30-40%. It seems to me
> the functions of PowerShell should simply be limited by what is
> available rather than requiring various prerequisites. Dependencies
> are expensive for developers, testers, support and end users.
>
> Otherwise, both WS_M and Powershell installed smoothly. Most of
> my scripts still run (haven't checked them all). No complains so far.
> NICE WORK!!
> Ed
 
Old 11-06-2007   #3 (permalink)
Oisin Grehan
Guest
 
Posts: n/a

Re: PowerShell 2.0 CTP

On Nov 6, 4:46 pm, RichS <Ri...@xxxxxx> wrote:
Quote:

> Yes. It is needed for the remoting functionality as detailed in posts on the
> PowerShell Team blog
> --
> Richard Siddaway
> Please note that all scripts are supplied "as is" and with no warranty
> Blog:http://richardsiddaway.spaces.live.com/
> PowerShell User Group:http://www.get-psuguk.org.uk
>
>
>
> "egb" wrote:
Quote:

> > WS-Management v1.1 is a prerequisite to installation. Is this
> > intentional. If so PowerShell is growing by 30-40%. It seems to me
> > the functions of PowerShell should simply be limited by what is
> > available rather than requiring various prerequisites. Dependencies
> > are expensive for developers, testers, support and end users.
>
Quote:

> > Otherwise, both WS_M and Powershell installed smoothly. Most of
> > my scripts still run (haven't checked them all). No complains so far.
> > NICE WORK!!
> > Ed- Hide quoted text -
>
> - Show quoted text -
It's also needed for the new background job functionality it appears.
Local psjobs are actually routed through wcf/winrm to be created
locally; fair enough - why bother with two interfaces when both jobs
are effectively isolated.

Regarding Start-Psjob and passing a new runspace to be used, has
anyone succesfully created a new runspace using new-runspace? I just
get "access is denied"

New-Runspace : [localhost] Access is denied.
At line:1 char:13
+ new-runspace <<<<

This is _after_ running Configure-Wsman.ps1 - I also have vmware
installed and I noticed that winrm was configured for my local i/f and
the two virtual vmware ones.

- Oisin

 
Old 11-06-2007   #4 (permalink)
Thomas Lee
Guest
 
Posts: n/a

Re: PowerShell 2.0 CTP

In message <BB993491-5CE9-445E-B940-F9C37D9E7C6F@xxxxxx>, egb
<egb@xxxxxx> writes
Quote:

>WS-Management v1.1 is a prerequisite to installation. Is this
>intentional.
Yes - required for remoting.
Quote:

> If so PowerShell is growing by 30-40%.
Possibly - but it's required for remoting. And I think it a pretty good
solution.
Quote:

> It seems to me
>the functions of PowerShell should simply be limited by what is
>available rather than requiring various prerequisites.
So else how would you do remoting? The WRM approach is pretty darned
elegant. At some point, I'd expect WRM to be installed by default.
Quote:

> Dependencies
>are expensive for developers, testers, support and end users.
Yes indeed.
Quote:

>Otherwise, both WS_M and Powershell installed smoothly. Most of
>my scripts still run (haven't checked them all). No complains so far.
>NICE WORK!!
<aol>!

--
Thomas Lee
doctordns@xxxxxx
MVP - Admin Frameworks and Security
 
Old 11-06-2007   #5 (permalink)
John Vottero
Guest
 
Posts: n/a

Re: PowerShell 2.0 CTP

"Thomas Lee" <tfl@xxxxxx> wrote in message
news:dRMPOY1ekOMHFAUE@xxxxxx
Quote:

> In message <BB993491-5CE9-445E-B940-F9C37D9E7C6F@xxxxxx>, egb
> <egb@xxxxxx> writes
Quote:

>>WS-Management v1.1 is a prerequisite to installation. Is this
>>intentional.
>
> Yes - required for remoting.
>
Quote:

>> If so PowerShell is growing by 30-40%.
>
> Possibly - but it's required for remoting. And I think it a pretty good
> solution.
>
Quote:

>> It seems to me
>>the functions of PowerShell should simply be limited by what is
>>available rather than requiring various prerequisites.
>
> So else how would you do remoting? The WRM approach is pretty darned
> elegant. At some point, I'd expect WRM to be installed by default.
I think the best situation would be that PowerShell always installs but, if
you try to do something that requires WinRM, it fails with an appropriate
error message.

Of course, once people see how cool it is, they'll be installing WinRM on
everything!


 
Old 11-06-2007   #6 (permalink)
Marco Shaw [MVP]
Guest
 
Posts: n/a

Re: PowerShell 2.0 CTP

Quote:

> Regarding Start-Psjob and passing a new runspace to be used, has
> anyone succesfully created a new runspace using new-runspace? I just
> get "access is denied"
>
> New-Runspace : [localhost] Access is denied.
> At line:1 char:13
> + new-runspace <<<<
>
> This is _after_ running Configure-Wsman.ps1 - I also have vmware
> installed and I noticed that winrm was configured for my local i/f and
> the two virtual vmware ones.
Which OS?

I tried new-runspace on XP SP2 and had no problems. If running XP,
there is an issue with winrm and IIS both running.

Marco

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
 
Old 11-07-2007   #7 (permalink)
Thomas Lee
Guest
 
Posts: n/a

Re: PowerShell 2.0 CTP

In message <3DF53AAC-C6BE-4354-8AE3-FAA37B8F1110@xxxxxx>, John
Vottero <JVottero@xxxxxx> writes
Quote:

>I think the best situation would be that PowerShell always installs
>but, if you try to do something that requires WinRM, it fails with an
>appropriate error message.
The best situation is if WinRM is installed by the OS!
Quote:

>Of course, once people see how cool it is, they'll be installing WinRM
>on everything!
All the more reason to insist on it.

Of course, remember this is just a CTP. For CTPs, there are regurally
requirements that won't be there in the final build.

Personally, I feel that WinRM should just be installed by the PowerShell
installer if it's not already on the box. Whether you turn it on or even
configure it, is then up to you.

--
Thomas Lee
doctordns@xxxxxx
MVP - Admin Frameworks and Security
 
Old 11-07-2007   #8 (permalink)
RichS
Guest
 
Posts: n/a

Re: PowerShell 2.0 CTP

I'm afraid I can't agree. With this approach you will end up with a lot more
people calling for support. One of the major new features of V2 is remoting
so it makes more sense to require the underlying technologies to be installed.
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"John Vottero" wrote:
Quote:

> "Thomas Lee" <tfl@xxxxxx> wrote in message
> news:dRMPOY1ekOMHFAUE@xxxxxx
Quote:

> > In message <BB993491-5CE9-445E-B940-F9C37D9E7C6F@xxxxxx>, egb
> > <egb@xxxxxx> writes
Quote:

> >>WS-Management v1.1 is a prerequisite to installation. Is this
> >>intentional.
> >
> > Yes - required for remoting.
> >
Quote:

> >> If so PowerShell is growing by 30-40%.
> >
> > Possibly - but it's required for remoting. And I think it a pretty good
> > solution.
> >
Quote:

> >> It seems to me
> >>the functions of PowerShell should simply be limited by what is
> >>available rather than requiring various prerequisites.
> >
> > So else how would you do remoting? The WRM approach is pretty darned
> > elegant. At some point, I'd expect WRM to be installed by default.
>
> I think the best situation would be that PowerShell always installs but, if
> you try to do something that requires WinRM, it fails with an appropriate
> error message.
>
> Of course, once people see how cool it is, they'll be installing WinRM on
> everything!
>
>
 
Old 11-07-2007   #9 (permalink)
MaciekN
Guest
 
Posts: n/a

Re: PowerShell 2.0 CTP

Thomas Lee pisze:
Quote:

> In message <3DF53AAC-C6BE-4354-8AE3-FAA37B8F1110@xxxxxx>, John
> Vottero <JVottero@xxxxxx> writes
>
Quote:

>> I think the best situation would be that PowerShell always installs
>> but, if you try to do something that requires WinRM, it fails with an
>> appropriate error message.
>
> The best situation is if WinRM is installed by the OS!
>
Quote:

>> Of course, once people see how cool it is, they'll be installing WinRM
>> on everything!
>
> All the more reason to insist on it.
>
> Of course, remember this is just a CTP. For CTPs, there are regurally
> requirements that won't be there in the final build.
>
> Personally, I feel that WinRM should just be installed by the PowerShell
> installer if it's not already on the box. Whether you turn it on or even
> configure it, is then up to you.
>
Now WinRM is available only for Windows XP in English version. I want to
try PowerShell V2 CTP but I can't find WinRM for Polish XP.
 
Old 11-07-2007   #10 (permalink)
Harald Ums \(2179630\)
Guest
 
Posts: n/a

Re: PowerShell 2.0 CTP

> Personally, I feel that WinRM should just be installed by the PowerShell
Quote:

> installer if it's not already on the box. Whether you turn it on or even
> configure it, is then up to you.

You think a service that is listening to port 80 should be installed by a
new shell?
-> http://msdn2.microsoft.com/en-us/library/aa384464.aspx

Hope you do not do that on a webserver in a DMZ
Quote:

> --
> Thomas Lee
> doctordns@xxxxxx
> MVP - Admin Frameworks and Security

 
 
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing PowerShell dependent features on W2K8 with PowerShell CTP Greg Wojan PowerShell 14 05-16-2008 08:15 AM
when run powershell script as windows service ,powershell fail powershell fail on winodws 2008 PowerShell 6 01-15-2008 03:20 PM
Powershell Plus - Free for non commercial Use and Powershell Analyzer1.0 released Karl Prosser[MVP] PowerShell 2 12-12-2007 12:43 PM
Automatic PowerShell Error Parsing in PowerShell Analyzer and PowerShellPlus Karl Prosser[MVP] PowerShell 0 11-14-2007 02:32 AM
PowerShell Leaders Join Forces and offer a pre-release version of PowerShell for 50% off the retail value klumsy@xtra.co.nz PowerShell 0 06-19-2007 02:42 PM








Vistax64.com 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 2005-2008

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 47 48 49