Sign in
|
Join PowerShell.com!
|
Help
Home
PowerTips
Ask the Experts
Forums
Webcasts
Blogs
eBookV2
Script Library
Twitter Grid
Featured Posts
Dreaming in PowerShell
Don Jones
Code MarkUp Tool
Directory
Richard Siddaway's Blog
»
All Tags
»
Networking
»
PowerShell and WMI
(
RSS
)
Browse by Tags
Share
|
Recent Posts
Windows 8 Networking cmdlets
Toggling between LAN and Wireless
Using Invoke-WmiMethod to set the DNS servers
TCP/IP Alternative Configurations: pt IV reset to static address
TCP/IP Alternative Configuration: pt II Set DHCP
Archives
May 2013 (18)
April 2013 (22)
March 2013 (7)
February 2013 (12)
January 2013 (24)
December 2012 (19)
November 2012 (15)
October 2012 (8)
September 2012 (19)
August 2012 (7)
July 2012 (5)
June 2012 (19)
May 2012 (31)
April 2012 (21)
March 2012 (65)
February 2012 (94)
January 2012 (53)
December 2011 (17)
November 2011 (11)
October 2011 (15)
September 2011 (39)
August 2011 (57)
July 2011 (58)
June 2011 (65)
May 2011 (6)
Tags
Active Directory
Books
COM
Deep Dive
File System
General
Networking
Office 2010
Outlook
Powershell
PowerShell and Active Directory
PowerShell and WMI
PowerShell Basics
PowerShell User Group
PowerShell V2
PowerShell V3
Remoting
Scripting Games
Summit
Technology
Windows 7
Windows 8
Windows Server 2008 R2
Windows Server 2012
Windows Server 8
View more
Deep Dive
Powershell
PowerShell V2
PowerShell V3
Windows 8
Windows Server 8
Network Link Speed
The root\wmi Namespace contains a class that just returns the link speed of your network card. Quick and easy to use function. function get-linkspeed { param ( [string] $computer = "." ) Get-WmiObject -Namespace root\wmi -Class MSNdis_LinkSpeed...
Published
Wed, Aug 08 2011 3:13 PM
by
Richard Siddaway's Blog
Filed under:
PowerShell and WMI
,
Networking
Ping a subnet
I recently needed to find which IP addresses were active on a subnet to track down a printer. Quickest way was to ping them. function ping-subnet { param ( [ parameter ( Mandatory = $true ) ] [ ValidatePattern ( "\b\d{1,3}\.\d{1,3}\.\d{1,3...
Published
Mon, Aug 08 2011 2:02 PM
by
Richard Siddaway's Blog
Filed under:
PowerShell and WMI
,
Networking
Ethernet Errors
While we are looking at the MSNdis_Ethernet* classes we should consider these three that pick up potential problems MSNdis_EthernetReceiveErrorAlignment MSNdis_EthernetOneTransmitCollision MSNdis_EthernetMoreTransmitCollisions If all is well we...
Published
Sun, Aug 08 2011 11:56 AM
by
Richard Siddaway's Blog
Filed under:
PowerShell and WMI
,
Networking
Testing MAC address changes
My recent post on using MSNdis_EthernetCurrentAddress to get the MAC address may have had you saying so what because I can do this Get-WmiObject -Class Win32_NetworkAdapter -ComputerName "." | select Name, MACAddress However, there...
Published
Fri, Aug 08 2011 2:09 PM
by
Richard Siddaway's Blog
Filed under:
PowerShell and WMI
,
Networking
Find the MAC address
One thing that has bugged me for years is having to use the /all parameter with ipconfig to get the MAC address. It also doesn’t work on remote machines. bah humbug. The MSNdis_EthernetCurrentAddress class in the root\wmi namespace offers a quicker way...
Published
Thu, Aug 08 2011 1:59 PM
by
Richard Siddaway's Blog
Filed under:
PowerShell and WMI
,
Networking
Network Adapter speed and duplex
One thing that can cause problems on the network is the duplex setting on the network adapter. If this doesn’t match the switch port then at best you will get performance issues and at worst no connectivity. The speed of the connection can be obtained...
Published
Fri, Jul 07 2011 4:07 PM
by
Richard Siddaway's Blog
Filed under:
PowerShell and WMI
,
Networking
Linking the network card to the Registry settings
An interesting problem from the forum. Get the IP enabled network adapters and read the associated registry keys to get the value of the NetLuidIndex. $HKLM = 2147483650 $reg = [wmiclass] '\\.\root\default:StdRegprov' $keyroot = "SYSTEM\CurrentControlSet...
Published
Sat, Jul 07 2011 7:46 AM
by
Richard Siddaway's Blog
Filed under:
PowerShell and WMI
,
Networking
< Previous
1
2
Copyright 2012 PowerShell.com. All rights reserved.