-
Notifications
You must be signed in to change notification settings - Fork 0
/
CoaOnlineTestFile.ps1
21 lines (20 loc) · 1.35 KB
/
CoaOnlineTestFile.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if ($Global:CoaUsersToWorkThrough)
{
$Global:CoaUsersToWorkThrough.Clear()
}
$Global:Error.Clear();
# Remove-Module -Name CoaOnlineModule -Verbose -Force -ErrorAction SilentlyContinue
Import-Module -Name C:\alex\CoaOnlineModule -Verbose -Force
# Set-CoaVariables -Domain "joecrockett.io" -CoaSkuInformationWorkers "joecrockett:DEVELOPERPACK" -CoaSkuFirstlineWorkers "joecrockett:DEVELOPERPACK" -CoaSkuExoArchive "" -CoaSkuExoAtp "" -authOrig "CN=O365 Administrator,OU=Admin,OU=Generics,OU=O365,DC=alexfstest,DC=net"
Set-CoaVariables -Domain "qa01alexandriava.net" -CoaSkuInformationWorkers "qa01alexandriava:ENTERPRISEPACK" -CoaSkuFirstlineWorkers "qa01alexandriava:ENTERPRISEPACK" -CoaSkuExoArchive "" -CoaSkuExoAtp "" -authOrig "CN=O365 Administrator,OU=Admin,OU=Generics,OU=O365,DC=alexfstest,DC=net"
# New-CoaUser -SamAccountName Module.Test5 -Firstline | Set-CoaExchangeAttributes | Set-CoaExoAttributes
# New-CoaUser -SamAccountName Module.Test6 | Set-CoaExchangeAttributes | Set-CoaExoAttributes
<#
New-CoaUser -SamAccountName module.test5
New-CoaUser -SamAccountName module.test6 -Firstline
Set-CoaExchangeAttributes -UserList $CoaUsersToWorkThrough
Set-CoaExoAttributes -UserList $CoaUsersToWorkThrough
#>
Remove-CoaUser -SamAccountName Test.Test05
# Remove-CoaUser -CommaSeparatedSamAccountNames "module.test5","module.test6"
# Set-CoaMailboxConfiguration -Verbose