Check if application pool is stopped and restart
Hello, I'm try to create a powershell script for monitoring status of all application pools on my server, and if one is stopped, restart it. The script is simple, but I try to stop one application pool...
View Articlecreate virual directory, app pool using powershell
Hi,Create website, app pool using power shell. set created app pool to created web site. Change the app pool managed pipe line mode to classic. I need above 3 things using power shell.Thanks.
View ArticleMigrating a Web Server from IIS 6.0 to IIS 8 2012 R2 with Powershell?
Dear Professionals,I am planning to move my 100 Websites from windows 2003 to windows 2012 R2 with powershell without troubles and problems?anyone can tell me how???I do not want to move one by one and...
View ArticleAppcmd export and import commands
Hi Everyone,I have the requirement to move my site hosted in one web server to the azure VM. I know about appcmd export and import commands for moving to different servers. But will these commands...
View ArticleGet physical path from IIS using powershell script
HeyI am Amrendra, I need to get the physical path of the websites present in the IIS using powershell script. When, I executed command "Get-Childitem IIS:\", I found an errorGet-ChildItem : Cannot find...
View ArticleExchange report email
Hi,Not sure if this is the right place to discuss this, but I'm trying to create a report with mount point free space on two servers and DAG whitespace.For mount points I have this script:$servernames...
View ArticleSetting and Getting Server Config with WMI
Hello, I'm familiar with performing apphostconfig changes using appcmd or Microsoft.Web.Administration. However I'm now limited to a ruby solution which fortunately has access to WMI through its...
View ArticlePSEXEC for loading a webpage on a remote server
In the article named PowerShell Snap-in: Creating Web-Sites, Web applications, Virtual Directories and Application Pools, there is an explanation of how you can download the contents of a specific...
View ArticleUsing powershell to configure FTPS
Hello all --I have a network of 700 POS machines, running Windows 7 Embedded, with IIS installed. I use the IIS only for FTP functionality to send and receive files from my POS.I am now looking to...
View Articleturn on IIS features automatically
how do i create a setup file that can automatically turn on IIS features
View Articleresource cannot be found. only default page shows
Please I keep getting a "resource not found" error when i deploy/install a web application/setup to IIS. Only the default page shows. Any time I try to navigate to a page from the default page I get...
View Articleiis: Creating virtual folder using powershell that points to an unc location
Hi,I have been trying to use powershell to create a virtual folder under one website and that virtual folder is physically located in a share....I was able to create such virtual folder in the IIS...
View ArticleChanging properties for ManagedPipelineMode and ManagedRuntimeVersion
Hi All,I have created a new application pool using the following PS code: New-Item IIS:\AppPools\AppTest Set-ItemProperty IIS:\AppPools\AppTest -name processModel -value...
View ArticleFile Copy Issue - PrecompiledApp.config In Use - How to Combat?
Hi there,Here's a brief overview of what I'm trying to do. Our build process currently copies needed files to a network location via a Post-Build script in TFS. These files are then copied to a...
View ArticleUnable to run Power shell scripts inside asp.net mvc-5 web application...
I am working on an asp.net MVC-5 web application which is deployed under IIS8. Inside my web application i have the following method which will run some power cli scripts and save the returned results...
View ArticleIsapi and cgi restrictions, change restriction via powershell
HelloOn IIS I already have two "ISAPI and CGI Restrictions" listed.Both listed are named "ASP.NET v4.0.30319" and pointing to different pathsHow can I change the restriction to Allowed on both of...
View ArticleManged Folders
Why would you create a cmdlet to get a list of websites, a list of Applications, a list of Virtual Directories, but not one to get a list of Managed Folders? I don't understand why you would stop...
View ArticlePowerShell version 3 or 5 Installation error
I tried installed Windows PowerShell v3 , v5 or Azure Powershell to prepare working with Azure. However, all failed on my Windows 7 Sp1 machine. Azure Storage Command line, Azure Storage Emulator...
View ArticleNot able to get the virtual directories in a web site.
I am using below line of code to retrieve all the virtual directories Get-WebVirtualDirectory -site 'Default Web Site' -Application "AppName"but it gives me below error. get-webconfiguration :...
View ArticlePowershell script to export IIS website details
<div class="post-text" itemprop="text">Hi,I need to extract all the website details created in our IIS server with the following details. As we have more than 80 sites created in our IIS server,...
View Article