DSC- Install-WindowsFeature WebDAV-Redirector unable to install on Win 2016

Hello Guys,

I’m unable to execute the below snippet on the windows server 2016, however, I’m able to install other features such as NET-Framework-Core using DSC on the same server.
I’m able to install Install-WindowsFeature WebDAV-Redirector with PowerShell (NOT WITH DSC MODULE) on the same server.

please let me know where I’m going wrong…

Script
Configuration MachineConfiguration
{
Node localhost
{
WindowsFeature WebDav
{
Ensure = “Present”
Name = “Install-WindowsFeature WebDAV-Redirector”
}
}
}
MachineConfiguration -OutputPath C:\dsc
Start-DscConfiguration -Path c:\dsc -Wait -Verbose -Force
ERROR

PowerShell DSC resource MSFT_RoleResource failed to execute Test-TargetResource functionality with error message: The requested feature Install-WindowsFeature WebDAV-Redirector is not found on the target machine.
+ CategoryInfo : InvalidOperation: (:slight_smile: , CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName : localhost

Thank you in advance

I found what I was doing wrongly sorry guys for the silly question…