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/IntuneMobileAppsLobAppWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
2,172
<# 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/IntuneDeviceCleanupRuleV2/1-Create.ps1
PowerShell
mit
2,267
Dev
915
<# This example creates a device cleanup rule. #> 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/IntuneDeviceCleanupRuleV2/2-Update.ps1
PowerShell
mit
2,267
Dev
934
<# This example updates a device cleanup rule. #> 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/IntuneDeviceCleanupRuleV2/3-Remove.ps1
PowerShell
mit
2,267
Dev
706
<# This example removes a device cleanup rule. #> 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/AADAuthenticationMethodPolicyVoice/3-Remove.ps1
PowerShell
mit
2,267
Dev
849
<# 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/EXOSafeAttachmentRule/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,128
<# 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/EXOSafeAttachmentRule/2-Update.ps1
PowerShell
mit
2,267
Dev
1,211
<# 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/EXOSafeAttachmentRule/1-Create.ps1
PowerShell
mit
2,267
Dev
1,191
<# 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/IntuneExploitProtectionPolicyWindows10SettingCatalog/2-Update.ps1
PowerShell
mit
2,267
Dev
7,353
<# 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/IntuneExploitProtectionPolicyWindows10SettingCatalog/3-Remove.ps1
PowerShell
mit
2,267
Dev
923
<# 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/IntuneExploitProtectionPolicyWindows10SettingCatalog/1-Create.ps1
PowerShell
mit
2,267
Dev
7,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/EXOMailContact/1-Create.ps1
PowerShell
mit
2,267
Dev
1,574
<# 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/EXOMailContact/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,342
<# 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/EXOMailContact/2-Update.ps1
PowerShell
mit
2,267
Dev
1,594
<# 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/TeamsEventsPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
671
<# This example adds a new Teams Events Policy. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $credsTeamsAdmin ) Import-DscResource -ModuleName Microsoft365DSC node localhost { TeamsEventsPolicy 'ConfigureEventsPolicy' { ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/PPTenantSettings/2-Update.ps1
PowerShell
mit
2,267
Dev
1,369
<# This example sets Power Platform tenant settings. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $Credscredential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { PPTenantSettings 'PowerPlatformTenantSettings' { IsSingleInstance ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOMobileDeviceMailboxPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
4,183
<# 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/EXOMobileDeviceMailboxPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
875
<# 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/EXOMobileDeviceMailboxPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
4,203
<# 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/IntuneAndroidManagedStoreAppConfiguration/1-Create.ps1
PowerShell
mit
2,267
Dev
1,834
<# 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/IntuneAndroidManagedStoreAppConfiguration/2-Update.ps1
PowerShell
mit
2,267
Dev
1,848
<# 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/IntuneAndroidManagedStoreAppConfiguration/3-Remove.ps1
PowerShell
mit
2,267
Dev
945
<# 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/SPOAccessControlSettings/2-Update.ps1
PowerShell
mit
2,267
Dev
1,034
<# 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/IntuneDeviceConfigurationCustomPolicyiOS/2-Update.ps1
PowerShell
mit
2,267
Dev
1,161
<# This example updates a new Intune Custom Configuration Policy for iOs devices #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Certific...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationCustomPolicyiOS/3-Remove.ps1
PowerShell
mit
2,267
Dev
943
<# This example removes a new Intune Custom Configuration Policy for iOs devices #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Certific...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationCustomPolicyiOS/1-Create.ps1
PowerShell
mit
2,267
Dev
1,149
<# This example creates a new Intune Custom Configuration Policy for iOs devices #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Certific...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOManagementRole/1-Create.ps1
PowerShell
mit
2,267
Dev
926
<# 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/EXOManagementRole/2-Update.ps1
PowerShell
mit
2,267
Dev
964
<# 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/EXOManagementRole/3-Remove.ps1
PowerShell
mit
2,267
Dev
977
<# 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/IntuneTermsAndConditions/1-Create.ps1
PowerShell
mit
2,267
Dev
1,638
<# 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/IntuneTermsAndConditions/2-Update.ps1
PowerShell
mit
2,267
Dev
1,676
<# 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/IntuneTermsAndConditions/3-Remove.ps1
PowerShell
mit
2,267
Dev
948
<# 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/EXOAtpPolicyForO365/2-Update.ps1
PowerShell
mit
2,267
Dev
815
<# 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/AzureBillingAccountPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
1,212
<# 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/AADCrossTenantIdentitySyncPolicyPartner/1-Create.ps1
PowerShell
mit
2,267
Dev
1,201
<# 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/AADCrossTenantIdentitySyncPolicyPartner/2-Update.ps1
PowerShell
mit
2,267
Dev
1,202
<# 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/AADCrossTenantIdentitySyncPolicyPartner/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,200
<# 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/SCSecurityFilter/1-Create.ps1
PowerShell
mit
2,267
Dev
839
<# 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/IntuneMobileAppsSystemAppAndroid/3-Remove.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] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneMobileAppsSystemAppAndroid/2-Update.ps1
PowerShell
mit
2,267
Dev
1,382
<# 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/IntuneMobileAppsSystemAppAndroid/1-Create.ps1
PowerShell
mit
2,267
Dev
1,376
<# 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/AADCertificateBasedApplicationConfiguration/1-Create.ps1
PowerShell
mit
2,267
Dev
1,325
<# This example creates a certificate-based application configuration with trusted certificate authorities. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [Syste...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADCertificateBasedApplicationConfiguration/3-Remove.ps1
PowerShell
mit
2,267
Dev
786
<# This example removes a certificate-based application configuration. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbpr...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADCertificateBasedApplicationConfiguration/2-Update.ps1
PowerShell
mit
2,267
Dev
1,671
<# This example updates an existing certificate-based application configuration. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $Certific...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/SCProtectionAlert/1-Create.ps1
PowerShell
mit
2,267
Dev
1,259
<# 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/EXOAntiPhishRule/1-Create.ps1
PowerShell
mit
2,267
Dev
987
<# 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/EXOAntiPhishRule/2-Update.ps1
PowerShell
mit
2,267
Dev
1,076
<# 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/EXOAntiPhishRule/3-Remove.ps1
PowerShell
mit
2,267
Dev
874
<# 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/TeamsAppPermissionPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
933
<# 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/TeamsAppPermissionPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
915
<# 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/EXOCASMailboxPlan/2-Update.ps1
PowerShell
mit
2,267
Dev
1,018
<# 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/TeamsAudioConferencingPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
682
<# 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/IntuneAccountProtectionPolicyWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
838
<# 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/IntuneAccountProtectionPolicyWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
1,300
<# 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/IntuneAccountProtectionPolicyWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
1,281
<# 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/IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile/1-Create.ps1
PowerShell
mit
2,267
Dev
1,556
<# 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/IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile/3-Remove.ps1
PowerShell
mit
2,267
Dev
906
<# 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/IntuneWifiConfigurationPolicyAndroidEnterpriseWorkProfile/2-Update.ps1
PowerShell
mit
2,267
Dev
1,574
<# 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/IntuneCorporateDeviceIdentifier/1-Create.ps1
PowerShell
mit
2,267
Dev
1,413
<# This example creates corporate device identifiers in Intune. #> 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/IntuneCorporateDeviceIdentifier/3-Remove.ps1
PowerShell
mit
2,267
Dev
736
<# This example removes all corporate device identifiers from Intune. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbpri...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneCorporateDeviceIdentifier/2-Update.ps1
PowerShell
mit
2,267
Dev
1,748
<# This example updates corporate device identifiers by adding an additional device. #> 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/SCComplianceCase/1-Create.ps1
PowerShell
mit
2,267
Dev
661
<# 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/SCRetentionComplianceRule/1-Create.ps1
PowerShell
mit
2,267
Dev
825
<# 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/EXOOutboundConnector/3-Remove.ps1
PowerShell
mit
2,267
Dev
856
<# 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/EXOOutboundConnector/2-Update.ps1
PowerShell
mit
2,267
Dev
1,546
<# 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/SCDeviceConditionalAccessRule/1-Create.ps1
PowerShell
mit
2,267
Dev
2,160
<# 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/SCDeviceConditionalAccessRule/3-Remove.ps1
PowerShell
mit
2,267
Dev
916
<# 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/SCDeviceConditionalAccessRule/2-Update.ps1
PowerShell
mit
2,267
Dev
2,166
<# 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/EXOSafeAttachmentPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
981
<# 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/EXOSafeAttachmentPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
906
<# 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/EXOSafeAttachmentPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
1,001
<# 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/AADAuthenticationMethodPolicyQRCodeImage/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,296
<# 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/AADAuthenticationMethodPolicyQRCodeImage/2-Update.ps1
PowerShell
mit
2,267
Dev
1,297
<# 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/AADFilteringPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
932
<# 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/AADFilteringPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
939
<# 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/AADFilteringPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
931
<# 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/IntuneDiskEncryptionWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
1,331
<# 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/IntuneDiskEncryptionWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
1,357
<# 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/IntuneDiskEncryptionWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
861
<# 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/IntuneRoleScopeTag/3-Remove.ps1
PowerShell
mit
2,267
Dev
772
<# 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/IntuneRoleScopeTag/2-Update.ps1
PowerShell
mit
2,267
Dev
773
<# 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/IntuneRoleScopeTag/1-Create.ps1
PowerShell
mit
2,267
Dev
728
<# 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/EXOGlobalAddressList/3-Remove.ps1
PowerShell
mit
2,267
Dev
866
<# 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/EXOGlobalAddressList/2-Update.ps1
PowerShell
mit
2,267
Dev
1,049
<# 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/EXOGlobalAddressList/1-Create.ps1
PowerShell
mit
2,267
Dev
1,096
<# 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/TeamsShiftsPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
1,187
<# 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/SPOSharingSettings/2-Update.ps1
PowerShell
mit
2,267
Dev
1,904
<# 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/VivaEngagementRoleMember/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,670
<# 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/VivaEngagementRoleMember/1-Create.ps1
PowerShell
mit
2,267
Dev
1,676
<# 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/TeamsOrgWideAppSettings/2-Update.ps1
PowerShell
mit
2,267
Dev
627
<# 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/O365SearchAndIntelligenceConfigurations/2-Update.ps1
PowerShell
mit
2,267
Dev
865
<# 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 ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneFirewallRulesHyperVPolicyWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
1,760
<# This example updates a Intune Firewall Policy for Windows10. #> 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/IntuneFirewallRulesHyperVPolicyWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
841
<# This example removes a Device Control Policy. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ) Import-D...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneFirewallRulesHyperVPolicyWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
1,746
<# This example creates a new Intune Firewall Policy for Windows10. #> 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/IntuneDeviceEnrollmentScopeConfigurationMam/2-Update.ps1
PowerShell
mit
2,267
Dev
845
<# 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.Management.Automation.PSCredential] $Credential ) Import-DscResource ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/TeamsTranslationRule/1-Create.ps1
PowerShell
mit
2,267
Dev
666
<# 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/TeamsApplicationInstance/1-Create.ps1
PowerShell
mit
2,267
Dev
1,028
<# 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/SHSpaceUser/2-Update.ps1
PowerShell
mit
2,267
Dev
930
<# 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/SHSpaceUser/3-Remove.ps1
PowerShell
mit
2,267
Dev
952
<# 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/SHSpaceUser/1-Create.ps1
PowerShell
mit
2,267
Dev
953
<# 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...