external help file | Module Name | online version | schema |
---|---|---|---|
PS-QSYS-help.xml |
PS-QSYS |
2.0.0 |
Configures a Q-SYS core network interface.
Set-QSYSCoreInterface -Session <QSYS_Session> -Name <String> [-Static] -IPAddress <String> -SubnetMask <String>
[-Gateway <String>] [<CommonParameters>]
Set-QSYSCoreInterface -Session <QSYS_Session> -Name <String> [-Disabled] [<CommonParameters>]
Set-QSYSCoreInterface -Session <QSYS_Session> -Name <String> [-Auto] [<CommonParameters>]
Configures a Q-SYS core network interface, including:
- Mode (static / auto / off)
- IP Address
- Subnet Mask
- Gateway Address
Set-QSYSCoreInterface -Session $qs -Name "LAN B" -Disabled
LAN B is now disabled.
Set-QSYSCoreInterface -Session $qs -Name "LAN B" -Auto
LAN B is now set to use automation configuration (DHCP / Auto-IP).
Set-QSYSCoreInterface -Session $qs -Name "LAN B" -Static -IPAddress 192.168.1.42 -SubnetMask 255.255.255.0
LAN B is now set to use a static address: IP Address : 192.168.1.42 Subnet Mask : 255.255.255.0 Gateway :
A Q-SYS session, as returned from New-QSYSSession
Type: QSYS_Session
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The name of the network interface to configure.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Disables the network interface.
Type: SwitchParameter
Parameter Sets: Disabled
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Sets the network interface to use DHCP or Auto-IP.
Type: SwitchParameter
Parameter Sets: Auto
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Sets the network interface to use a static address. The IPAddress and SubnetMask parameters are required.
Type: SwitchParameter
Parameter Sets: Static
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the static IP address for the interface.
Type: String
Parameter Sets: Static
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the subnet mask for the interface.
Type: String
Parameter Sets: Static
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Optionally specifies the gateway address for the interface.
Type: String
Parameter Sets: Static
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.