CmdID / PowerShell / Cmdlets / New
New-EcpVirtualDirectory
Use the New-EcpVirtualDirectory cmdlet to create Exchange Control Panel (ECP) virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers. Exchange PowerShell reference
From the Exchange PowerShell reference 13 parameters Its page in the reference
Parameters
-AppPoolIdThe AppPoolId parameter sets the IIS application pool where the ECP virtual directory runs.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-ExtendedProtectionFlagsThe ExtendedProtectionFlags parameter specifies custom settings for Extended Protection for Authentication on the virtual directory.-ExtendedProtectionSPNListThe ExtendedProtectionSPNList parameter specifies a list of valid Service Principal Names (SPNs) if you're using Extended Protection for Authentication on the virtual directory.-ExtendedProtectionTokenCheckingThe ExtendedProtectionTokenChecking parameter specifies whether Extended Protection for Authentication is used for client connections to the virtual directory.-ExternalUrlThe ExternalURL parameter specifies the URL that connects to the virtual directory from outside the firewall.-InternalUrlThe InternalURL parameter specifies the URL that connects to the virtual directory from inside the firewall.-PathThe Path parameter sets the file system path of the ECP virtual directory.-RoleThe Role parameter species the configuration for the virtual directory.-ServerThe Server parameter specifies the Exchange server that hosts the virtual directory.-WebSiteNameThe WebSiteName parameter specifies the name of the IIS website where the ECP virtual directory is created.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.