Skip to main content
added 42 characters in body
Source Link

The complications and limitations of the PowerShell cmdlets outlined above led to writing a simplified set of PowerShell commands, where enabling port monitoring on external or internal switches gets as simple as:

Import-Module .\VMSwitchPortMonitorMode.psm1 Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode Source

Import-Module .\VMSwitchPortMonitorMode.psm1

Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode Source

The module is available here

How to check the status of port monitoring on a given switch:

PS C:\Dev> Get-VMSwitchPortMonitorMode MySwitch PortType MonitorMode


External Source

PS C:\Dev> Get-VMSwitchPortMonitorMode MySwitch
PortType   MonitorMode
--------   -----------
External   Source>

Disabling monitoring is also very easy:

Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode None

Source: https://cloudbase.it/hyper-v-promiscuous-mode/

The complications and limitations of the PowerShell cmdlets outlined above led to writing a simplified set of PowerShell commands, where enabling port monitoring on external or internal switches gets as simple as:

Import-Module .\VMSwitchPortMonitorMode.psm1 Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode Source

The module is available here

How to check the status of port monitoring on a given switch:

PS C:\Dev> Get-VMSwitchPortMonitorMode MySwitch PortType MonitorMode


External Source

Disabling monitoring is also very easy:

Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode None

Source: https://cloudbase.it/hyper-v-promiscuous-mode/

The complications and limitations of the PowerShell cmdlets outlined above led to writing a simplified set of PowerShell commands, where enabling port monitoring on external or internal switches gets as simple as:

Import-Module .\VMSwitchPortMonitorMode.psm1

Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode Source

The module is available here

How to check the status of port monitoring on a given switch:

PS C:\Dev> Get-VMSwitchPortMonitorMode MySwitch
PortType   MonitorMode
--------   -----------
External   Source>

Disabling monitoring is also very easy:

Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode None

Source: https://cloudbase.it/hyper-v-promiscuous-mode/

added 107 characters in body
Source Link

The complications and limitations of the PowerShell cmdlets outlined above led to writing a simplified set of PowerShell commands, where enabling port monitoring on external or internal switches gets as simple as:

Import-Module .\VMSwitchPortMonitorMode.psm1 Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode Source

The module is available [here][1] here

How to check the status of port monitoring on a given switch:

PS C:\Dev> Get-VMSwitchPortMonitorMode MySwitch PortType MonitorMode


External Source

Disabling monitoring is also very easy:

Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode None

Source: https://cloudbase.it/hyper-v-promiscuous-mode/

The complications and limitations of the PowerShell cmdlets outlined above led to writing a simplified set of PowerShell commands, where enabling port monitoring on external or internal switches gets as simple as:

Import-Module .\VMSwitchPortMonitorMode.psm1 Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode Source

The module is available [here][1]

How to check the status of port monitoring on a given switch:

PS C:\Dev> Get-VMSwitchPortMonitorMode MySwitch PortType MonitorMode


External Source

Disabling monitoring is also very easy:

Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode None

Source: https://cloudbase.it/hyper-v-promiscuous-mode/

The complications and limitations of the PowerShell cmdlets outlined above led to writing a simplified set of PowerShell commands, where enabling port monitoring on external or internal switches gets as simple as:

Import-Module .\VMSwitchPortMonitorMode.psm1 Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode Source

The module is available here

How to check the status of port monitoring on a given switch:

PS C:\Dev> Get-VMSwitchPortMonitorMode MySwitch PortType MonitorMode


External Source

Disabling monitoring is also very easy:

Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode None

Source: https://cloudbase.it/hyper-v-promiscuous-mode/

Source Link

The complications and limitations of the PowerShell cmdlets outlined above led to writing a simplified set of PowerShell commands, where enabling port monitoring on external or internal switches gets as simple as:

Import-Module .\VMSwitchPortMonitorMode.psm1 Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode Source

The module is available [here][1]

How to check the status of port monitoring on a given switch:

PS C:\Dev> Get-VMSwitchPortMonitorMode MySwitch PortType MonitorMode


External Source

Disabling monitoring is also very easy:

Set-VMSwitchPortMonitorMode -SwitchName MySwitch -MonitorMode None

Source: https://cloudbase.it/hyper-v-promiscuous-mode/