if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true) { $keyPath = "HKLM:\Software\Microsoft\.NETFramework"; ...

if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true)          {            $keyPath = "HKLM:\Software\Microsoft\.NETFramework";            if (!(Get-Item $keyPath -ErrorAction SilentlyContinue)) { New-Item $keyPath -Force }            Set-ItemProperty -path $keyPath -name "DisableRetStructPinning" -value 0x1 -Type DWORD -Force;          }
English
English (United States)
Français (France)
French (France)