Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

NEW Deployment Deadline Behavior via Powershell?

KchInfoSystems

New Member
Messages
1
Reaction score
0
Points
1
On the deployment properties screen, User Experience tab, there's a pair of checkboxes beneath the "Deadline behavior" header. I'm trying to access them via Powershell.
We have several software update deployments (OS patches) that are poorly defined and so are not fully respecting maintenance windows.
I need to identify & fix those deployments.

So far, I can:
  • Collect the deployments via Get-CMDeployment
  • Identify Software Updates vs Applications, et al via FeatureType
  • Identify Required vs Available deployments via DeploymentIntent
  • Get the details of the OS patches via Get-CMSoftwareUpdateDeployment
  • Using that data, I have probably identified data matching several checkboxes on that dialog page
    Including one of the two critical checkboxes: RebootOutsideOfServiceWindows
But I cannot find the data element matching the "Software updates installation" checkbox, which is, of course, the one we have wrong the most .

1756955550538.png

Any clues? It could just be a non-intuitive name, but I don't think so -- I changed one deployment & took data snapshots before and after the change, but I see no differences in the objects I have. :-(

This is the data from Get-CMSoftwareUpdateDeployment:
SmsProviderObjectPath : SMS_UpdatesAssignment.AssignmentID=16779076
ApplyToSubTargets : False
AssignedCIs : {17269655}
AssignmentAction : 2
AssignmentDescription : Despite being in ADR gathered collection, this update has NOT installed on ANY of 20 Server 2019 machines.
The one machine chased (svrKchSccmDp) reports 0x80D05001 which appears to be a "unable to download" issue.
AssignmentID : 16779076
AssignmentName : KB5005112 forced deployment
AssignmentType : 1
AssignmentUniqueID : {87B67387-A537-4B1B-8A00-71E6F92E996C}
ContainsExpiredUpdates : False
CreationTime : 12/20/2022 11:24:11 AM
DesiredConfigType : 1
DisableMomAlerts : False
DPLocality : 80
Enabled : True
EnforcementDeadline : 12/20/2022 11:24:00 AM
EvaluationSchedule :
ExpirationTime :
LastModificationTime : 9/3/2025 4:29:35 PM
LastModifiedBy : HHSC\#RGage
LimitStateMessageVerbosity : False
LocaleID : 1033
LogComplianceToWinEvent : False
NonComplianceCriticality :
NotifyUser : True
OverrideServiceWindows : False
PersistOnWriteFilterDevices : True
PreDownloadUpdateContent : True
RaiseMomAlertsOnFailure : False
RandomizationEnabled :
RebootOutsideOfServiceWindows : False
RequirePostRebootFullScan : False
SendDetailedNonComplianceStatus : False
SoftDeadlineEnabled : False
SourceSite : 001
StartTime : 12/20/2022 11:24:00 AM
StateMessagePriority : 5
StateMessageVerbosity : 10
SuppressReboot : 0
TargetCollectionID : 00100310
UseBranchCache : True
UseGMTTimes : False
UserUIExperience : True
WoLEnabled : True



Thanks!!!
 

Forum statistics

Threads
7,055
Messages
27,556
Members
17,782
Latest member
nerdling

Latest posts

Back
Top