ScriptRequirements.RequiresPSSnapIns 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.
The snapins this script requires, specified like:
#requires -PSSnapin Snapin
#requires -PSSnapin Snapin -Version 2
If no snapins are required, this property is an empty collection.
public:
property System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::PSSnapInSpecification ^> ^ RequiresPSSnapIns { System::Collections::ObjectModel::ReadOnlyCollection<System::Management::Automation::PSSnapInSpecification ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.PSSnapInSpecification> RequiresPSSnapIns { get; }
member this.RequiresPSSnapIns : System.Collections.ObjectModel.ReadOnlyCollection<System.Management.Automation.PSSnapInSpecification>
Public ReadOnly Property RequiresPSSnapIns As ReadOnlyCollection(Of PSSnapInSpecification)