-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Details of the scenario you tried and the problem that is occurring
There is a problem with the property ServerLevelPluginDll as it is not possible to revert the setting to not point to a .dll once it has been set. This migh be either an issue with the cmdlet Set-DnsServerSetting or there is a way to set this that is unknown to me.
Verbose logs showing the problem
PS > $a = Get-DnsServerSetting -All
PS > $a.ServerLevelPluginDll = 'c:\temp\plugin.dll'
PS > $a | Set-DnsServerSetting
PS > $a = Get-DnsServerSetting -All
PS > $a.ServerLevelPluginDll
c:\temp\plugin.dllPS > $a.ServerLevelPluginDll = ''
PS > $a | Set-DnsServerSetting
PS > $a = Get-DnsServerSetting -All
PS > $a.ServerLevelPluginDll
c:\temp\plugin.dllPS > $a.ServerLevelPluginDll = $null
PS > $a | Set-DnsServerSetting
PS > $a = Get-DnsServerSetting -All
PS > $a.ServerLevelPluginDll
c:\temp\plugin.dll### Suggested solution to the issue
Unknown.
### The DSC configuration that is used to reproduce the issue (as detailed as possible)
Not applicable.
### The operating system the target node is running
OsName : Microsoft Windows Server 2016 Standard
OsOperatingSystemSKU : StandardServerEdition
OsArchitecture : 64-bit
WindowsBuildLabEx : 14393.4283.amd64fre.rs1_release.210303-1802
OsLanguage : en-US
OsMuiLanguages : {en-US}
### Version and build of PowerShell the target node is running
Name Value
PSVersion 5.1.14393.3866
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.3866
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
### Version of the DSC module that was used
3.0.0