Tag Archives: Powershell

Installing IIS with Chocolatey

Chocolatey is one of those technologies that I find very exciting. Installing applications is hardly an arduous task, but being able to do it from the command line is damn cool. And it’s really a feature that Windows should have … Continue reading

Posted in .Net, IIS | Tagged , , | 1 Comment

Powershell – essential tidbits

One of the killer features of powershell is to remotely manage machines. The ability to actually manage a remote machine is not enabled out of the box. It requires poking holes in the firewall and adding a few key plugins. … Continue reading

Posted in .Net | Tagged | Leave a comment

Calling SQL From Powershell

With SQL Server 2008 it became a lot easier! Just register the SQL SQL Server snapins and then invoke SQL Commands. The names of the snappins are a little obtuse. I created a script in my C:\powershellscripts\ folder wrapping them … Continue reading

Posted in .Net | Tagged | Leave a comment

PowerShell tee-object limitations

sdsdI currently have a script that is executed as follows: .\script.ps1 “param1” “param2” 2>&1 | tee -filePath buildlog.txt I would like it to not require the -tee parameter and instead have the logging to both the console and file encapsulated … Continue reading

Posted in .Net | Tagged | Leave a comment

Deploying a .Net Web Application to IIS with Powershell

Overview: Below is a script which compiles a .Net C# web application, connects to a remote Windows Server, installs IIS and then installs the web application! This script is meant to maintain multiple test environments spread across different machines. MSDeploy … Continue reading

Posted in .Net, IIS | Tagged , , , , , | 3 Comments