ConfirmPreference
and Host
but will not see variables specific to PowerShell Universal. Invoke-Formatter
command of PSScriptAnalyzer
within your scripts. You will need to install PSScriptAnalyzer
to your PSModulePath in order to use this functionality. You can format by right clicking within the editor and selecting Format or by pressing F8.