We are using DSC to configure the sharepoint machines and we have various resources built. Currently we are facing an issues in production which we are not able to replicate in other server.
The error is as belows
The term 'Write-Verbose' is not recognized as the name of a cmdlet, function, script file, or operable program. Check t
he spelling of the name, or if a path was included, verify that the path is correct and try again.
+ CategoryInfo : InvalidOperation: (:) , CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
We have multiple resources using write-verbose statement.The first resource does not have issue with the write-verbose statement but the second resources in the configuration errors out with the above message
Write-verbose is part of the module "Microsoft.PowerShell.Utility" . we were thinking of replicated the issue in our environemnt
can we delete this module from the machine and check if we get the same error