ajout readme + début des tests

This commit is contained in:
2022-08-25 18:17:55 +02:00
parent 9e41fe51ca
commit 207657b5e8
5 changed files with 60 additions and 21 deletions

View File

@@ -1,20 +1,4 @@
Get-ExecutionPolicy
Set-ExecutionPolicy Unrestricted
Set-ExecutionPolicy Restricted
Install powershell 7 from powershell 5 :
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"
foreach ($u in $users)
{
Write-Host $u.Name -ForegroundColor Green
$cal = Get-MailboxFolderStatistics $u.Identity -FolderScope Calendar | Where-Object {$_.Name -in @("Agenda", "Calendar", "Calendrier", "Kalender")}
foreach ($c in $cal)
{
Write-Output $c.Name
}
}
Set-ExecutionPolicy Restricted