-
Notifications
You must be signed in to change notification settings - Fork 63
Description
PS C:\Users\Administrator> Import-Module .\Desktop\VMSwitchPortMonitorMode.psm1
PS C:\Users\Administrator> get-VMSwitchPortMonitorMode -SwitchName VLAN10-Management-External
gwmi : Invalid object path
At C:\Users\Administrator\Desktop\VMSwitchPortMonitorMode.psm1:49 char:21
-
$eswp = gwmi -Namespace $ns -Query "ASSOCIATORS OF {$lep2} WHERE Res ... -
- CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException - FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
gwmi : Invalid object path
At C:\Users\Administrator\Desktop\VMSwitchPortMonitorMode.psm1:50 char:19
-
$sw = gwmi -Namespace $ns -Query "ASSOCIATORS OF {$eswp} WHERE Resul ... -
- CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException - FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
gwmi : Invalid object path
At C:\Users\Administrator\Desktop\VMSwitchPortMonitorMode.psm1:49 char:21
-
$eswp = gwmi -Namespace $ns -Query "ASSOCIATORS OF {$lep2} WHERE Res ... -
- CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException - FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
gwmi : Invalid object path
At C:\Users\Administrator\Desktop\VMSwitchPortMonitorMode.psm1:50 char:19
-
$sw = gwmi -Namespace $ns -Query "ASSOCIATORS OF {$eswp} WHERE Resul ... -
-
CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException
-
FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
PortType MonitorMode -------- ----------- External None Host None
-
PS C:\Users\Administrator> get-VMSwitchPortMonitorMode VLAN10-Management-External
gwmi : Invalid object path
At C:\Users\Administrator\Desktop\VMSwitchPortMonitorMode.psm1:49 char:21
-
$eswp = gwmi -Namespace $ns -Query "ASSOCIATORS OF {$lep2} WHERE Res ... -
- CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException - FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
gwmi : Invalid object path
At C:\Users\Administrator\Desktop\VMSwitchPortMonitorMode.psm1:50 char:19
-
$sw = gwmi -Namespace $ns -Query "ASSOCIATORS OF {$eswp} WHERE Resul ... -
- CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException - FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
gwmi : Invalid object path
At C:\Users\Administrator\Desktop\VMSwitchPortMonitorMode.psm1:49 char:21
-
$eswp = gwmi -Namespace $ns -Query "ASSOCIATORS OF {$lep2} WHERE Res ... -
- CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException - FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
gwmi : Invalid object path
At C:\Users\Administrator\Desktop\VMSwitchPortMonitorMode.psm1:50 char:19
-
$sw = gwmi -Namespace $ns -Query "ASSOCIATORS OF {$eswp} WHERE Resul ... -
-
CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException
-
FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
PortType MonitorMode -------- ----------- External None Host None
-