user179238
user179238

Reputation: 31

Get All WebApplication in a given server in sharepoint using powershell

I am trying to get list of WebApplication in a Given Server.

Get-SpWebapplication retrieves all the WebApplication in the Current machine.

I need to get the list of WebApplication in a particual server. How to Do it.

Please help me with this.

Upvotes: 3

Views: 13205

Answers (2)

Meysam
Meysam

Reputation: 11

Go to "C:\windows\system32\inetsrv" folder and try this: .\appcmd list wp

Upvotes: 1

Gonzix
Gonzix

Reputation: 1206

To get a list of all SharePoint Web Apps, use the following:

Get-SPWebApplication | Select DisplayName, Url

Upvotes: 5

Related Questions