-
Notifications
You must be signed in to change notification settings - Fork 32
Function Interface
Chris Hunt edited this page May 23, 2016
·
1 revision
Test a local network interface.
Test a local network interface and optionally and specific property.
[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
interface ethernet0 { should not BeNullOrEmpty }
interface ethernet0 status { should be 'up' }
Interface Ethernet0 linkspeed { should be '1 gbps' }
Interface Ethernet0 macaddress { should be '00-0C-29-F2-69-DD' }
Getting Started
Contributing
Functions