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 | Tests/Unit/Microsoft365DSC/Microsoft365DSC.PPPowerAppPolicyUrlPatterns.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 17,177 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SPOPropertyBag.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 4,925 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOATPBuiltInProtectionRule.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 4,065 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsChannel.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,300 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADIdentityB2XUserFlow.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 14,101 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceControlPolicySetting.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 19,369 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceConfigurationSCEPCertificatePolicyWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 16,268 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SCComplianceCase.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,223 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMailboxFolderPermission.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,562 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOJournalRule.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,525 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADGroupEligibilityScheduleSettings.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 11,433 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneEndpointDetectionAndResponsePolicyWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 16,997 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMailboxPlan.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,914 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceFeaturesConfigurationPolicyIOS.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 28,305 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsUpgradePolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 3,770 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsChannelsPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 9,052 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOManagementRole.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,774 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADLifecycleWorkflowSettings.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 4,441 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneTrustedRootCertificateAndroidDeviceOwner.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 11,181 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceManagementEnrollmentAndroidGooglePlay.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,694 | [CmdletBinding()]
param()
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot -ChildPath '..\..\Unit' -Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder -ChildPath '\Stubs\Microsoft365.psm1' -Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder -ChildPath '\Stubs\Generic.psm1' -Resolve)
Import-Modul... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADHomeRealmDiscoveryPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 9,215 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneMobileAppsLobAppiOS.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 22,742 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SPOStorageEntity.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 9,449 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneWindowsUpdateForBusinessHotpatchProfileWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,126 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsUser.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,383 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.M365DSCRuleEvaluation.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 3,308 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.PlannerBucket.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,844 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneMobileAppsLobAppAndroid.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 23,413 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceEnrollmentStatusPageWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 16,395 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOAuthenticationPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 9,426 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADUserFlowAttribute.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,369 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADCrossTenantIdentitySyncPolicyPartner.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 9,158 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXODataEncryptionPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,226 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsTenantNetworkSite.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,811 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMailboxPermission.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,217 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADTenantDetails.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,808 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SCDLPComplianceRule.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 17,963 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SPOOrgAssetsLibrary.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,253 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceComplianceScriptWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,856 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsVoiceRoutingPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,499 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.O365Group.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,748 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SCDLPCompliancePolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,542 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SCFilePlanPropertyDepartment.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,334 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADPIMGroupSetting.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 43,636 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneWindowsBackupForOrganizationConfiguration.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 4,926 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneAppConfigurationDevicePolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,952 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceCompliancePolicyMacOS.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 13,594 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsClientConfiguration.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,749 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOMailboxSettings.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 4,035 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AzureBillingAccountsRoleAssignment.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,579 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsAudioConferencingPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,768 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AzureBillingAccountPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,166 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOAntiPhishRule.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,307 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOTransportConfig.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 13,884 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOSafeLinksPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,485 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneSettingCatalogCustomPolicyWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 40,197 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.EXOPolicyTipConfig.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,218 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneAlertRuleWindows365.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,519 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsCallParkPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,180 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADRoleSetting.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 31,325 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADGroupsSettings.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,818 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneDeviceComplianceScriptLinux.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,248 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADDomain.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,314 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADGroupLifecyclePolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,130 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneAppProtectionPolicyWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 17,359 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SCSupervisoryReviewRule.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,928 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SPOBrowserIdleSignout.ps1 | PowerShell | mit | 2,267 | Dev | 3,583 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsIPPhonePolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,305 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.SCAutoSensitivityLabelPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 9,123 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.TeamsMeetingBroadcastConfiguration.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,221 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.IntuneMobileAppsSystemAppAndroid.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,504 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADVerifiedIdAuthority.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,570 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADCrossTenantAccessPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 4,350 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | generator/scripts/Build-Workloads.ps1 | PowerShell | mit | 2,267 | Dev | 1,872 | param(
[switch]$Force
)
$currentDirectory = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
[String]$DataPath = Join-Path -Path $currentDirectory -ChildPath "../public/data"
[String]$ResourcesOutputPath = "$DataPath/resources.json"
[String]$WorkloadsOutputPath = "$DataPath/workloads.json"
Push-Locatio... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Utilities/Build-DllFiles.ps1 | PowerShell | mit | 2,267 | Dev | 6,248 | <#
.SYNOPSIS
Builds the Microsoft365DSC C# projects and copies the DLLs to the module dependencies folder.
.DESCRIPTION
This script builds the Microsoft365DSC C# projects targeting netstandard2.0 and copies the resulting
DLLs to the Microsoft365DSC module's Dependencies/Assemblies directory.
.PARAMETER Co... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Utilities/Build-ComparisonMetadata.ps1 | PowerShell | mit | 2,267 | Dev | 8,904 | <#
.SYNOPSIS
Scans all M365DSC resources for custom comparison parameters and generates ComparisonMetadata.json
.DESCRIPTION
This script analyzes all DSC resources in the Microsoft365DSC module to identify resources
that have a Get-CompareParameters function. It extracts the comparison logic
(ExcludedP... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/Import-M365DSCDllLoaderModule.ps1 | PowerShell | mit | 2,267 | Dev | 265 | # Because modules are imported in alphabetical order using NestedModules in the module manifest,
# we need to import the DLL Loader module before everything else with ScriptsToProcess
Import-Module -Name "$PSScriptRoot/Modules/M365DSCDllLoader.psm1" -Global -Force |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/Show-PwshWarning.ps1 | PowerShell | mit | 2,267 | Dev | 499 | if ($PSVersionTable.PSEdition -eq 'Core')
{
return
}
Write-Warning -Message 'Starting October 2026, PowerShell 7 will be required to be installed when using Microsoft365DSC.'
Write-Warning -Message 'It is recommended to start planning for this new requirement and ensure that PowerShell 7 is installed and configure... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/Microsoft365DSC.psd1 | PowerShell | mit | 2,267 | Dev | 6,712 | #
# Module manifest for module 'Microsoft365DSC'
#
# Generated by: Microsoft Corporation
#
# Generated on: 2026-04-22
@{
# Script module or binary module file associated with this manifest.
# RootModule = ''
# Version number of this module.
ModuleVersion = '1.26.422.1'
# Supported PSEditions
# Compat... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_AADCrossTenantAccessPolicyConfigurationPartner/MSFT_AADCrossTenantAccessPolicyConfigurationPartner.psm1 | PowerShell | mit | 2,267 | Dev | 34,309 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_AADCrossTenantAccessPolicyConfigurationPartner'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$PartnerTenantId,
[Param... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_EXORetentionPolicyTag/MSFT_EXORetentionPolicyTag.psm1 | PowerShell | mit | 2,267 | Dev | 12,163 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_EXORetentionPolicyTag'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Identity,
[Parameter()]
[System.String]
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_SCRecordReviewNotificationTemplateConfig/MSFT_SCRecordReviewNotificationTemplateConfig.psm1 | PowerShell | mit | 2,267 | Dev | 10,299 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_SCRecordReviewNotificationTemplateConfig'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[ValidateSet('Yes')]
[System.String]
$IsSingleI... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_SCPolicyConfig/MSFT_SCPolicyConfig.psm1 | PowerShell | mit | 2,267 | Dev | 54,609 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_SCPolicyConfig'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[ValidateSet('Yes')]
[System.String]
$IsSingleInstance,
[Paramet... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_IntuneAppControlForBusinessPolicyWindows10/MSFT_IntuneAppControlForBusinessPolicyWindows10.psm1 | PowerShell | mit | 2,267 | Dev | 20,661 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_IntuneAppControlForBusinessPolicyWindows10'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
#region resource generator code
[Parameter()]
[System.String]
$Description,
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_IntuneMobileAppsLobAppAndroid/MSFT_IntuneMobileAppsLobAppAndroid.psm1 | PowerShell | mit | 2,267 | Dev | 27,158 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_IntuneMobileAppsLobAppAndroid'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
#region resource generator code
[Parameter()]
[System.String]
$Id,
[Parameter(Ma... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10/MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10.psm1 | PowerShell | mit | 2,267 | Dev | 40,103 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_IntuneWindowsUpdateForBusinessRingUpdateProfileWindows10'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
#region resource generator code
[Parameter()]
[System.String]
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_SCRetentionEventType/MSFT_SCRetentionEventType.psm1 | PowerShell | mit | 2,267 | Dev | 10,324 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_SCRetentionEventType'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Name,
[Parameter()]
[System.String]
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_PlannerTask/MSFT_PlannerTask.psm1 | PowerShell | mit | 2,267 | Dev | 31,175 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_PlannerTask'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$PlanId,
[Parameter(Mandatory = $true)]
[System.Str... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailboxAutoReplyConfiguration/MSFT_EXOMailboxAutoReplyConfiguration.psm1 | PowerShell | mit | 2,267 | Dev | 14,580 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_EXOMailboxAutoReplyConfiguration'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Identity,
[Parameter()]
[Syst... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_EXOMalwareFilterRule/MSFT_EXOMalwareFilterRule.psm1 | PowerShell | mit | 2,267 | Dev | 14,736 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_EXOMalwareFilterRule'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Identity,
[Parameter()]
[ValidateLength (... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_AADGroupsNamingPolicy/MSFT_AADGroupsNamingPolicy.psm1 | PowerShell | mit | 2,267 | Dev | 11,771 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_AADGroupsNamingPolicy'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[ValidateSet('Yes')]
[System.String]
$IsSingleInstance,
[... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleEligibilityScheduleRequest/MSFT_AADRoleEligibilityScheduleRequest.psm1 | PowerShell | mit | 2,267 | Dev | 33,887 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_AADRoleEligibilityScheduleRequest'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Principal,
[Parameter(Mandatory = $t... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_EXOTransportConfig/MSFT_EXOTransportConfig.psm1 | PowerShell | mit | 2,267 | Dev | 18,871 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_EXOTransportConfig'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[ValidateSet('Yes')]
[System.String]
$IsSingleInstance,
[Par... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_AADSecurityDefaults/MSFT_AADSecurityDefaults.psm1 | PowerShell | mit | 2,267 | Dev | 9,543 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_AADSecurityDefaults'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[ValidateSet('Yes')]
[System.String]
$IsSingleInstance,
[Pa... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_EXOMailboxCalendarFolder/MSFT_EXOMailboxCalendarFolder.psm1 | PowerShell | mit | 2,267 | Dev | 13,773 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_EXOMailboxCalendarFolder'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Identity,
[Parameter()]
[ValidateSet(... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_AADRoleDefinition/MSFT_AADRoleDefinition.psm1 | PowerShell | mit | 2,267 | Dev | 14,531 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_AADRoleDefinition'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$DisplayName,
[Parameter()]
[System.String]
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10/MSFT_IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10.psm1 | PowerShell | mit | 2,267 | Dev | 21,340 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
#region resource generator code
[Parameter()]
[System.Boolean]
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_SHSpaceGroup/MSFT_SHSpaceGroup.psm1 | PowerShell | mit | 2,267 | Dev | 14,115 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_SHSpaceGroup'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$SpaceName,
[Parameter(Mandatory = $true)]
[System... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_SentinelThreatIntelligenceIndicator/MSFT_SentinelThreatIntelligenceIndicator.psm1 | PowerShell | mit | 2,267 | Dev | 23,662 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_SentinelThreatIntelligenceIndicator'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$DisplayName,
[Parameter(Mandatory ... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Modules/Microsoft365DSC/DSCResources/MSFT_EXOHostedOutboundSpamFilterRule/MSFT_EXOHostedOutboundSpamFilterRule.psm1 | PowerShell | mit | 2,267 | Dev | 16,711 | Confirm-M365DSCModuleDependency -ModuleName 'MSFT_EXOHostedOutboundSpamFilterRule'
function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
[Parameter(Mandatory = $true)]
[System.String]
$Identity,
[Parameter(Mandatory = $true... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.