Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerShell Spotlight: February 2016

Summary: Microsoft MVP, Teresa Wilson, talks about Windows PowerShell Saturday in this month’s PowerShell Spotlight. Hello scripters, I hope everyone had a marvelous weekend and is planning on an awesome week. I have been working on some of the last of the preparations for PowerShell Saturday #010 coming up in less than a month (March 19) ...

PowerTip: Add Hyper-V network switch to network packet capture session

Summary: Learn how to add a Hyper-V virtual switch as a filter for a remote packet capture session. (image)  How can I use Windows PowerShell to add a Hyper-V Virtual switch as a provider for a remote packet capture session? (image)  Use the Add-NetEventVmSwitch cmdlet and specify the name of the switch. In the following commands, I create ...

PowerTip: Add virtual network adapter to packet capture session

Summary: Learn how to use Windows PowerShell to add a virtual network adapter to a network packet capture session. (image)  How can I use Windows PowerShell to add a virtual network adapter to a network packet capture session? (image)  Use the Add-NetEventVmNetworkAdapter cmdlet and specify the name of the adapter. In the following example, ...

PowerTip: Use PowerShell to add ETW provider to a session

Summary: Use Windows PowerShell to add an ETW provider to a session. (image)  How can I use Windows PowerShell to add an ETW provider to a session? (image)  Use the Add-NetEventProvider cmdlet and specify the name of the session and the provider. In the following example, first a net event session is created, and then the TCPIP ETW provider...