diff --git a/Update-ConfigMgrContentSourceGUI_1.0.2.ps1 b/Update-ConfigMgrContentSourceGUI_1.0.2.ps1 index 2e22cb9..38fbb38 100644 --- a/Update-ConfigMgrContentSourceGUI_1.0.2.ps1 +++ b/Update-ConfigMgrContentSourceGUI_1.0.2.ps1 @@ -149,7 +149,7 @@ Process { $AppCount++ $ApplicationName = $Application.LocalizedDisplayName Update-StatusBar -Activity Validating -Text "Validating application $($AppCount) / $($ApplicationCount)" - if ($Application.HasContent -eq $true) { + if ($Application.HasContent -eq $true -and $Application.isExpired -eq $false) { # Get Application object including Lazy properties $Application.Get() # Deserialize SDMPakageXML property from string @@ -1387,4 +1387,4 @@ Process { # Load Form Load-Form -} \ No newline at end of file +}