Browsing author

Thiyagu

How to check response code from a website using PowerShell

In this post we will discuss about how to check the response code from a website. In this article, we’re going to cover how to build a PowerShell function that will query a specific URL and attempt to find out if that URL is working fine or not. To get started, let’s construct a function […]

Difference between write-host and write-output in powershell

One of the great benefits of PowerShell is its pipeline mechanics that enable the output of one command to be passed to the next command in the pipeline. That output is not sent as basic text but rather the actual objects generated from a command are sent in the native object format to the next […]

How to Append Data to a Text File Using PowerShell

 Here’s we can discuss on how to add text to the end of a text file using the Add-Content cmdlet using PowerShell.  In our example let’s add “This is the last line” to the end of a file using add-content cmdlet to append data to a text file.

The above example above adds the text to the […]

How to Delete a Folder or File using PowerShell

Use PowerShell to Delete a Single File or Folder Before start executing the Delete powershell command we need to make sure you are logged in to the server or PC with an account that has full access to the objects you want to delete.

The above command will excute and delete the “DummyfiletoDelete.txt” file […]

ASP.NET Core: My First New Project

In this tutorial section, we will discuss how to create a new project in Visual Studio using ASP.NET CORE. Once you have installed the Visual Studio 2015 tooling, you can start building a new ASP.NET Core Application . STEP: 1 Once you have installed the Visual Studio 2015 tooling, you can start building a new ASP.NET […]

ASP.NET Core – Project Structure

If we had created a new blank project (EMPTY template) of ASP.NET Core in VS 2015, we see the following structure at the start. Here you can see a couple of things like wwwroot, Dependencies, Startup class and project.json and also you  see some other things like “References” and “Properties” these are the common parts of the […]

Powershell : How to Compare Two Files, and List Differences

What is Compare-Object cmdlet do? The Compare-Object cmdlet compares two sets of objects. One set of objects is the “reference set,” and the other set is the “difference set”. The below format will be out of the comparison. <= This indicates that property value appears only in the -ReferenceObject set. => Indicates that property value […]

PowerShell : Continue Keyword

Continue Keyword in PowerShell One of the things that is a bit confusing for powershell beginner is the Continue statement. This is partially because it does not act like it might in some other languages. Next question will arise, then what does the Continue statement do in Windows PowerShell? the answer is it returns flow to the top of […]

ASP.NET Core Real Power: Features And Benefits

Introduction ASP.NET Core 1.0 is not a continuation of ASP.NET 4.6. It is a whole new framework, a side-by-side project which happily lives alongside everything else we know. It is an actual re-write of the current ASP.NET 4.6 framework, but much smaller and a lot much more modular. There is no System. Web namespace anymore and everything […]