CmdID / PowerShell / Cmdlets / New
New-WebVirtualDirectory
Creates a virtual directory in IIS. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-ApplicationSpecifies the name of a web application under which this cmdlet creates the virtual directory.-ForceForces the command to run without asking for user confirmation.-NameSpecifies the name of the new virtual directory.-PhysicalPathSpecifies the physical path to the folder in which this cmdlet creates the virtual directory.-SiteSpecifies the name of the site under which this cmdlet creates the virtual directory.