You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$supersedenceMode= (((Get-CMSoftwareUpdatePointComponent-SiteCode $SiteCode).Props) |Where-Object {$_.PropertyName-eq'Sync Supersedence Mode For NonFeature'}).Value
1589
+
1590
+
#Verify that the product team didn't change these on us again.
1591
+
if (!$supersedenceMode)
1592
+
{
1593
+
Add-TextToCMLog$LogFile"Failed to determine ConfigMgr's supersedence mode. Exiting without making any changes."$component3
1594
+
return
1595
+
}
1596
+
1597
+
If ($supersedenceMode-eq0){
1598
+
$ExclusionPeriod=0
1599
+
} Else {
1600
+
$supersedenceAge= (((Get-CMSoftwareUpdatePointComponent-SiteCode $SiteCode).Props) |Where-Object {$_.PropertyName-eq'Sync Supersedence Age For NonFeature'}).Value
1601
+
#Verify that the product team didn't change these on us again.
1602
+
if (!$supersedenceAge)
1603
+
{
1604
+
Add-TextToCMLog$LogFile"Failed to determine ConfigMgr's supersedence age. Exiting without making any changes."$component3
0 commit comments