Examples/Resources/IntuneWindowUpdateForBusinessRingUpdateProfileWindows10/1-IntuneWindowUpdateForBusinessRingUpdateProfileWindows10-Example.psm1
<#
This example is used to test new resources and showcase the usage of new resources being worked on. It is not meant to use as a production baseline. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $Credscredential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { IntuneWindowUpdateForBusinessRingUpdateProfileWindows10 'Example' { Credential = $Credscredential; AllowWindows11Upgrade = $False; Assignments = @( MSFT_DeviceManagementConfigurationPolicyAssignments{ deviceAndAppManagementAssignmentFilterType = 'none' dataType = '#microsoft.graph.allLicensedUsersAssignmentTarget' } ); AutomaticUpdateMode = "autoInstallAtMaintenanceTime"; AutoRestartNotificationDismissal = "notConfigured"; BusinessReadyUpdatesOnly = "userDefined"; DeadlineForFeatureUpdatesInDays = 1; DeadlineForQualityUpdatesInDays = 2; DeadlineGracePeriodInDays = 3; DeliveryOptimizationMode = "userDefined"; Description = ""; DisplayName = "WUfB Ring"; DriversExcluded = $False; Ensure = "Present"; FeatureUpdatesDeferralPeriodInDays = 0; FeatureUpdatesPaused = $False; FeatureUpdatesPauseExpiryDateTime = "0001-01-01T00:00:00.0000000+00:00"; FeatureUpdatesRollbackStartDateTime = "0001-01-01T00:00:00.0000000+00:00"; FeatureUpdatesRollbackWindowInDays = 10; Id = "f2a9a546-6087-45b9-81da-59994e79dfd2"; InstallationSchedule = MSFT_MicrosoftGraphwindowsUpdateInstallScheduleType{ ActiveHoursStart = '08:00:00' ActiveHoursEnd = '17:00:00' odataType = '#microsoft.graph.windowsUpdateActiveHoursInstall' }; MicrosoftUpdateServiceAllowed = $True; PostponeRebootUntilAfterDeadline = $False; PrereleaseFeatures = "userDefined"; QualityUpdatesDeferralPeriodInDays = 0; QualityUpdatesPaused = $False; QualityUpdatesPauseExpiryDateTime = "0001-01-01T00:00:00.0000000+00:00"; QualityUpdatesRollbackStartDateTime = "0001-01-01T00:00:00.0000000+00:00"; SkipChecksBeforeRestart = $False; UpdateNotificationLevel = "defaultNotifications"; UserPauseAccess = "enabled"; UserWindowsUpdateScanAccess = "enabled"; } } } |