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

xWindowsOptionalFeature outputs a lot of annoying verbose messages #453

Closed
mkht opened this issue Oct 20, 2018 · 2 comments · Fixed by #454
Closed

xWindowsOptionalFeature outputs a lot of annoying verbose messages #453

mkht opened this issue Oct 20, 2018 · 2 comments · Fixed by #454
Labels
stale The issue or pull request was marked as stale because there hasn't been activity from the community.

Comments

@mkht
Copy link
Contributor

mkht commented Oct 20, 2018

Details of the scenario you tried and the problem that is occurring

xWindowsOptionalFeature outputs a lot of useless messages starting with Importing... to the Verbose stream.

Verbose logs showing the problem

VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
VERBOSE: An LCM method call arrived from computer DESKTOP-KNKJFMT with user sid S-1-5-21-1660624713-64340445-3472502389-500.
VERBOSE: [DESKTOP-KNKJFMT]: LCM:  [ Start  Set      ]
VERBOSE: [DESKTOP-KNKJFMT]: LCM:  [ Start  Resource ]  [[xWindowsOptionalFeature]NET35_Enable]
VERBOSE: [DESKTOP-KNKJFMT]: LCM:  [ Start  Test     ]  [[xWindowsOptionalFeature]NET35_Enable]
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Started Test-TargetResource on the NetFx3 feature.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Validating resource prerequisites...
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_OperatingSystem'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Operation 'Enumerate CimInstances' complete.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Loading module from path 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism\Dism.psd1'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Loading 'TypesToProcess' from path 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism\Dism.Types.ps1xml'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Loading 'FormatsToProcess' from path 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism\Dism.Format.ps1xml'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Loading module from path 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism\Dism.psm1'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-AppxProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-WindowsCapability'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-WindowsDriver'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-WindowsPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Clear-WindowsCorruptMountPoint'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Disable-WindowsOptionalFeature'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Dismount-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Enable-WindowsOptionalFeature'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Expand-WindowsCustomDataImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Expand-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Export-WindowsCapabilitySource'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Export-WindowsDriver'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Export-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-AppxProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-NonRemovableAppsPolicy'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WIMBootEntry'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsCapability'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsDriver'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsEdition'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsImageContent'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsOptionalFeature'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Mount-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'New-WindowsCustomImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'New-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Optimize-AppXProvisionedPackages'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Optimize-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-AppxProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-WindowsCapability'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-WindowsDriver'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-WindowsPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Repair-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Save-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Set-AppXProvisionedDataFile'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Set-NonRemovableAppsPolicy'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Set-WindowsEdition'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Set-WindowsProductKey'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Split-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Start-OSUninstall'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Update-WIMBootEntry'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Use-WindowsUnattend'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Add-AppProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Add-ProvisionedAppPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Add-ProvisionedAppxPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Apply-WindowsUnattend'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Get-AppProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Get-ProvisionedAppPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Get-ProvisionedAppxPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Optimize-AppProvisionedPackages'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Optimize-ProvisionedAppPackages'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Optimize-ProvisionedAppxPackages'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Remove-AppProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Remove-ProvisionedAppPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Remove-ProvisionedAppxPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Set-AppPackageProvisionedDataFile'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Set-ProvisionedAppPackageDataFile'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Set-ProvisionedAppXDataFile'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Target Image Version 10.0.17763.55
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Finished Test-TargetResource on the NetFx3 feature.
VERBOSE: [DESKTOP-KNKJFMT]: LCM:  [ End    Test     ]  [[xWindowsOptionalFeature]NET35_Enable]  in 2.6780 seconds.
VERBOSE: [DESKTOP-KNKJFMT]: LCM:  [ Start  Set      ]  [[xWindowsOptionalFeature]NET35_Enable]
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Started Set-TargetResource on the NetFx3 feature.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Validating resource prerequisites...
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Perform operation 'Enumerate CimInstances' with following parameters, ''namespaceName' = root\cimv2,'className' = Win32_OperatingSystem'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Operation 'Enumerate CimInstances' complete.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Loading module from path 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism\Dism.psd1'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Add-AppProvisionedPackage" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Add-ProvisionedAppPackage" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Add-ProvisionedAppxPackage" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Apply-WindowsUnattend" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Get-AppProvisionedPackage" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Get-ProvisionedAppPackage" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Get-ProvisionedAppxPackage" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Optimize-AppProvisionedPackages" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Optimize-ProvisionedAppPackages" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Optimize-ProvisionedAppxPackages" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Remove-AppProvisionedPackage" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Remove-ProvisionedAppPackage" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Remove-ProvisionedAppxPackage" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Set-AppPackageProvisionedDataFile" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Set-ProvisionedAppPackageDataFile" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Removing the imported "Set-ProvisionedAppXDataFile" alias.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Loading 'TypesToProcess' from path 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism\Dism.Types.ps1xml'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Loading 'FormatsToProcess' from path 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism\Dism.Format.ps1xml'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Loading module from path 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism\Dism.psm1'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-AppxProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-WindowsCapability'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-WindowsDriver'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Add-WindowsPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Clear-WindowsCorruptMountPoint'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Disable-WindowsOptionalFeature'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Dismount-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Enable-WindowsOptionalFeature'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Expand-WindowsCustomDataImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Expand-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Export-WindowsCapabilitySource'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Export-WindowsDriver'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Export-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-AppxProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-NonRemovableAppsPolicy'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WIMBootEntry'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsCapability'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsDriver'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsEdition'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsImageContent'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsOptionalFeature'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Get-WindowsPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Mount-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'New-WindowsCustomImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'New-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Optimize-AppXProvisionedPackages'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Optimize-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-AppxProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-WindowsCapability'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-WindowsDriver'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Remove-WindowsPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Repair-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Save-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Set-AppXProvisionedDataFile'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Set-NonRemovableAppsPolicy'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Set-WindowsEdition'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Set-WindowsProductKey'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Split-WindowsImage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Start-OSUninstall'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Update-WIMBootEntry'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing cmdlet 'Use-WindowsUnattend'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Add-AppProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Add-ProvisionedAppPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Add-ProvisionedAppxPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Apply-WindowsUnattend'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Get-AppProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Get-ProvisionedAppPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Get-ProvisionedAppxPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Optimize-AppProvisionedPackages'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Optimize-ProvisionedAppPackages'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Optimize-ProvisionedAppxPackages'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Remove-AppProvisionedPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Remove-ProvisionedAppPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Remove-ProvisionedAppxPackage'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Set-AppPackageProvisionedDataFile'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Set-ProvisionedAppPackageDataFile'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Importing alias 'Set-ProvisionedAppXDataFile'.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Performing the operation "Enable Windows optional feature" on target "NetFx3".
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Target Image Version 10.0.17763.55
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Installed feature NetFx3.
VERBOSE: [DESKTOP-KNKJFMT]:                            [[xWindowsOptionalFeature]NET35_Enable] Finished Set-TargetResource on the NetFx3 feature.
VERBOSE: [DESKTOP-KNKJFMT]: LCM:  [ End    Set      ]  [[xWindowsOptionalFeature]NET35_Enable]  in 59.5400 seconds.
VERBOSE: [DESKTOP-KNKJFMT]: LCM:  [ End    Resource ]  [[xWindowsOptionalFeature]NET35_Enable]
VERBOSE: [DESKTOP-KNKJFMT]: LCM:  [ End    Set      ]
VERBOSE: [DESKTOP-KNKJFMT]: LCM:  [ End    Set      ]    in  62.9960 seconds.
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 63.276 seconds

Suggested solution to the issue

Suppress verbose output from Import-Module.
https://github.com/PowerShell/xPSDesiredStateConfiguration/blob/5a205a582b433f11e3109179aeb041f9999c207c/DSCResources/MSFT_xWindowsOptionalFeature/MSFT_xWindowsOptionalFeature.psm1#L377

The DSC configuration that is used to reproduce the issue (as detailed as possible)

Configuration test {
    Import-DscResource -ModuleName xPsDesiredStateConfiguration
    xWindowsOptionalFeature NET35_Enable {
        Ensure = 'Present'
        Name   = 'NetFx3'
    }
}

test -outputPath C:\DSC
Start-DscConfiguration -Path C:\DSC -Wait -Verbose

The operating system the target node is running

OsName               : Microsoft Windows 10 Pro
OsOperatingSystemSKU : 48
OsArchitecture       : 64-bit
WindowsVersion       : 1809
WindowsBuildLabEx    : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

Version and build of PowerShell the target node is running

Name                           Value                                                                                                      
----                           -----                                                                                                      
PSVersion                      5.1.17763.1                                                                                                
PSEdition                      Desktop                                                                                                    
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                    
BuildVersion                   10.0.17763.1                                                                                               
CLRVersion                     4.0.30319.42000                                                                                            
WSManStackVersion              3.0                                                                                                        
PSRemotingProtocolVersion      2.3                                                                                                        
SerializationVersion           1.1.0.1 

Version of the DSC module that was used ('dev' if using current dev branch)

8.4.0.0

@stale
Copy link

stale bot commented Nov 19, 2018

This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.

@stale stale bot added the stale The issue or pull request was marked as stale because there hasn't been activity from the community. label Nov 19, 2018
@stale
Copy link

stale bot commented Dec 29, 2018

This issue has been automatically closed because it is has not had activity from the community in the last 40 days.

@stale stale bot closed this as completed Dec 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale The issue or pull request was marked as stale because there hasn't been activity from the community.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant