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

IPV6 statistics on XP SP2

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 04-08-2007   #1 (permalink)
Thomas Lee
Guest


 

IPV6 statistics on XP SP2

I have been looking around inside the system.net.networkinformation
classes today and am having problems getting IPv6 information.

Here is one such example:

PSH [D:\foo]: $properties =
[system.net.networkinformation.IPGlobalProperties]::GetIPGlobalProperties
();
PSH [D:\foo]: $stat = $properties.GetIcmpV4Statistics();
PSH [D:\foo]: $stat = $properties.GetIcmpV6Statistics();
Exception calling "GetIcmpV6Statistics" with "0" argument(s): "The
request is not supported"
At line:1 char:40
+ $stat = $properties.GetIcmpV6Statistics( <<<< );
PSH [D:\foo]:

I can get the V4 stats fine, but not v6?

Thomas
--
Thomas Lee
doctordns@gmail.com
MVP - Admin Frameworks and Security

My System SpecsSystem Spec
Old 04-09-2007   #2 (permalink)
RichS
Guest


 

RE: IPV6 statistics on XP SP2

Is IPv6 supported in the standard XPSP2 IP stack?
--
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


"Thomas Lee" wrote:

> I have been looking around inside the system.net.networkinformation
> classes today and am having problems getting IPv6 information.
>
> Here is one such example:
>
> PSH [D:\foo]: $properties =
> [system.net.networkinformation.IPGlobalProperties]::GetIPGlobalProperties
> ();
> PSH [D:\foo]: $stat = $properties.GetIcmpV4Statistics();
> PSH [D:\foo]: $stat = $properties.GetIcmpV6Statistics();
> Exception calling "GetIcmpV6Statistics" with "0" argument(s): "The
> request is not supported"
> At line:1 char:40
> + $stat = $properties.GetIcmpV6Statistics( <<<< );
> PSH [D:\foo]:
>
> I can get the V4 stats fine, but not v6?
>
> Thomas
> --
> Thomas Lee
> doctordns@gmail.com
> MVP - Admin Frameworks and Security
>

My System SpecsSystem Spec
Old 04-09-2007   #3 (permalink)
Adam
Guest


 

Re: IPV6 statistics on XP SP2


"RichS" <RichS@discussions.microsoft.com> wrote in message
news:0B4B5F8F-3B02-483B-9617-9B5CCF758A7C@microsoft.com...
> Is IPv6 supported in the standard XPSP2 IP stack?


Yes.

My System SpecsSystem Spec
Old 04-10-2007   #4 (permalink)
Thomas Lee
Guest


 

Re: IPV6 statistics on XP SP2

In message <0B4B5F8F-3B02-483B-9617-9B5CCF758A7C@microsoft.com>, RichS
<RichS@discussions.microsoft.com> writes
>s IPv6 supported in the standard XPSP2 IP stack?


I thought it was, but .NET says not.

:-(
--
Thomas Lee
doctordns@gmail.com
MVP - Admin Frameworks and Security
My System SpecsSystem Spec
Old 04-10-2007   #5 (permalink)
Marco Shaw
Guest


 

Re: IPV6 statistics on XP SP2

Q. How do I install the IPv6 protocol for Windows XP?

A. To install the IPv6 protocol for Windows XP with SP2, do the
following:

1.
Log on to the computer with a user account that has privileges to
change network configuration.

2.
Click Start, click Control Panel, and then double-click Network
Connections.

3.
Right-click any local area connection, and then click Properties.

4.
Click Install.

5.
In the Select Network Component Type, dialog box, click Protocol,
and then click Add.

6.
In the Select Network Protocol dialog box, click Microsoft TCP/IP
version 6, and then click OK.

7.
Click Close to save changes to your network connection.



Source:
http://www.microsoft.com/technet/net...6/ipv6faq.mspx




My System SpecsSystem Spec
Old 04-12-2007   #6 (permalink)
Thomas Lee
Guest


 

Re: IPV6 statistics on XP SP2

In message <QMacpRnuLXGGFAws@mail.psp.co.uk>, Thomas Lee <tfl@psp.co.uk>
writes
>I can get the V4 stats fine, but not v6?


It helped to install IPv6 before trying this:

PSH [D:\foo]: $properties =
[system.net.networkinformation.IPGlobalProperties]::getipglobalproperties
()
PSH [D:\foo]: $stat = $properties.GetIcmpV6Statistics();
PSH [D:\foo]: $stat


MessagesSent : 44
MessagesReceived : 3
ErrorsSent : 0
ErrorsReceived : 0
DestinationUnreachableMessagesSent : 3
DestinationUnreachableMessagesReceived : 3
PacketTooBigMessagesSent : 0
PacketTooBigMessagesReceived : 0
TimeExceededMessagesSent : 0
TimeExceededMessagesReceived : 0
ParameterProblemsSent : 0
ParameterProblemsReceived : 0
EchoRequestsSent : 0
EchoRequestsReceived : 0
EchoRepliesSent : 0
EchoRepliesReceived : 0
MembershipQueriesSent : 0
MembershipQueriesReceived : 0
MembershipReportsSent : 12
MembershipReportsReceived : 0
MembershipReductionsSent : 0
MembershipReductionsReceived : 0
RouterAdvertisementsSent : 0
RouterAdvertisementsReceived : 0
RouterSolicitsSent : 15
RouterSolicitsReceived : 0
NeighborAdvertisementsSent : 0
NeighborAdvertisementsReceived : 0
NeighborSolicitsSent : 14
NeighborSolicitsReceived : 0
RedirectsSent : 0
RedirectsReceived : 0

--
Thomas Lee
doctordns@gmail.com
MVP - Admin Frameworks and Security
My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer statistics The Key PowerShell 1 08-12-2008 10:04 AM
Vista Freecell Statistics Raag Vista General 3 12-20-2007 07:42 AM
Network Error Statistics Ed Anderson PowerShell 10 04-24-2007 02:10 PM
Clear statistics? Brandon Taylor Vista Games 3 02-06-2007 07:00 PM
Solitaire Statistics is bad jimpuls Vista Games 3 10-07-2006 10:05 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 50 51