-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathM365Configuration.ps1
More file actions
61 lines (49 loc) · 1.26 KB
/
M365Configuration.ps1
File metadata and controls
61 lines (49 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Configuration M365Configuration
{
param
(
[Parameter(Mandatory = $true)]
[System.Collections.Hashtable]
$Credentials
)
Import-DscResource -ModuleName M365Config
node localhost
{
Exchange 'Exchange_Configuration'
{
Credential = $Credentials.Exchange
}
Office365 'Office365_Configuration'
{
Credential = $Credentials.Office365
}
PowerPlatform 'PowerPlatform_Configuration'
{
Credential = $Credentials.PowerPlatform
}
SecurityCompliance 'SecurityCompliance_Configuration'
{
Credential = $Credentials.SecurityCompliance
}
SharePoint 'SharePoint_Configuration'
{
Credential = $Credentials.SharePoint
}
Teams 'Teams_Configuration'
{
Credential = $Credentials.Teams
}
AzureAD 'AzureAD_Configuration'
{
Credential = $Credentials.AzureAD
}
Intune 'Intune_Configuration'
{
Credential = $Credentials.Intune
}
OneDrive 'OneDrive_Configuration'
{
Credential = $Credentials.OneDrive
}
}
}