Browse by Tags
All Tags »
Windows PowerShell (
RSS)
Yesterday, I published small application I developed called IPSWeb . This application is actually web client for Windows PowerShell. It’s very simple, to install this application you create new IIS website, copy the files to the website directory and...
I wrote a small script that backup selected Windows SharePoint Services Site Collection and I publish it here. This is PowerShell script, that can be run manually or from scheduled task. This is the script (you can download it, in the end of this post...
Sometimes, we want to run PowerShell script from command-let that derives from PSCmdlet (If you derived from Cmdlet, you can't use this way). To do so, we just have to use this code: 1: using System.Management.Automation; 2: using System.Collections.ObjectModel;...
Someone asked me how we can set Windows PowerShell to work like in VB when you specify Option Explicit. How to disable using of variables that didn't defined in the code. In this way, you know for sure that you aren't use undefined variable and get unexpected...
Someone asked me, and I post here the answer - sometimes, we want to get from our command-let the command that the user entered to use our command-let. we want the full line, with all the command-lets in the pipeline and all the parameters. In this case...
When you write a Command-Let in Windows PowerShell, you must derive from one of the following classes: System.Management.Automation.Cmdlet or System.Management.Automation.PSCmdlet. One of the most popular questions from beginners PowerShell developers...
More Posts