DSC extension: change PSLanguageMode to RestrictedLanguage to reduce attack surface