ExportPSSessionCommand.VersionOfScriptGenerator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Version of the script generator used (by this Export-PSSession cmdlet) to generate psm1 and psd1 files. Generated script checks this version to see if it needs to be regenerated. There are 2 situations where this is needed
- the script needs to be regenerated because a bug fix made previous versions incompatible with the rest of the system (i.e. with ObjectModelWrapper).
- ths script needs to be regenerated because a security vulnerability was found inside generated code (there is no way to service generated code, but we can service the dll that reports the version that the generated script checks against).
public:
static property Version ^ VersionOfScriptGenerator { Version ^ get(); };
public static Version VersionOfScriptGenerator { get; }
static member VersionOfScriptGenerator : Version
Public Shared ReadOnly Property VersionOfScriptGenerator As Version