external help file | Module Name | online version | schema |
---|---|---|---|
PS-QSYS-help.xml |
PS-QSYS |
2.0.0 |
Configures a Q-SYS core's NTP settings.
Set-QSYSCoreNTP -Session <QSYS_Session> [-Servers <String[]>] [<CommonParameters>]
Set-QSYSCoreNTP -Session <QSYS_Session> [-Servers <String[]>] [-Disabled] [<CommonParameters>]
Set-QSYSCoreNTP -Session <QSYS_Session> [-Servers <String[]>] [-Enabled] [<CommonParameters>]
Configures a Q-SYS core's NTP settings, including:
- Whether NTP is enabled, and
- The configured NTP servers
Set-QSYSCoreNTP -Session $qs -Enabled
NTP is now enabled.
Servers:
- 0.pool.ntp.org
- 1.pool.ntp.org
Set-QSYSCoreNTP -Session $qs -Disabled
NTP is now disabled.
Set-QSYSCoreDNS -Session $qs -Primary "1.1.1.1" -Secondary "8.8.8.8"
NTP is now enabled.
Servers:
- 0.pool.ntp.org
- 1.pool.ntp.org
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
Specifies the list of NTP servers
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Disables NTP on the Q-SYS core.
Type: SwitchParameter
Parameter Sets: Disabled
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Enables NTP on the Q-SYS core.
Type: SwitchParameter
Parameter Sets: Enabled
Aliases:
Required: False
Position: Named
Default value: False
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.