ASDK - Prechecker throwing error while checking NIC requirements RRS feed

  • Question

  • Hi,

    so when i run the ASDK-Precheker.ps1 script on the AzureStack Development Kit and i notice that the NIC requirements throws an error.

    Below is the error.

    [ 10:20:27 ] Checking NIC requirements...
    ForEach-Object : Cannot validate argument on parameter 'InstanceId'. The argument is null. Provide a valid value for
    the argument, and then try running the command again.
    At C:\Users\Administrator\Downloads\asdk-prechecker.ps1:270 char:37
    +     Get-NetAdapter -IncludeHidden | ForEach-Object {
    +                                     ~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidData: (:) [ForEach-Object], ParameterBindingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.ForEachObjectCommand

    Searching for a solution to eliminate this error.

    Wednesday, January 8, 2020 11:38 AM

All replies