Showing archive results for 2016

Feb 21, 2016
Post comments count0
Post likes count0

PowerTip: Add virtual network adapter to packet capture session

Doctor Scripto

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

Scripting Guy!Windows PowerShellPowerTip
Feb 20, 2016
Post comments count0
Post likes count0

PowerTip: Use PowerShell to add ETW provider to a session

Doctor Scripto

Summary: Use Windows PowerShell to add an ETW provider to a session.  How can I use Windows PowerShell to add an ETW provider to a session?  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 is added to the sessio...

Scripting Guy!Windows PowerShellPowerTip
Feb 20, 2016
Post comments count0
Post likes count0

PowerTip: Add network adapter to packet capture session

Doctor Scripto

Summary: Learn to use Windows PowerShell to add a network adapter to a capture session.  How can I use Windows PowerShell to add a network adapter to a packet capture session? Use the Add-NetEventNetworkAdapter cmdlet and specify the name of the adapter. In the following example, I create a network capture session, add a provider, and then add the...

Scripting Guy!Windows PowerShellPowerTip
Feb 19, 2016
Post comments count0
Post likes count0

PowerTip: Set ErrorActionPreference to original value

Doctor Scripto

Summary: Cloud & Datacenter Management MVP, Thomas Rayner, shows how to work with the ErrorActionPreference variable in Windows PowerShell.  I have a script that requires me to change the ErrorActionPreference variable, but how can I set it to its original value after the script is done?  Store the current value of $ErrorActionPreference and s...

Scripting Guy!Windows PowerShellPowerTip
Feb 19, 2016
Post comments count0
Post likes count0

Migrate Windows CA from CSP to KSP and from SHA-1 to SHA-256: Part 5

Doctor Scripto

Summary: Thomas Rayner, Microsoft Cloud & Datacenter Management MVP, shows how to modify the registry for SHA-256 as a part of migrating a Windows certification authority from CSP to KSP and from SHA-1 to SHA-256. Hello! I’m Thomas Rayner, a proud Cloud & Datacenter Management Microsoft MVP, filling in for The Scripting Guy this week. You ...

Scripting Guy!Windows PowerShellguest blogger