PowerShell

@PowerShellMag

Use PowerShell to install SSL certificate on IIS

Importing PFX SSL certificate to IIS with PowerShell script
0
Since Google announced HTTPS as ranking signal most of the websites now days are switching to secured communication via SSL certificates. Even I switched my website to HTTPS secured connection to follow up with this new trend. Using certificate on the website is related to domain binding, but even before we setup the domain binding for the website, we need to import the certificate to IIS...read more

Get .NET Framework version installed on Windows using PowerShell

How to find out installed version of .NET Framework with PowerShell
0
Finding out installed .NET Framework version on the host Windows OS is not an everyday job, but when it comes to deployments of the .NET application it is needed to check if the host supports targeting .NET Framework version. Starting from .NET Framework 4.5, Microsoft is storing .NET Framework version as a key in registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Release ...read more

Managing Windows Scheduled Tasks with Windows PowerShell

List, create and update Windows Scheduled Tasks with PowerShell
0
Microsoft Windows Task Scheduler component is a standard part of Microsoft Windows operating system since Windows98. It allows schedulex execution of programs or scripts at specific pre-defined time or recurrent time interval. Repetitive creating and updating Windows Scheduled Tasks manually using Windows built in manager can be annoying...read more

Setting ASP.NET application on IIS always running with PowerShell

Switch off AppPool timeout with PowerShell script
0
When creating new website with new application pool, bu default IIS sets your application pool in a way to save resources when inactive. This is because it does not want to run your website all the time if is there is no activity on it and keep using resources on the host for idle worker processes (w3wp.exe). This is the reason you might experience slow response when opening your website URL from time to time especially if your website has low traffic. ...read more

Automated clean up and archive of log files with PowerShell 5

Archiving old log files with PowerShell 5 and Windows Scheduled Tasks
0
Depending on the application architecture, your Windows virtual machine might have one or more applications or components of a single solution. Those might be WebApi services, Web Applications or Windows applications. Any of these components may generate logs which are important for diagnostics and tracking down events...read more

Clean up IIS log files from web server using PowerShell

Avoid low disk space because of IIS logs with PowerShell Scheduled Task
0
Microsoft IIS Server is by default logging every request that reaches it. This can be pretty useful for tracking down the issue which my occur over time, but it is also pilling up log files on server's disk which eventually can cause low disk space. You an always clean up these files manually, but wouldn't it be nice if server does that for you? ...read more

.NET

read more

JavaScript

read more

SQL/T-SQL

read more

Umbraco CMS

read more