dsccommunity / DscWorkshop

Blueprint for a full featured DSC project for Push / Pull with or without CI/CD
MIT License
202 stars 163 forks source link

`NetworkIpConfiguration` - Not creating MOF Config #170

Open dan-hughes opened 4 months ago

dan-hughes commented 4 months ago

Problem description

When using the NetworkIpConfiguration composite, it does not create the configuration in the MOF files.

I'm assuming the InterfaceAlias is supposed to have a - and be at the top of the list, which then would generate RSOP below

NetworkIpConfiguration:
  Interfaces:
    DisableNetbios: True                                                                        AllNodes\Dev\DSCFile01
    IpAddress: 192.168.111.100                                                                  AllNodes\Dev\DSCFile01
    DnsServer: 192.168.111.10                                                                   AllNodes\Dev\DSCFile01
    Prefix: 24                                                                                  AllNodes\Dev\DSCFile01
    Gateway: 192.168.111.50                                                                     AllNodes\Dev\DSCFile01
    InterfaceAlias: DscWorkshop 0

Verbose logs

No errors in logs/output.

DSC configuration

No changes from clone of DscWorkshop repo.

Suggested solution

No. But if I understand correctly this is more of a Datum issue as the RSOP is incorrect?

Operating system the target node is running

OsName               : Microsoft Windows 11 Business
OsOperatingSystemSKU : 48
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 22621.1.amd64fre.ni_release.220506-1250
OsLanguage           : en-GB
OsMuiLanguages       : {en-GB, en-US}

PowerShell version and build the target node is running

PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

CommonTasks2 version

Using DscConfig.Demo 0.8.3