-
Notifications
You must be signed in to change notification settings - Fork 32
Function Package
Chris Hunt edited this page May 23, 2016
·
1 revision
Test for installed package.
Test that a specified package is installed.
[Parameter(
Mandatory = $true,
Position = 2)]
[Parameter(
Position = 3,
ParameterSetName = 'Set 2')]
[Parameter(
Mandatory = $true,
Position = 3,
ParameterSetName = 'Set 1')]
[Parameter(
Mandatory = $true,
Position = 4,
ParameterSetName = 'Set 2')]
Be, BeNullOrEmpty
package 'Microsoft Visual Studio Code' { should not BeNullOrEmpty }
package 'Microsoft Visual Studio Code' version { should be '1.1.0' }
package 'NonExistentPackage' { should BeNullOrEmpty }
Getting Started
Contributing
Functions