We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32ed0ae commit bc98e7fCopy full SHA for bc98e7f
source/Classes/020.DebugDscEngine.ps1
@@ -91,7 +91,7 @@ class DebugDscEngine : ResourceBase
91
[DebugDscEngine] Get()
92
{
93
# Output all environment variables to verify the environment
94
- #Write-Verbose -Message "`nEnvironment Variables from inside DSC resource:`n$(Get-ChildItem -Path Env: | Out-String)" -Verbose
+ #Write-Verbose -Message "`nEnvironment Variables from inside DSC resource:`n$([System.Environment]::GetEnvironmentVariables().GetEnumerator() | Sort-Object Key | ForEach-Object { "$($_.Key) = $($_.Value)" } | Out-String)" -Verbose
95
96
# Call the base method to return the properties.
97
return ([ResourceBase] $this).Get()
0 commit comments