0
votes
2answers
138 views

Creating a WebApp via PowerShell is mapping the site to wrong AppPool

I have a weird issue with creating WebApps using the below script. Seemingly when I create my WebApp everything is working and looking fine. I can look in IIS and see that it is correctly configured, ...
0
votes
1answer
144 views

Create a Web Application using Powershell

I want to create a web application using powershell. Below is a list of commands I execute to achieve this and all works fine. Web application exists everywhere. But I cannot access it by it's url. I ...
2
votes
1answer
804 views

Remove-SPWebApplication not working if SPAdminV4 service is run by Local System?

I have sucessfully removed my Web Application with the following script: PS C:\Users\SP2013Farm> Remove-SPWebApplication http://portal.com -Confirm -Dele teIISSite -RemoveContentDatabases Confirm ...
1
vote
1answer
290 views

Application pool not visible in IIS, SharePoint or PowerShell

I have a PowerShell script that creates a web application using New-SPWebApplication. It crashed for some reason a while back and now it keeps telling me the application pool exists. I've looked in ...
3
votes
1answer
582 views

Access denied after creating site collection by using Powershell

I am using SP2013 single server dev environment. I use following scripts for creating web application and site collection. but when I browse to it, it says this site has not been shared with you. I am ...
0
votes
3answers
454 views

Error on recreating web application

I've written a powershell script to create a web application, add libraries and pages, etc. As I work through the script and fix bugs and issues, I delete the web application through central ...
1
vote
1answer
828 views

Powershell to set a Web Application's Trusted Identity Provider to an STS and NTLM?

I've created a custom STS and have setup trust with SharePoint via New-SPTrustedIdentityTokenIssuer. I can use Central Admin to configure a Web Application to use both NTLM and the STS, however I ...
0
votes
2answers
1k views

New-SPWebApplication application pool account is not found

I am trying to create a new web application using PowerShell. I keep getting the error application pool account is not found! How do I solve this? I tried adding the new web application to ...
5
votes
1answer
4k views

Remove a single user from all site collections in a web application using powershell

Is there a way I can choose to remove a single user from all site collections within a single web application using powershell. There are number of user profiles whose domain account has been blocked ...
4
votes
4answers
12k views

How to activate feature using powershell script?

I need to activate specific feature to all site collection which is inside the particular web application using powershell script?
0
votes
1answer
236 views

ITem SharePoint-80 Not Found

I just installed SP2010. There's the default web app named SharePoint-80. I am trying to backup this web app using Power Shell. Here's my command: Backup-SPFarm -Directory C:\Backups -BackupMethod ...
0
votes
2answers
3k views

Problem with Restore-SPFarm

We have to move a Sharepoint 2010 web application from and old server to a new one. The old server has Sharepoint 2010 and SQL Server both installed. The new server is actually 2 VMs, one for ...
1
vote
2answers
370 views

Are there any way to change the authentication type to claims based in code without using Powershell?

I'm creating an application that changes the authentication type to Claims based, but I'm trying not to use powershell. any advice?
6
votes
2answers
165 views

What is a good way to build/install/provision a full web application?

I have a fairly simple SharePoint web application, with a publishing front end, an extranet for customers and an intranet portal. I want this web app to be easily redeployable -- pretty much a ...
0
votes
1answer
170 views

Exception setting ApplicationPoolPassword

Following the example in this blog post, I am trying to create a new Web Application with PowerShell. However, when I try the line: $WebAppBuilder.ApplicationPoolPassword = "password" I receive ...