Sie sind auf Seite 1von 41

Resource Associated Exchange Cmdlet(s) Category

MSFT_xExchActiveSyncVirtualDirectory Set-ActiveSyncVirtualDirectory Client Access Server


MSFT_xExchAutodiscoverVirtualDirectory Set-AutodiscoverVirtualDirectory Client Access Server
MSFT_xExchClientAccessServer Set-ClientAccessServer Client Access Server
MSFT_xExchDatabaseAvailabilityGroup New/Set-DatabaseAvailabilityGroup Database Availability Group
MSFT_xExchDatabaseAvailabilityGroupMember Add-DatabaseAvailabilityGroupServer Database Availability Group
MSFT_xExchDatabaseAvailabilityGroupNetwork New/Remove/Set-DatabaseAvailabilityGroupNetwork Database Availability Group
MSFT_xExchEcpVirtualDirectory Set-EcpVirtualDirectory Client Access Server
MSFT_xExchExchangeCertificate Enable/Import/Remove-ExchangeCertificate Exchange Server
MSFT_xExchExchangeServer Set-ExchangeServer Exchange Server
MSFT_xExchImapSettings Set-ImapSettings Client Access Server
MSFT_xExchMailboxDatabase New/Set-MailboxDatabase Mailbox Server/Database
MSFT_xExchMailboxDatabaseCopy Add/Set-MailboxDatabaseCopy Mailbox Server/Database
MSFT_xExchMapiVirtualDirectory Set-MapiVirtualDirectory Client Access Server
MSFT_xExchOabVirtualDirectory Set-OabVirtualDirectory Client Access Server
MSFT_xExchOutlookAnywhere Set-OutlookAnywhere Client Access Server
MSFT_xExchOwaVirtualDirectory Set-OwaVirtualDirectory Client Access Server
MSFT_xExchPopSettings Set-PopSettings Client Access Server
MSFT_xExchPowershellVirtualDirectory Set-PowershellVirtualDirectory Client Access Server
MSFT_xExchReceiveConnector New/Remove/Set-ReceiveConnector Transport Server
MSFT_xExchUMCallRouterSettings Set-UMCallRouterSettings Unified Messaging Server
MSFT_xExchUMService Set-UMService Unified Messaging Server
MSFT_xExchWebServicesVirtualDirectory Set-WebServicesVirtualDirectory Client Access Server

Resource Category
MSFT_xExchAutoMountPoint Mailbox Server/Database
MSFT_xExchInstall Deployment
MSFT_xExchJetstress Pre-Deployment
MSFT_xExchJetstressCleanup Pre-Deployment

Resource Category
MSFT_xExchWaitForADPrep Deployment
MSFT_xExchWaitForDAG Database Availability Group
MSFT_xExchWaitForMailboxDatabase Mailbox Server/Database

xExchOwaVirtualDirectory OWAVdir
{
Identity = "SERVERNAME\owa (Default Web Site)"
Credential = $ShellCreds
BasicAuthentication = $false
FormsAuthentication = $false
WindowsAuthentication = $true
}

Set-OwaVirtualDirectory -Identity "SERVERNAME\owa (Default Web Site)" -


BasicAuthentication $false -FormsAuthentication $false -
WindowsAuthentication $true

xExchMailboxDatabase DB1
{
Server = "SERVERNAME"
Name = "DB1"
Credential = $ShellCreds
EdbFilePath = "C:\ExchangeDatabases\DB1\DB1.db\DB1.edb"
LogFolderPath = "C:\ExchangeDatabases\DB1\DB1.log"
CircularLoggingEnabled = $true
DatabaseCopyCount = 4
}

New-MailboxDatabase -Server "SERVERNAME" -Name "DB1" -EdbFilePath


C:\ExchangeDatabases\DB1\DB1.db\DB1.edb -LogFolderPath C:\ExchangeDatabases\DB1\DB1.log

(Once 4 copies are present for the database)


Set-MailboxDatabase -Identity "DB1" -CircularLoggingEnabled $true

Cmdlet Parameters
Set-ActiveSyncVirtualDirectory CompressionEnabled
Set-AutoDiscoverVirtualDirectory WSSecurityAuthentication
Set-PowerShellVirtualDirectory BasicAuthentication, WindowsAthentication, InternalUrl, ExternalUrl
Set-WebServicesVirtualDirectory WSSecurityAuthentication, WindowsAuthentication, OAuthAuthentication

https://www.powershellgallery.com/packages/xExchange/



https://github.com/PowerShell/xExchange


https://github.com/PowerShell/DscResources/blob/master/CONTRIBUTING.md











QuickStartTemplate.ps1 QuickStartTemplate-Config.psd1

Configuration QuickStartTemplate @{
{ AllNodes = @(
param @{
(
NodeName = '*'
[PSCredential]$ShellCreds
)
CertificateFile = 'C:\publickey.cer'
Import-DscResource -Module xExchange
Thumbprint = '39bef4b2e82599233154465323ebf96a12b60673'
Node $AllNodes.NodeName }
{
LocalConfigurationManager @{
{ NodeName = 'e15-1'
CertificateId = $Node.Thumbprint
}
}
}
} @{
NodeName = 'e15-2'
if ($ShellCreds -eq $null) }
{ );
$ShellCreds = Get-Credential -Message 'Enter credentials for Remote PowerShell' }
}

QuickStartTemplate -ConfigurationData $PSScriptRoot\QuickStartTemplate-Config.psd1 -


ShellCreds $ShellCreds

1.
2.
3.
4.
5.
6.
7.

1.





PowerShell provider MSFT_xExchMailboxDatabase failed to execute Set-TargetResource functionality with error
message: Failed to run Mount-Database with: Failed to mount database DBNAME. Error: An Active Manager
operation failed. Error: Couldnt find the specified mailbox database with GUID GUID. [Database: DBNAME, Server:
SERVERFQDN]






PowerShell provider MSFT_xExchClientAccessServer failed to execute Test-TargetResource functionality
with error message: Exception of type 'System.OutOfMemoryException' was thrown.


http://blogs.technet.com/b/askperf/archive/2008/09/16/memory-and-handle-quotas-in-the-wmi-provider-
service.aspx


The WS-Management service cannot process the request. The WMI service or the WMI provider returned
an unknown error: HRESULT 0x80076be



https://www.powershellgallery.com/packages/xExchange/

http://blogs.technet.com/b/mhendric/archive/2014/10/17/managing-exchange-2013-with-dsc-part-1-introducing-xexchange.aspx

http://blogs.technet.com/b/mhendric/archive/2014/10/17/managing-exchange-2013-with-dsc-part-2-the-quickstart-template.aspx

http://blogs.technet.com/b/mhendric/archive/2014/10/27/managing-exchange-2013-with-dsc-part-3-automating-mount-point-setup-
and-maintenance-for-autoreseed.aspx

http://blogs.technet.com/b/mhendric/archive/2014/11/10/managing-exchange-2013-with-dsc-part-4-using-a-dsc-pull-server-to-deploy-
the-xexchange-module.aspx

http://blogs.technet.com/b/mhendric/archive/2014/12/16/installing-exchange-using-dsc-managing-exchange-2013-with-dsc-part-5.aspx
https://www.powershellgallery.com/packages

http://technet.microsoft.com/en-us/library/dn249918.aspx

http://technet.microsoft.com/en-us/library/dn249925.aspx

http://blogs.technet.com/b/privatecloud/archive/2014/04/25/desired-state-configuration-blog-series-part-1-learning-about-dsc.aspx

http://blogs.msdn.com/b/powershell/archive/2014/01/31/want-to-secure-credentials-in-windows-powershell-desired-state-configuration.aspx

http://blogs.msdn.com/b/powershell/archive/2014/02/11/dsc-diagnostics-module-analyze-dsc-logs-instantly-now.aspx

http://blogs.msdn.com/b/powershell/archive/2014/01/03/using-event-logs-to-diagnose-errors-in-desired-state-configuration.aspx

Pre-Release Programs Exchange & SharePoint On-Premises Programs


Customers get:
Be first in line! Early access to new features
Opportunity to shape features
Close relationship with the product teams
Opportunity to provide feedback
Technical conference calls with members of the
product teams
Opportunity to review and comment on
documentation
Get selected to be in a program:
Sign-up at Ignite at the Preview Program desk
OR
Fill out a nomination: http://aka.ms/joinoffice
Questions:
Visit the Preview Program desk in the Expo Hall
Contact us at: ignite2015taps@microsoft.com
http://myignite.microsoft.com

Das könnte Ihnen auch gefallen