M365 Audit Scritps & System Reboot Checks
This commit is contained in:
4
M365DSC/Create-M365DSC_ServicePrincipal
Normal file
4
M365DSC/Create-M365DSC_ServicePrincipal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
$creds = Get-Credential
|
||||
|
||||
Update-M365DSCAzureAdApplication -ApplicationName 'Microsoft365DSC' -Permissions $(Get-M365DSCCompiledPermissionList -ResourceNameList (Get-M365DSCAllResources) -PermissionType Application -AccessType Read) -Type Certificate -CreateSelfSignedCertificate -AdminConsent -MonthsValid 12 -Credential $creds -CertificatePath c:\Temp\M365DSC.cer
|
||||
8
M365DSC/Export-M365DSC-Cred.ps1
Normal file
8
M365DSC/Export-M365DSC-Cred.ps1
Normal file
File diff suppressed because one or more lines are too long
12
M365DSC/Export-M365DSCConfig.ps1
Normal file
12
M365DSC/Export-M365DSCConfig.ps1
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user