Cross-platform updates to DSC code in PowerShell (#13399)

This commit is contained in:
Andrew
2021-02-02 14:47:53 -08:00
committed by GitHub
parent 00b4b83839
commit 8e3c3e04f8
12 changed files with 2730 additions and 14 deletions
@@ -174,7 +174,14 @@ Describe "Default enablement of Experimental Features" -Tags CI {
(Join-Path -Path $PSHOME -ChildPath 'powershell.config.json') | Should -Exist
foreach ($expFeature in Get-ExperimentalFeature) {
$expFeature.Enabled | Should -BeEnabled -Name $expFeature.Name
if ($expFeature.Name -ne "PS7DscSupport")
{
$expFeature.Enabled | Should -BeEnabled -Name $expFeature.Name
}
else
{
$expFeature.Enabled | Should -Not -BeEnabled -Name $expFeature.Name
}
}
}
}