I have a url, i want to find the application name on which the url is binded.
the command get-website -name "url"
return nothing as the url name is binded to the Virtual directory.
the command get-webbinding -name "url"
return the binding but not the Name of the application.
Which powershell command can I use to find IIS virtual application name from url?