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/SCSensitivityLabel/2-Update.ps1
PowerShell
mit
2,267
Dev
6,365
<# 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/SCSensitivityLabel/1-Create.ps1
PowerShell
mit
2,267
Dev
4,258
<# 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/IntuneMobileAppsMicrosoftStoreAppWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
935
<# 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/IntuneMobileAppsMicrosoftStoreAppWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
2,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/IntuneMobileAppsMicrosoftStoreAppWindows10/1-Create.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/SPOTenantCDNPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
686
<# 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/SPOSearchManagedProperty/1-Create.ps1
PowerShell
mit
2,267
Dev
1,490
<# 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/IntuneWifiConfigurationPolicyWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
1,761
<# 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/IntuneWifiConfigurationPolicyWindows10/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/IntuneWifiConfigurationPolicyWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
1,781
<# 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/EXOMalwareFilterRule/1-Create.ps1
PowerShell
mit
2,267
Dev
1,078
<# 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/EXOMalwareFilterRule/2-Update.ps1
PowerShell
mit
2,267
Dev
1,098
<# 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/EXOMalwareFilterRule/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/SCRetentionEventType/1-Create.ps1
PowerShell
mit
2,267
Dev
603
<# 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/TeamsAIPolicy/1-Create.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(Mandatory = $true)] [PSCredential] $Credscredential ) Import-DscResource -ModuleName M...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/TeamsAIPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
779
<# 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/TeamsAIPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
1,062
<# 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/SCComplianceSearch/1-Create.ps1
PowerShell
mit
2,267
Dev
951
<# 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/AADApplication/2-Update.ps1
PowerShell
mit
2,267
Dev
2,560
<# 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/AADApplication/3-Remove.ps1
PowerShell
mit
2,267
Dev
803
<# 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/AADApplication/1-Create.ps1
PowerShell
mit
2,267
Dev
2,283
<# 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/TeamsClientConfiguration/2-Update.ps1
PowerShell
mit
2,267
Dev
1,235
<# 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/IntuneAppConfigurationPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
1,451
<# This example creates a new App Configuration 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/IntuneAppConfigurationPolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
1,472
<# This example creates a new App Configuration 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/IntuneAppConfigurationPolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
758
<# This example creates a new App Configuration 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/IntuneDeviceManagementEnrollmentAndroidGooglePlay/3-Remove.ps1
PowerShell
mit
2,267
Dev
894
<# 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/EXOPolicyTipConfig/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/EXOPolicyTipConfig/2-Update.ps1
PowerShell
mit
2,267
Dev
962
<# 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/EXOPolicyTipConfig/1-Create.ps1
PowerShell
mit
2,267
Dev
935
<# 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/EXOReportSubmissionPolicy/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/EXOIRMConfiguration/2-Update.ps1
PowerShell
mit
2,267
Dev
1,747
<# 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/TeamsGuestMeetingConfiguration/2-Update.ps1
PowerShell
mit
2,267
Dev
794
<# 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/TeamsEmergencyCallingPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
770
<# This example adds a new Teams Emergency Calling Policy. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $Credscredential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { TeamsEmergencyCallingPolicy 'ConfigureEmerge...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADTokenLifetimePolicy/3-Remove.ps1
PowerShell
mit
2,267
Dev
832
<# 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/AADTokenLifetimePolicy/2-Update.ps1
PowerShell
mit
2,267
Dev
1,003
<# 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/AADTokenLifetimePolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
997
<# 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/AADIdentityAPIConnector/1-Create.ps1
PowerShell
mit
2,267
Dev
1,179
<# 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/AADIdentityAPIConnector/2-Update.ps1
PowerShell
mit
2,267
Dev
1,188
<# 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/AADIdentityAPIConnector/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,178
<# 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/EXOAuthenticationPolicyAssignment/1-Create.ps1
PowerShell
mit
2,267
Dev
921
<# 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/EXOAuthenticationPolicyAssignment/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()] [System.String] $ApplicationId, [Parameter()] [System.String] $Ten...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOAuthenticationPolicyAssignment/2-Update.ps1
PowerShell
mit
2,267
Dev
2,029
<# 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/AADSocialIdentityProvider/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,016
<# 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/AADSocialIdentityProvider/2-Update.ps1
PowerShell
mit
2,267
Dev
1,017
<# 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/AADSocialIdentityProvider/1-Create.ps1
PowerShell
mit
2,267
Dev
990
<# 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/IntuneWifiConfigurationPolicyAndroidOpenSourceProject/1-Create.ps1
PowerShell
mit
2,267
Dev
1,538
<# 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/IntuneWifiConfigurationPolicyAndroidOpenSourceProject/3-Remove.ps1
PowerShell
mit
2,267
Dev
886
<# 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/IntuneWifiConfigurationPolicyAndroidOpenSourceProject/2-Update.ps1
PowerShell
mit
2,267
Dev
1,568
<# 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/EXOMailboxPermission/2-Update.ps1
PowerShell
mit
2,267
Dev
1,046
<# 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/IntuneDeviceControlPolicyWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
2,079
<# This example creates a new Device Control Policy. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] $CertificateThumbprint ) Impo...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceControlPolicyWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
2,093
<# This example updates 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/IntuneDeviceControlPolicyWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
789
<# 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/AADRoleManagementPolicyRule/2-Update.ps1
PowerShell
mit
2,267
Dev
1,173
<# 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/O365Group/3-Remove.ps1
PowerShell
mit
2,267
Dev
836
<# 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/O365Group/2-Update.ps1
PowerShell
mit
2,267
Dev
843
<# 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/O365Group/1-Create.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(Mandatory = $true)] [PSCredential] $Credscredential ) Import-DscResource -ModuleName M...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/TeamsOnlineVoiceUser/1-Create.ps1
PowerShell
mit
2,267
Dev
586
<# This example adds a new Teams Voice Route. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $credsCredential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { TeamsOnlineVOiceUser 'AssignVoiceUser' { ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneEndpointDetectionAndResponsePolicyMacOS/1-Create.ps1
PowerShell
mit
2,267
Dev
990
<# 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/IntuneEndpointDetectionAndResponsePolicyMacOS/2-Update.ps1
PowerShell
mit
2,267
Dev
1,008
<# 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/IntuneEndpointDetectionAndResponsePolicyMacOS/3-Remove.ps1
PowerShell
mit
2,267
Dev
817
<# 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/TeamsUserCallingSettings/1-Create.ps1
PowerShell
mit
2,267
Dev
602
<# This example adds a new Teams Channels Policy. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $credsCredential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { TeamsUserCallingSettings 'AssignCallingSettings' ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADRoleEligibilityScheduleRequest/2-Update.ps1
PowerShell
mit
2,267
Dev
1,264
<# 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 -Module...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADRoleEligibilityScheduleRequest/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,244
<# 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 -Module...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/AADRoleEligibilityScheduleRequest/1-Create.ps1
PowerShell
mit
2,267
Dev
1,245
<# 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 -Module...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneWindowsUpdateForBusinessHotpatchProfileWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
919
<# 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/IntuneWindowsUpdateForBusinessHotpatchProfileWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
939
<# 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/IntuneWindowsUpdateForBusinessHotpatchProfileWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
791
<# 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/TeamsTemplatesPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
667
<# This example adds a new Teams Calling Policy. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $credsTeamsAdmin ) Import-DscResource -ModuleName Microsoft365DSC node localhost { TeamsTemplatesPolicy "TeamsTemplatesPolicy-Example" ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/EXOManagementScope/1-Create.ps1
PowerShell
mit
2,267
Dev
1,027
<# 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/EXOManagementScope/2-Update.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/EXOManagementScope/3-Remove.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/IntuneEpmElevationRulesPolicyWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
2,903
<# 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/IntuneEpmElevationRulesPolicyWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
2,917
<# 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/IntuneEpmElevationRulesPolicyWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
866
<# 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/SCRetentionCompliancePolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
714
<# 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/EXOArcConfig/2-Update.ps1
PowerShell
mit
2,267
Dev
903
<# 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/IntuneFirewallRulesPolicyWindows10/3-Remove.ps1
PowerShell
mit
2,267
Dev
821
<# 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/IntuneFirewallRulesPolicyWindows10/2-Update.ps1
PowerShell
mit
2,267
Dev
1,826
<# 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/IntuneFirewallRulesPolicyWindows10/1-Create.ps1
PowerShell
mit
2,267
Dev
1,812
<# 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/AADVerifiedIdAuthority/1-Create.ps1
PowerShell
mit
2,267
Dev
1,255
<# 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/AADVerifiedIdAuthority/2-Update.ps1
PowerShell
mit
2,267
Dev
1,265
<# 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/AADVerifiedIdAuthority/3-Remove.ps1
PowerShell
mit
2,267
Dev
1,254
<# 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/TeamsUpdateManagementPolicy/1-Create.ps1
PowerShell
mit
2,267
Dev
878
<# This example demonstrates how to assign users to a Teams Upgrade Policy. #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $Credscredential ) Import-DscResource -ModuleName Microsoft365DSC node localhost { TeamsUpdateManagementPolicy...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/O365AdminAuditLogConfig/2-Update.ps1
PowerShell
mit
2,267
Dev
609
<# 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/IntuneDeviceEnrollmentLimitRestriction/3-Remove.ps1
PowerShell
mit
2,267
Dev
748
<# This example creates a new Device Enrollment Limit Restriction. #> 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/IntuneDeviceEnrollmentLimitRestriction/2-Update.ps1
PowerShell
mit
2,267
Dev
898
<# This example creates a new Device Enrollment Limit Restriction. #> 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/IntuneDeviceEnrollmentLimitRestriction/1-Create.ps1
PowerShell
mit
2,267
Dev
879
<# This example creates a new Device Enrollment Limit Restriction. #> 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/IntuneWifiConfigurationPolicyAndroidForWork/1-Create.ps1
PowerShell
mit
2,267
Dev
1,831
<# 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/IntuneWifiConfigurationPolicyAndroidForWork/2-Update.ps1
PowerShell
mit
2,267
Dev
1,850
<# 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/IntuneWifiConfigurationPolicyAndroidForWork/3-Remove.ps1
PowerShell
mit
2,267
Dev
854
<# 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/IntuneFirewallRulesPolicyWindows10ConfigMgr/1-Create.ps1
PowerShell
mit
2,267
Dev
1,912
<# This example creates a new Intune Firewall Rules Policy for Windows10 Configuration Manager. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneFirewallRulesPolicyWindows10ConfigMgr/2-Update.ps1
PowerShell
mit
2,267
Dev
1,926
<# This example updates a Intune Firewall Rules Policy for Windows10 Configuration Manager. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneFirewallRulesPolicyWindows10ConfigMgr/3-Remove.ps1
PowerShell
mit
2,267
Dev
892
<# This example removes a Intune Firewall Rules Policy for Windows10 Configuration Manager. #> Configuration Example { param( [Parameter()] [System.String] $ApplicationId, [Parameter()] [System.String] $TenantId, [Parameter()] [System.String] ...
github
Microsoft365DSC/Microsoft365DSC
https://github.com/Microsoft365DSC/Microsoft365DSC
Examples/Resources/IntuneDeviceConfigurationPlatformScriptMacOS/2-Update.ps1
PowerShell
mit
2,267
Dev
1,649
<# 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/IntuneDeviceConfigurationPlatformScriptMacOS/3-Remove.ps1
PowerShell
mit
2,267
Dev
903
<# 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/IntuneDeviceConfigurationPlatformScriptMacOS/1-Create.ps1
PowerShell
mit
2,267
Dev
1,630
<# 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/EXOOMEConfiguration/3-Remove.ps1
PowerShell
mit
2,267
Dev
835
<# 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/EXOOMEConfiguration/2-Update.ps1
PowerShell
mit
2,267
Dev
1,326
<# 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/EXOOMEConfiguration/1-Create.ps1
PowerShell
mit
2,267
Dev
1,307
<# 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/EXOIntraOrganizationConnector/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...