CmdID / PowerShell / Cmdlets / Get
Get-WebApplication
Gets the web applications associated with a specific site or with a specified name. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-NameSpecifies the name of the web application for which information is returned.-SiteSpecifies the name of the site for which this cmdlet returns application information.