Udostępnij za pośrednictwem


ScriptRequirements.RequiredPSEditions Property

Definition

The PowerShell Edition this script requires, specified like: #requires -PSEdition Desktop If no PSEdition has been specified, this property is an empty collection.

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ RequiredPSEditions { System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<string> RequiredPSEditions { get; }
member this.RequiredPSEditions : System.Collections.ObjectModel.ReadOnlyCollection<string>
Public ReadOnly Property RequiredPSEditions As ReadOnlyCollection(Of String)

Property Value

Applies to