source
stringclasses
1 value
repo
stringclasses
33 values
repo_url
stringclasses
33 values
path
stringlengths
7
179
language
stringclasses
1 value
license
stringclasses
4 values
stars
int64
2.27k
53.4k
ref
stringclasses
4 values
size_bytes
int64
48
259k
text
stringlengths
48
259k
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationPlatformScriptLinux/1-Create.ps1
PowerShell
mit
2,267
Dev
1,534
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOMailboxPlan/2-Update.ps1
PowerShell
mit
2,267
Dev
1,328
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneMobileAppsWin32AppWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
5,387
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneMobileAppsWin32AppWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
5,396
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneMobileAppsWin32AppWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
882
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneFirewallPolicySetting/1-Create.ps1
PowerShell
mit
2,267
Dev
1,220
<# This example creates a new Intune Firewall Policy Setting. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint )...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneFirewallPolicySetting/2-Update.ps1
PowerShell
mit
2,267
Dev
1,065
<# This example updates a Intune Firewall Policy Setting. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ) ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneFirewallPolicySetting/3-Remove.ps1
PowerShell
mit
2,267
Dev
792
<# This example removes a Intune Firewall Policy Setting. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ) ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADAuthenticationMethodPolicyX509/2-Update.ps1
PowerShell
mit
2,267
Dev
2,403
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADAuthenticationMethodPolicyX509/3-Remove.ps1
PowerShell
mit
2,267
Dev
765
<# 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 -ModuleN...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/TeamsMeetingBroadcastPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
782
<# This examples create a new Teams Meeting Broadcast Policy. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $Credscredential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { TeamsMeetingBroadcastPolicy 'ConfigureMee...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADEntitlementManagementAccessPackageCatalog/1-Create.ps1
PowerShell
mit
2,267
Dev
1,070
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADEntitlementManagementAccessPackageCatalog/3-Remove.ps1
PowerShell
mit
2,267
Dev
840
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADEntitlementManagementAccessPackageCatalog/2-Update.ps1
PowerShell
mit
2,267
Dev
1,090
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneWindowsBackupForOrganizationConfiguration/2-Update.ps1
PowerShell
mit
2,267
Dev
837
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADEntitlementManagementAccessPackage/2-Update.ps1
PowerShell
mit
2,267
Dev
1,155
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADEntitlementManagementAccessPackage/3-Remove.ps1
PowerShell
mit
2,267
Dev
859
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADEntitlementManagementAccessPackage/1-Create.ps1
PowerShell
mit
2,267
Dev
1,137
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOPhishSimOverrideRule/1-Create.ps1
PowerShell
mit
2,267
Dev
1,354
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOPhishSimOverrideRule/2-Update.ps1
PowerShell
mit
2,267
Dev
1,097
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOPhishSimOverrideRule/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,022
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneAntivirusPolicySecurityExperienceWindows10ConfigMgr/2-Update.ps1
PowerShell
mit
2,267
Dev
2,446
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneAntivirusPolicySecurityExperienceWindows10ConfigMgr/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,087
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneAntivirusPolicySecurityExperienceWindows10ConfigMgr/1-Create.ps1
PowerShell
mit
2,267
Dev
2,427
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDerivedCredential/1-Create.ps1
PowerShell
mit
2,267
Dev
860
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDerivedCredential/3-Remove.ps1
PowerShell
mit
2,267
Dev
859
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADGroupsNamingPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
826
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADGroupsNamingPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
986
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneApplicationControlPolicyWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
971
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneApplicationControlPolicyWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
1,177
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneApplicationControlPolicyWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
1,157
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADNamedLocationPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
799
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADNamedLocationPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
955
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADNamedLocationPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
950
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/SCUnifiedAuditLogRetentionPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
960
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneManagedInstallerPolicyWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
1,507
<# This example creates a new Intune Mobile App Configuration Policy for iOs devices #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Cert...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneManagedInstallerPolicyWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
1,527
<# This example creates a new Intune Mobile App Configuration Policy for iOs devices #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Cert...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneManagedInstallerPolicyWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
868
<# This example creates a new Intune Mobile App Configuration Policy for iOs devices #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Cert...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationPolicyAndroidWorkProfile/2-Update.ps1
PowerShell
mit
2,267
Dev
2,305
<# This example creates a new General Device Configuration Policy for Android WorkProfile . #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationPolicyAndroidWorkProfile/3-Remove.ps1
PowerShell
mit
2,267
Dev
897
<# This example creates a new General Device Configuration Policy for Android WorkProfile . #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationPolicyAndroidWorkProfile/1-Create.ps1
PowerShell
mit
2,267
Dev
2,287
<# This example creates a new General Device Configuration Policy for Android WorkProfile . #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADServicePrincipal/2-Update.ps1
PowerShell
mit
2,267
Dev
1,446
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADServicePrincipal/3-Remove.ps1
PowerShell
mit
2,267
Dev
897
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADServicePrincipal/1-Create.ps1
PowerShell
mit
2,267
Dev
1,427
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneMobileAppsLobAppMsiWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
2,112
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneMobileAppsLobAppMsiWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
857
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneMobileAppsLobAppMsiWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
2,094
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceCategory/3-Remove.ps1
PowerShell
mit
2,267
Dev
696
<# This example creates a new Device Category. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ) Import-Dsc...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceCategory/2-Update.ps1
PowerShell
mit
2,267
Dev
771
<# This example creates a new Device Category. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ) Import-Dsc...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceCategory/1-Create.ps1
PowerShell
mit
2,267
Dev
742
<# This example creates a new Device Category. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ) Import-Dsc...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/SPOTheme/1-Create.ps1
PowerShell
mit
2,267
Dev
959
<# 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 M...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/SPOTheme/3-Remove.ps1
PowerShell
mit
2,267
Dev
545
<# 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 M...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10V2/3-Remove.ps1
PowerShell
mit
2,267
Dev
961
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10V2/2-Update.ps1
PowerShell
mit
2,267
Dev
4,085
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationDeliveryOptimizationPolicyWindows10V2/1-Create.ps1
PowerShell
mit
2,267
Dev
4,085
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/TeamsChannel/1-Create.ps1
PowerShell
mit
2,267
Dev
1,013
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOMailboxFolderPermission/1-Create.ps1
PowerShell
mit
2,267
Dev
1,548
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOMailboxFolderPermission/2-Update.ps1
PowerShell
mit
2,267
Dev
1,526
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationPolicyiOS/1-Create.ps1
PowerShell
mit
2,267
Dev
8,120
<# This example creates a new Device Configuration Policy for iOS. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationPolicyiOS/3-Remove.ps1
PowerShell
mit
2,267
Dev
821
<# This example creates a new Device Configuration Policy for iOS. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationPolicyiOS/2-Update.ps1
PowerShell
mit
2,267
Dev
8,138
<# This example creates a new Device Configuration Policy for iOS. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADAccessReviewPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
853
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/TeamsChannelsPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
1,331
<# This example adds a new Teams Channels Policy. #> Configuration Example { param ( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ) I...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneCloudProvisioningPolicyWindows365/1-Create.ps1
PowerShell
mit
2,267
Dev
2,457
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneCloudProvisioningPolicyWindows365/3-Remove.ps1
PowerShell
mit
2,267
Dev
909
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneCloudProvisioningPolicyWindows365/2-Update.ps1
PowerShell
mit
2,267
Dev
2,473
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AzureRoleEligibilityScheduleRequest/2-Update.ps1
PowerShell
mit
2,267
Dev
1,216
<# This example updates an existing Azure PIM role eligibility schedule. #> Configuration Example { param ( [Parameter(Mandatory = $true)] [PSCredential] $Credential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { AzureRoleEligibilityScheduleR...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AzureRoleEligibilityScheduleRequest/5-RootManagementGroupEligibility.ps1
PowerShell
mit
2,267
Dev
1,206
<# This example creates an Azure PIM role eligibility schedule at the root management group level. #> Configuration Example { param ( [Parameter(Mandatory = $true)] [PSCredential] $Credential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { Azu...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AzureRoleEligibilityScheduleRequest/4-ManagementGroupEligibility.ps1
PowerShell
mit
2,267
Dev
1,261
<# This example creates an Azure PIM role eligibility schedule at management group level. #> Configuration Example { param ( [Parameter(Mandatory = $true)] [PSCredential] $Credential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { AzureRoleEli...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AzureRoleEligibilityScheduleRequest/3-Remove.ps1
PowerShell
mit
2,267
Dev
813
<# This example removes an Azure PIM role eligibility schedule. #> Configuration Example { param ( [Parameter(Mandatory = $true)] [PSCredential] $Credential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { AzureRoleEligibilityScheduleRequest "R...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AzureRoleEligibilityScheduleRequest/1-Create.ps1
PowerShell
mit
2,267
Dev
1,240
<# This example creates a new Azure PIM role eligibility schedule at subscription level. #> Configuration Example { param ( [Parameter(Mandatory = $true)] [PSCredential] $Credential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { AzureRoleElig...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADAgreement/1-Create.ps1
PowerShell
mit
2,267
Dev
1,330
<# This example creates a new Azure AD Terms of Use Agreement. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADAgreement/3-Remove.ps1
PowerShell
mit
2,267
Dev
723
<# This example removes an existing Azure AD Terms of Use Agreement. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprin...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADAgreement/2-Update.ps1
PowerShell
mit
2,267
Dev
1,420
<# This example creates a Terms of Use Agreement that requires re-acceptance every 30 days on each device. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADFilteringProfile/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,511
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADFilteringProfile/2-Update.ps1
PowerShell
mit
2,267
Dev
1,519
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADFilteringProfile/1-Create.ps1
PowerShell
mit
2,267
Dev
1,512
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOSharingPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
980
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOSharingPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
999
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOSharingPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
1,000
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceFeaturesConfigurationPolicyIOS/1-Create.ps1
PowerShell
mit
2,267
Dev
3,933
<# This example creates a new Intune Device Features Configuration Policy for IOS. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Certifi...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceFeaturesConfigurationPolicyIOS/2-Update.ps1
PowerShell
mit
2,267
Dev
3,954
<# This example creates a new Intune Device Features Configuration Policy for IOS. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Certifi...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceFeaturesConfigurationPolicyIOS/3-Remove.ps1
PowerShell
mit
2,267
Dev
832
<# This example creates a new Intune Device Features Configuration Policy for IOS. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Certifi...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/SPOApp/3-Remove.ps1
PowerShell
mit
2,267
Dev
614
<# 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 M...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/SPOApp/1-Create.ps1
PowerShell
mit
2,267
Dev
615
<# 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 M...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADTokenIssuancePolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
1,119
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADTokenIssuancePolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,121
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADTokenIssuancePolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
1,122
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADIdentityB2XUserFlow/2-Update.ps1
PowerShell
mit
2,267
Dev
2,848
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADIdentityB2XUserFlow/3-Remove.ps1
PowerShell
mit
2,267
Dev
813
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADEntitlementManagementAccessPackageAssignmentPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
1,848
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADEntitlementManagementAccessPackageAssignmentPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
890
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADEntitlementManagementAccessPackageAssignmentPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
1,867
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/TeamsTenantTrustedIPAddress/1-Create.ps1
PowerShell
mit
2,267
Dev
621
<# 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 M...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOManagementRoleEntry/2-Update.ps1
PowerShell
mit
2,267
Dev
868
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADPasswordRuleSettings/2-Update.ps1
PowerShell
mit
2,267
Dev
1,225
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationTrustedCertificatePolicyWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
2,700
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationTrustedCertificatePolicyWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
2,720
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationTrustedCertificatePolicyWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
852
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADAuthenticationMethodPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
1,898
<# 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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...