Ex -
I have the below debug statement in my powershell resource.
Below command doesn't show the debug messages in the powershell resource
Invoke-DscResource -Name <resource_name> -ModuleName <module_name> -Method Get -Property <property_bag> -Verbose -Debug
Ex - I have the below debug statement in my powershell resource.
Below command doesn't show the debug messages in the powershell resource
Invoke-DscResource -Name <resource_name> -ModuleName <module_name> -Method Get -Property <property_bag> -Verbose -Debug