How to Define Classes in PowerShell

05. September 2016 PowerShell 0
PowerShell 5 comes with a new capability to define classes in the same way we define in C#. In this tutorial we are going to see how to define a simple class with constructor, properties, and methods. Please check the Windows PoweShell Tutorial to learn the PowerShell basics. Development Tool In this tutorial I am ...

Windows PowerShell Tutorial

06. December 2013 PowerShell, Tutorial 3
In this tutorial the basics of Windows PowerShell is explained with examples. Only read this article if you need a fast going-through Windows PowerShell basics and if you don’t have time to read the great tutorial by Jesse Hamrick on PowerShell Pro which this article is mostly based on. This article is mostly useful from ...

How to Call a WCF Service from Windows PowerShell

01. December 2013 PowerShell, WCF 0
You can call your WCF operation from PowerShell. What you need is to use New-WebServiceProxy cmdlet. New-WebServiceProxy will create a proxy object in order to communicate with the service. Look at the example below: [crayon-59253b3828aa1781154481/] Line 1: declares a variable to hold the wsdl URI Line 2: creates a New-WebServiceProxy object based on that URI ...