This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-EventLog -LogName "Provisioning" ` | |
-Source "User Provisioning" | |
New-EventLog -LogName "Provisioning" ` | |
-Source "Policy Assignment" | |
New-EventLog -LogName "Provisioning" ` | |
-Source "Licensing" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-EventLog -LogName "Provisioning" ` | |
-Source "User Provisioning" ` | |
-EntryType Information -EventId 1000 ` | |
-Message "User provisioned: ${UserPrincipalName}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-EventLog -LogName "Provisioning" ` | |
-Source "Licensing" ` | |
-EntryType Error -EventId 3300 ` | |
-Message "No licenses available for user: ${UserPrincipalName}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-EventLog -LogName "Provisioning" ` | |
-Source "User Provisioning" ` | |
-EntryType Information ` | |
-After (Get-DateTime -format %m/%d/%Y) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-EventLog - LogName ${LogName} -Index ${Index} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-PublicFolder \NON_IPM_SUBTREE -Recurse | Disable-MailPublicFolder -Confirm:$False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Folders = Import-Csv .\ExFolders-Export.txt | |
$Required = $Folders | Where-Object {$_.PR_PF_PROXY_REQUIRED -eq $True} | |
$Required | Where-Object {$_.ProxyAddresses -NotLike "*@*"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Required | Where-Object {$_.ProxyAddresses -NotLike "*@*"} | Get-PublicFolder | Disable-MailPublicFolder -Confirm:$False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install-Module MicrosoftTeams |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/beta/me/joinedTeams |
OlderNewer