TestimoX

API Reference

Enum

PowerShellVersion

Namespace TestimoX.Definitions
Assembly TestimoX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Indicates which PowerShell version to run.

Inheritance

  • Enum
  • PowerShellVersion

Values

public const PowerShellVersion Both #

Run on both Windows PowerShell 5.x and PowerShell 7+ when available.

Value: 0
public const PowerShellVersion PowerShell5 #

Run on Windows PowerShell 5.x only.

Value: 1
public const PowerShellVersion PowerShell7 #

Run on PowerShell 7+ only.

Value: 2