PSVersionHashTable Class

Definition

Represents an implementation of '$PSVersionTable' variable. The implementation contains ordered 'Keys' and 'GetEnumerator' to get user-friendly output.

C++
public ref class PSVersionHashTable sealed : System::Collections::Hashtable
Inheritance
PSVersionHashTable
Implements

Properties

Keys

Returns ordered collection with Keys of 'PSVersionHashTable' We want see special order: 1. PSVersionName 2. PSEditionName 3. Remaining properties in alphabetical order.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator for 'PSVersionHashTable'. The enumeration is ordered (based on ordered version of 'Keys').

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0