Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-NetworkAdapter issue #4

Closed
Dh3va opened this issue Apr 30, 2021 · 0 comments
Closed

Get-NetworkAdapter issue #4

Dh3va opened this issue Apr 30, 2021 · 0 comments

Comments

@Dh3va
Copy link

Dh3va commented Apr 30, 2021

Hi, I might have found an issue/bug that probably is not related directly to vcsim, but maybe you know a workaround.

I implemented vcsim in my repo, which basically automates and test scripts before running them, and vcsim is the testing environment. Works like a charm, just the PoweCLI command Get-NetworkAdapter it's not recognized:

PS /Users/ale/Documents/PowerTEST> ./viexec.ps1 stoppednics localhost DC0_C0

Name                           Port  User
----                           ----  ----
localhost                      443   a
Get-NetworkAdapter: /Users/ale/Documents/PowerTEST/scripts/stoppednics.ps1:11
Line |
  11 |  Get-VM | % { $strVMName = $_.Name; Get-NetworkAdapter -VM $_ | ` sele …
     |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~
     | 04/30/2021 11:02:35 Get-NetworkAdapter  The given key 'config.type' was not present in the dictionary.

Is this a limitation of the SOAP?

@Dh3va Dh3va closed this as completed Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant