CmdID / PowerShell / Cmdlets / New
New-ActiveSyncVirtualDirectory
Use the New-ActiveSyncVirtualDirectory cmdlet to create Exchange ActiveSync virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers. Exchange PowerShell reference
From the Exchange PowerShell reference 17 parameters Its page in the reference
Parameters
Show its 17 parameters
-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.-InstallProxySubDirectoryThe InstallProxySubDirectory parameter was used to create an subdirectory that was required for proxying ActiveSync connections with Exchange 2007.-InternalAuthenticationMethodsThe InternalAuthenticationMethods parameter restricts the authentication methods that can be used to connect to the virtual directory from inside 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.