web-administration Questions
4
Im using PowerShell 4 on Windows Server 2012 R2.
A specific module, WebAdministration, does not get auto loaded when calling a Cmdlet that comes from this module. All other modules I have tried au...
Handler asked 22/12, 2015 at 16:49
1
Here's the docs for both modules:
IISAdministration Module
WebAdministration Module
And here's a couple articles detailing the release notes of IISAdministration
Introducing IISAdministration in...
Sosthenna asked 1/3, 2023 at 14:48
4
Solved
I'm coming onto a project that uses PowerShell to script the build. The build makes use of the WebAdministration module to manage the local IIS instance. When I run the build script the following e...
Cawley asked 29/6, 2016 at 7:39
4
I have been having lots of difficulty automating the setup of a Web application and configuring IIS appropriately with the Application Pool Identity. I am doing this in a Web application deployment...
Jersey asked 28/1, 2014 at 19:44
1
Solved
When creating a site I manage to set the path with the following line of code
New-WebSite -Name "mysite" -port 8084 -PhysicalPath "c:\inetpub\wwwroot" -ApplicationPool "myappPool"
I have tried t...
Bumpy asked 27/11, 2019 at 23:37
2
Solved
I am using Microsoft.Web.Administration.dll to check states of my sites by using following code. It works fine with IIS but when it's used in IIS Expresss, then 'State' property throws 'NotImplemen...
Prue asked 5/5, 2014 at 7:45
2
Machine A and Machine B are in different domains. Machine A uses a VPN to gain access to Machine B's network.
I am trying to impersonate a user for the purpose of using Microsoft.Web.Adminstration...
Sherly asked 27/4, 2018 at 4:18
1
Solved
I am using powershell to automate configuring websites in my IIS.
I have the following code that creates a web application pool for me
#Creating a new Application Pool
New-WebAppPool "NewAppPool"...
Geary asked 6/4, 2017 at 5:50
1
Solved
I am using powershell to automate configuring websites in my IIS. I have the following code that creates a web application pool for me
#Creating a new Application Pool
New-WebAppPool "NewAppPool"
...
Amorphous asked 6/4, 2017 at 5:59
1
PowerShell is case insensitive language and so are the modules like WebAdministration expected to be.
This doesn't work:
PS IIS:\AppPools> Set-ItemProperty .\DefaultAppPool -Name Enable32BitAp...
Precinct asked 4/7, 2016 at 13:35
3
Solved
Most of our web applications include a Deploy.ps1 Powershell script. Octopus Deploy uses this to configure apps during production deployments, but we also use it to set up developers' local IIS set...
Discolor asked 8/4, 2016 at 17:40
1
Solved
I'm confused how -Passthru works.
From my understanding, the -Passthru parameter is used for passing the result of a cmdlet to the pipeline even the cmdlet itself doesn't produce any results.
I t...
Coyne asked 14/4, 2016 at 6:33
1
I wanted to outfile my IIS Bidings to csv or txt , I am simply playing around a bit using that cmdlet :
Get-ChildItem -path IIS:\Sites
which works perfectly, also outfiling to .txt works perfect...
Capparidaceous asked 23/6, 2014 at 11:22
1
Solved
I want to use PowerShell to administer my IIS7 on Windows7 64 bits.
I try install IIS7 Powershell snap-in http://www.iis.net/download/PowerShell
I "Run as administrator", then typing the command...
Probability asked 22/5, 2012 at 10:58
1
© 2022 - 2024 — McMap. All rights reserved.