CmdID / PowerShell / Cmdlets / New
New-OwaVirtualDirectory
Use the New-OwaVirtualDirectory cmdlet to create Outlook on the web virtual directories that are used in Internet Information Services on Exchange servers. Exchange PowerShell reference
From the Exchange PowerShell reference 16 parameters Its page in the reference
Parameters
-NameThis parameter is reserved for internal Microsoft use.-ApplicationRootThe ApplicationRoot parameter specifies the metabase path of the virtual directory.-AppPoolIdThe AppPoolId parameter specifies the IIS application pool in which the 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.-ExternalAuthenticationMethodsThe ExternalAuthenticationMethods parameter restricts the authentication methods that can be used to connect to the virtual directory from outside the firewall.-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 specifies the file system path of the 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 under which the virtual directory is created.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.