Sha256: 9ab71402cb61198472bdc4645c5fcca27bb7e02ac6cbfb3deb514f558718cf32

Contents?: true

Size: 419 Bytes

Versions: 28

Compression:

Stored size: 419 Bytes

Contents

# This will have a SwitchType property. As far as I know the values are:
#
#   0 - Private
#   1 - Internal
#
# Include the following modules
$Dir = Split-Path $script:MyInvocation.MyCommand.Path
. ([System.IO.Path]::Combine($Dir, "utils\write_messages.ps1"))

$Switches = @(Get-VMSwitch `
    | Select-Object Name,SwitchType,NetAdapterInterfaceDescription)
Write-Output-Message $(ConvertTo-JSON $Switches)

Version data entries

28 entries across 25 versions & 5 rubygems

Version Path
vagrant-unbundled-1.8.1.2 plugins/providers/hyperv/scripts/get_switches.ps1
vagrant-unbundled-1.8.1.1 plugins/providers/hyperv/scripts/get_switches.ps1
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/providers/hyperv/scripts/get_switches.ps1
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/plugins/providers/hyperv/scripts/get_switches.ps1
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/providers/hyperv/scripts/get_switches.ps1
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/providers/hyperv/scripts/get_switches.ps1
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/providers/hyperv/scripts/get_switches.ps1
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/providers/hyperv/scripts/get_switches.ps1