Start-SCCMUpdateScan
SYNOPSIS
Starts a Configuration Manager software-update scan.
SYNTAX
Start-SCCMUpdateScan [[-ComputerName] <String[]>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Reads the last Configuration Manager update scan time and triggers the update scan and evaluation schedules when the last scan was at least ten minutes ago.
EXAMPLES
EXAMPLE 1
Start-SCCMUpdateScan
Starts an update scan on the local Configuration Manager client when eligible.
EXAMPLE 2
Start-SCCMUpdateScan -ComputerName 'SERVER01'
Starts an eligible update scan on SERVER01 through PowerShell remoting.
PARAMETERS
-ComputerName
Specifies the name of one or more computers.
Type: String[]
Parameter Sets: (All)
Aliases: Host, Name, Computer, CN
Required: False
Position: 1
Default value: "$env:COMPUTERNAME"
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
System.Management.Automation.PSCustomObject
NOTES
ALIASES
None.
PLATFORM APPLICABILITY
Windows only. The platform-aware loader does not export this command on Linux or macOS.
POWERSHELL COMPATIBILITY
See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.
RELATED LINKS
https://docs.keldor.dev/powershell/keldor/Start-SCCMUpdateScan