Anlage des Repos
This commit is contained in:
17
current/New-Subfolder-inExchangeMailbox/Unbenannt2.ps1
Normal file
17
current/New-Subfolder-inExchangeMailbox/Unbenannt2.ps1
Normal file
@@ -0,0 +1,17 @@
|
||||
cls
|
||||
Get-Mailbox digitaldata | foreach {
|
||||
|
||||
#Write-Host (Get-Mailbox digitaldata).PrimarySmtpAddress
|
||||
|
||||
try {
|
||||
|
||||
C:\Users\Administrator.APPEL-GMBH\Desktop\Create-Folders.ps1 $_.PrimarySmtpAddress "test" -ParentFolder inbox -EwsUrl https://appel-com01.appel-gmbh.local/EWS/Exchange.asmx -EWSManagedApiPath "C:\Program Files\Microsoft\Exchange\Web Services\2.0\Microsoft.Exchange.WebServices.dll"
|
||||
|
||||
} #end try
|
||||
|
||||
catch {
|
||||
|
||||
Write-Host (Get-Mailbox digitaldata).PrimarySmtpAddress
|
||||
|
||||
} #end catch
|
||||
}
|
||||
Reference in New Issue
Block a user