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/IntuneDeviceConfigurationVpnPolicyWindows10/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 3,511 | <#
This example is used to test new resources and showcase the usage of new resources being worked on.
It is not meant to use as a production baseline.
#>
Configuration Example
{
param(
[Parameter()]
[System.String]
$ApplicationId,
[Parameter()]
[System.String]
$Ten... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Examples/Resources/IntuneAppCategory/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 927 | <#
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/IntuneAppCategory/3-Remove.ps1 | PowerShell | mit | 2,267 | Dev | 918 | <#
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/IntuneAppCategory/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 919 | <#
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/TeamsUnassignedNumberTreatment/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 789 | <#
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/IntuneMobileAppsLobAppAndroid/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 2,447 | <#
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/IntuneMobileAppsLobAppAndroid/3-Remove.ps1 | PowerShell | mit | 2,267 | Dev | 847 | <#
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/IntuneMobileAppsLobAppAndroid/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 2,447 | <#
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/IntuneDeviceConfigurationKioskPolicyWindows10/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 3,116 | <#
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/IntuneDeviceConfigurationKioskPolicyWindows10/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 3,135 | <#
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/IntuneDeviceConfigurationKioskPolicyWindows10/3-Remove.ps1 | PowerShell | mit | 2,267 | Dev | 858 | <#
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/EXOSafeLinksPolicy/3-Remove.ps1 | PowerShell | mit | 2,267 | Dev | 845 | <#
This example is used to test new resources and showcase the usage of new resources being worked on.
It is not meant to use as a production baseline.
#>
Configuration Example
{
param(
[Parameter()]
[System.String]
$ApplicationId,
[Parameter()]
[System.String]
$Ten... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Examples/Resources/EXOSafeLinksPolicy/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 1,205 | <#
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/EXOSafeLinksPolicy/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 1,185 | <#
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/AADCustomSecurityAttributeDefinition/3-Remove.ps1 | PowerShell | mit | 2,267 | Dev | 1,246 | <#
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/AADCustomSecurityAttributeDefinition/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 1,478 | <#
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/AADCustomSecurityAttributeDefinition/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 1,462 | <#
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/IntuneDefenderGlobalExclusionsPolicyLinux/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 1,462 | <#
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/IntuneDefenderGlobalExclusionsPolicyLinux/3-Remove.ps1 | PowerShell | mit | 2,267 | Dev | 859 | <#
This example is used to test new resources and showcase the usage of new resources being worked on.
It is not meant to use as a production baseline.
#>
Configuration Example
{
param(
[Parameter()]
[System.String]
$ApplicationId,
[Parameter()]
[System.String]
$Ten... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Examples/Resources/IntuneDefenderGlobalExclusionsPolicyLinux/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 1,486 | <#
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/TeamsPstnUsage/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 444 | <#
This example adds a new Teams PSTN Usage.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$Credscredential
)
Import-DscResource -ModuleName Microsoft365DSC
node localhost
{
TeamsPstnUsage 'ConfigurePstnUsage'
{
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Examples/Resources/DefenderSubscriptionPlan/2-Update.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/IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10/3-Remove.ps1 | PowerShell | mit | 2,267 | Dev | 917 | <#
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/IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 1,570 | <#
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/IntuneDeviceConfigurationDefenderOnboardingPolicyWindows10/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 12,221 | <#
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/EXOTenantAllowBlockListSpoofItems/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 1,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/EXOTenantAllowBlockListSpoofItems/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 1,036 | <#
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/EXOTenantAllowBlockListSpoofItems/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/EXOGroupSettings/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 1,900 | <#
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/EXOHostedContentFilterRule/2-Update.ps1 | PowerShell | mit | 2,267 | Dev | 1,189 | <#
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/EXOHostedContentFilterRule/3-Remove.ps1 | PowerShell | mit | 2,267 | Dev | 908 | <#
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/EXOHostedContentFilterRule/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 1,168 | <#
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/SPOSiteGroup/1-Create.ps1 | PowerShell | mit | 2,267 | Dev | 765 | <#
This example is used to test new resources and showcase the usage of new resources being worked on.
It is not meant to use as a production baseline.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$Credscredential
)
Import-DscResource -ModuleName M... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | ResourceGenerator/M365DSCResourceGenerator.psm1 | PowerShell | mit | 2,267 | Dev | 167,847 | function New-M365DSCResource
{
[CmdletBinding()]
param (
# Name for the new Resource
[Parameter()]
[System.String]
$ResourceName,
# Name of the Workload the resource is for.
[Parameter(Mandatory = $true)]
[ValidateSet('ExchangeOnline', 'Intune', `
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | ResourceGenerator/Templates/UnitTest.Template.ps1 | PowerShell | mit | 2,267 | Dev | 5,841 | [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 | ResourceGenerator/Templates/Module.Template.psm1 | PowerShell | mit | 2,267 | Dev | 12,087 | function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
#region resource generator code
<ParameterBlock><AssignmentsParam> #endregion
[Parameter()]
[ValidateSet('Present', 'Absent')]
[System.String]
$Ensure = 'P... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | ResourceGenerator/Templates/Example.Template.ps1 | PowerShell | mit | 2,267 | Dev | 567 | <#
This example is used to test new resources and showcase the usage of new resources being worked on.
It is not meant to use as a production baseline.
#>
Configuration Example
{
param
(
[Parameter()]
[System.String]
$ApplicationId,
[Parameter()]
[System.String]
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | ResourceGenerator/Templates/Module.Workloads.Template.psm1 | PowerShell | mit | 2,267 | Dev | 7,925 | function Get-TargetResource
{
[CmdletBinding()]
[OutputType([System.Collections.Hashtable])]
param
(
<ParameterBlock>
)
$null = New-M365DSCConnection -Workload '<#Workload#>' `
-InboundParameters $PSBoundParameters
#Ensure the proper dependencies are installed in the current enviro... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/TestHarness.psm1 | PowerShell | mit | 2,267 | Dev | 7,405 | function Invoke-TestHarness
{
[CmdletBinding()]
param
(
[Parameter()]
[System.String]
$TestResultsFile,
[Parameter()]
[System.String]
$DscTestsPath,
[Parameter()]
[Switch]
$IgnoreCodeCoverage,
[Parameter()]
[System.St... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Scripts/Get-TestCoverage.ps1 | PowerShell | mit | 2,267 | Dev | 1,212 | [CmdletBinding()]
param (
[Parameter(Mandatory = $true)]
[System.String]
$UnitTestFilePath
)
$moduleName = 'Pester'
$minVersion = '5.5.0'
$module = Get-Module -ListAvailable | Where-Object { $_.Name -eq $moduleName -and $_.Version -ge $minVersion }
if ($null -ne $module)
{
Write-Output "Module $modul... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/QA/Microsoft365DSC.TargetResourceParameters.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 11,087 | BeforeDiscovery {
$resourcesPath = Join-Path -Path $PSScriptRoot -ChildPath '..\..\Modules\Microsoft365DSC\DSCResources'
$schemaFiles = Get-ChildItem -Path $resourcesPath -Filter '*.schema.mof' -Recurse | ForEach-Object {
$psm1 = Get-ChildItem -Path $_.Directory.FullName -Filter '*.psm1' -File -ErrorAct... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/QA/Microsoft365DSC.ModuleManifest.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 411 | Describe -Name 'Checking Module Manifest' {
BeforeAll {
$manifestPath = Join-Path -Path $PSScriptRoot -ChildPath '..\..\Modules\Microsoft365DSC\Microsoft365DSC.psd1'
$manifest = Import-PowerShellDataFile -Path $manifestPath
}
It 'Release Notes property is less than 10.000 characters' {
... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/QA/Microsoft365DSC.SettingsJson.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 4,146 | BeforeDiscovery {
$resourcesPath = Join-Path -Path $PSScriptRoot -ChildPath '..\..\Modules\Microsoft365DSC\DSCResources'
$settingsFiles = Get-ChildItem -Path $resourcesPath -Filter '*.json' -Recurse | ForEach-Object {
@{
ResourceName = $_.Directory.Name
FullName = $_.FullName... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/QA/Microsoft365DSC.Resources.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,315 | BeforeDiscovery {
$resourcesPath = Join-Path -Path $PSScriptRoot -ChildPath '..\..\Modules\Microsoft365DSC\DSCResources'
$schemaFiles = Get-ChildItem -Path $resourcesPath -Filter '*.schema.mof' -Recurse | ForEach-Object {
@{
ResourceName = $_.Directory.Name
FullName = $_.Ful... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/QA/Microsoft365DSC.Examples.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 9,652 | BeforeDiscovery {
$examplesPath = Join-Path -Path $PSScriptRoot -ChildPath '..\..\Examples'
# If there are no Examples folder, exit.
if (-not (Test-Path -Path $examplesPath))
{
return
}
$exampleFiles = @(Get-ChildItem -Path $examplesPath -Filter '*.ps1' -Recurse)
$exampleToTest =... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Integration/M365DSCTestEngine.psm1 | PowerShell | mit | 2,267 | Dev | 3,542 | using namespace System.Management.Automation.Language
function New-M365DSCIntegrationTest
{
[CmdletBinding()]
param(
[Parameter(Mandatory = $true)]
[System.String]
$Workload,
[Parameter(Mandatory = $true)]
[ValidateSet('1-Create', '2-Update', '3-Remove')]
[Syste... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/UnitTestHelper.psm1 | PowerShell | mit | 2,267 | Dev | 2,224 | function New-M365DscUnitTestHelper
{
[CmdletBinding()]
param(
[Parameter(Mandatory = $true)]
[String]
$StubModule,
[Parameter(Mandatory = $true, ParameterSetName = 'DscResource')]
[String]
$DscResource,
[Parameter(Mandatory = $true, ParameterSetName = 'S... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Stubs/Generic.psm1 | PowerShell | mit | 2,267 | Dev | 24,244 | function New-MgGroup
{
[CmdletBinding()]
param(
[Parameter()]
[System.String]
$DisplayName,
[Parameter()]
[System.String]
$Description,
[Parameter()]
[System.Boolean]
$MailEnabled,
[Parameter()]
[System.Boolean]
$... |
github | Microsoft365DSC/Microsoft365DSC | https://github.com/Microsoft365DSC/Microsoft365DSC | Tests/Unit/Microsoft365DSC/Microsoft365DSC.AADTokenIssuancePolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,705 | [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.SentinelAlertRule.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 23,293 | [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.IntuneDeviceEnrollmentScopeConfigurationMdm.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,195 | [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.IntuneWindowsUpdateForBusinessFeatureUpdateProfileWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 18,733 | [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.SPOAccessControlSettings.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,642 | [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.EXOPerimeterConfiguration.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 3,979 | [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.TeamsEmergencyCallingPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,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.AADRoleAssignmentScheduleRequest.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,565 | [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.IntuneDeviceConfigurationWindowsTeamPolicyWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 13,045 | [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.AADAuthenticationMethodPolicySms.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 9,705 | [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.IntuneDeviceControlPolicyWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 51,718 | [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.SCAutoSensitivityLabelRule.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 18,568 | [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.TeamsCallHoldPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,394 | [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.SPOSiteGroup.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 11,471 | [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.EXOMailboxCalendarConfiguration.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 16,243 | [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.TeamsChannelTab.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 9,424 | [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.ADOOrganizationOwner.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,733 | [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.EXOFocusedInbox.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,326 | [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.EXOOMEConfiguration.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,101 | [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.EXOManagementScope.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,962 | [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.EXOActiveSyncDeviceAccessRule.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,874 | [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.AADIdentityGovernanceProgram.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,440 | [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.TeamsCortanaPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,977 | [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.AADGroupsNamingPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,323 | [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.AADEntitlementManagementAccessPackageCatalogResource.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,445 | [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.EXODnssecForVerifiedDomain.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,709 | [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.SCInsiderRiskPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 36,948 | [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.AzureRoleEligibilityScheduleSettings.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 51,210 | [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.SCProtectionAlert.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,044 | [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.IntuneDeviceCompliancePolicyiOs.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 12,653 | [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.IntuneDeviceConfigurationTrustedCertificatePolicyWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,552 | [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.AADAppManagementPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 23,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.EXOMigrationEndpoint.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,699 | [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.ODSettings.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,416 | [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.IntuneMobileAppsMicrosoftEdge.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 13,868 | [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.IntuneMobileAppsWindowsOfficeSuiteApp.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 13,050 | [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.AADB2BManagementPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 4,677 | [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.EXOExternalInOutlook.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 4,117 | [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.IntuneWifiConfigurationPolicyMacOS.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,572 | [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.TeamsEnhancedEncryptionPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,473 | [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.IntuneAppAndBrowserIsolationPolicyWindows10.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 22,697 | [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.SCFilePlanPropertyCategory.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,302 | [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.AADAuthorizationPolicy.tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,827 | [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.SCRoleGroupMember.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,945 | [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.IntuneExploitProtectionPolicyWindows10SettingCatalog.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 13,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.DefenderDeviceAuthenticatedScanDefinition.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 10,617 | [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.SentinelWatchlist.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 14,122 | [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.EXOPartnerApplication.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 6,375 | [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.EXOAtpPolicyForO365.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 5,292 | [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.IntuneRoleAssignment.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 8,601 | [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.TeamsAIPolicy.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 7,101 | [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.SCDeviceConfigurationRule.Tests.ps1 | PowerShell | mit | 2,267 | Dev | 19,422 | [CmdletBinding()]
param(
)
$M365DSCTestFolder = Join-Path -Path $PSScriptRoot `
-ChildPath '..\..\Unit' `
-Resolve
$CmdletModule = (Join-Path -Path $M365DSCTestFolder `
-ChildPath '\Stubs\Microsoft365.psm1' `
-Resolve)
$GenericStubPath = (Join-Path... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.