Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Languages / PowerShell

PowerShell

PowerShell

Great Reads

by Member 4206974
A PowerShell Form Generator.
by Marco Bertschi
PowerShell is a very powerful tool, yet it's difference to the classic DOS command prompt gives you a hard time if you are used to the CMD. This article shall guide you into the World of PowerShell and give you an easy start.
by Md. Marufuzzaman
The objective of this article (Part 2) is to introduce you to using of VB / Microsoft .NET library, Function, Methods as well in your Microsoft Windows PowerShell script.
by Md. Marufuzzaman
The objective of this article (Part 4) is to give you an introduction on how to integrate Microsoft Windows PowerShell with the Microsoft .NET library

Latest Articles

by Member 4206974
A PowerShell Form Generator.
by Marco Bertschi
PowerShell is a very powerful tool, yet it's difference to the classic DOS command prompt gives you a hard time if you are used to the CMD. This article shall guide you into the World of PowerShell and give you an easy start.
by Md. Marufuzzaman
The objective of this article (Part 2) is to introduce you to using of VB / Microsoft .NET library, Function, Methods as well in your Microsoft Windows PowerShell script.
by Md. Marufuzzaman
The objective of this article (Part 4) is to give you an introduction on how to integrate Microsoft Windows PowerShell with the Microsoft .NET library

All Articles

Sort by Score

PowerShell 

by Marco Bertschi
PowerShell is a very powerful tool, yet it's difference to the classic DOS command prompt gives you a hard time if you are used to the CMD. This article shall guide you into the World of PowerShell and give you an easy start.
by Md. Marufuzzaman
The objective of this article (Part 2) is to introduce you to using of VB / Microsoft .NET library, Function, Methods as well in your Microsoft Windows PowerShell script.
by Md. Marufuzzaman
The objective of this article (Part 4) is to give you an introduction on how to integrate Microsoft Windows PowerShell with the Microsoft .NET library
by Md. Marufuzzaman
The objective of this article (Part-1) is to introduce you with Microsoft Windows PowerShell.
by Md. Marufuzzaman
The objective of this article (Part 3) is to introduce you to Microsoft Windows PowerShell and learn some basic command of windows PowerShell.
by Luke Jefferson
Learn how to configure SMS alerts to fire based on your Windows Azure application deployment status.
by TheCodeKing
This article provides a solution for deploying multiple applications to a single AWS instance when using AWSDeploy.
by Matt Perdeck
A fully functional sample Cloudformation template that generates a load balanced IIS/SQL Server based web site, plus PowerShell scripts to automatically deploy the web site on your EC2 instances
by Tushar_Gupta
Quick Start tutorial for creating AngularJS applications
by Melick
How to resolve the issue: AppFabric installation failed because installer MSI returned with error code: 1603
by Member 4206974
A function that works on event of Arduino and ESP32 boards
by Durgesh Nakkani
This tool copies MSI installers from a distributed server and installs it on a VM Wrokstation
by Yogesh M Joshi
This article demonstrates the use of PowerShell script to publish contents on SharePoint site
by Leszek Koc
Auto subscription of Azure functions to Event Grid
by Gary Stafford
Automate the creation of Task-type Work Items in TFS using PowerShell
by TheCodeKing
This article focuses on an alternative way to deploy and update .NET applications running on AWS EC2 instances, and mitigates the shortcomings of the AWSDeploy standalone tool.
by Atique Rahman
An article describing some of the tricks of PowerShell scripts and profile that enables you to get a bash like prompt in PowerShell and run applications more flexibly.
by awilson9010
Building WinPEs from AIK/ADK with Powershell
by Redgate Software
This article presents a method that allows us to use SQL Provision to build consistent, compliant, useful databases, on demand, for development and test environments.
by Atish Dipongkor
Writing CAML queries in a optimized, efficient and easiest way.
by Ehsan Sajjad
This is a step by step guide for beginner on how to install .NET Core 2.0 and create a Console Application without any IDE using Command Prompt/PowerShell
by Mikhail-T
Powershell script that automatically installs and updates your Chromium browser in Windows
by Bruno van Dooren
How to clean up user profiles on a computer
by Lee P Richardson
Code coverage is finally easy in .NET Core
by Rick Drizin
How to run C# Scripts (CSX scripts), load third-party libraries, and generate code directly from inside Visual Studio
by Ian Bell, #2
An introductory article that illustrates how to configure Visual Studio for Obfuscation
by Bogdan Marian
Ensure your Docker Compose services start in the correct order
by koolprasad2003
How to convert our existing lassic Windows/WPF/Win32 desktop apps to UWA? Project Centennial.
by The Ænema
This article will teach you how to create an amazing, clean and smooth WPF/Winform UI for your native application without using any complex, unsafe, ActiveXish methods, etc.
by Jean Paul V.A
In this article we will explore a scenario of adding a custom User Profile property and generating a report based on it.
by awilson9010
Mozilla Firefox MSI using WIX and Powershell
by Christian Vos
How to use Microsoft Unity Interception as a solution for cross cutting concerns in a .NET application
by Paul Jorgensen
Customizable Custom CSharp Control for the Powershell New-PSDrive cmdlet
by SERGUEIK
In this article, few examples of embedding basic Windows Forms and WPF in Powershell script for collecting user inputs are given.
by Not Active
Accessing functionality in SPCopy from Part 1.
by Arthur V. Ratz
In this brief article, we will demonstrate how to deploy a Node.js application and run it on Docker's Windows Server Core 2016 Containers
by dpalash
Through this article, you will learn how to deploy the sideloaded Windows 8 app to production easily and maintain/provide regular upgrade version of the app.
by Raphael Mun
In this article, we explore packaging then deploying a game to Azure PlayFab servers.
by Václav Dajbych
How to support PowerShell in .NET application
by Matt Kloss
Allows users to see who belongs to an exchange dynamic distribution group
by Rafid K. Al-Humaimidi
Easily support caching in your C# application to improve its performance.
by Mohssine EL HARFI
ECLP in C#
by Zhuyun Dai
Talks about executing PowerShell script remotely in PowerShell console; also describes how to do the same thing in C# code.
by Издислав Издиславов
This article will demo the usage of Blazor WebAssembly and how to create simple web application with it.
by Mikhail-T
How to write a Powershell script, which will first export all your projects (excluding source control data), then pack them with 7-Zip.
by Tibor Blazko
Example usage of The Old Reader's and Inoreader's APIs
by Sion Cohen
A framework for declarative parsing and creating fixed sized raw data (Flat Files)
by Zijian
Use PowerShell scripts to generate icons of native mobile apps
by Esteban Alvarez
Shows how to generate entity classes by calling an utility from a powershell script
by Manar Ezzadeen
PowerShell script that generates an HTML report displaying different information about the SQL Server databases, their CLR assemblies and owners.
by BC3Tech
As of this writing, I manage 29 packages on Chocolatey.org. One thing it's imperative package authors do, though, is keep their packages up to date as new versions of the software they're wrapping get released. Without this, packages simply atrophy and the value of Chocolatey goes down.
by Muhammad Idrees GS
This article will help you understand how to create NuGet package manually. It will demonstrate how to add a simple C# code file, making changes in app.config file, run powershell script and also add a dependency project.
by Federico Di Marco
A tool which creates one or more Powershell scripts which in turn recreate one or more binary files
by ByteBlocks
How to write custom PowerShell cmdlet.
by ByteBlocks
How to write a snap-in for your custom cmdlet for PowerShell.
by Daniele Fontani
A powershell script that monitors webs sites and trace logs into database.
by Arjan Douwes
Installing multiple SQL scripts using a single PowerShell script.
by EastBancTech
EastBanc Technologies successfully created an architecture that provides a scalable and flexible solution built on Microsoft technology stack using all the advantages of an integrated solution.
by Intel
This document describes the steps needed to deploy a Microsoft Windows 10 IoT Gateway and explains how to set up security features, software access points, and other management and development tools.
by Redgate Software
SQL Clone exploits the existing virtualization technology within Windows to take much of the sting out of the traditional problems surrounding database provisioning.
by Michael Ridland
Microsoft has now introduced Windows PowerShell (codename MONAD), a very powerful .NET based shell.
by Gaurav K Rastogi
This is the article which basically is the comparison between three most popular DIs in .NET.
by Rasmus_Hald
Thisarticle describes the results and how a "DevOps Duo" is now the new normal forthis professional services provider (PSP).
by Daniel Miller
This article describes the C# implementation for a high-performance user/role security principal hierarchy.
by kdmitry
Provides administrators with a way to re-format biographical data from case-insensitive data-sources.
by Mahsa Hassankashi
This article describes MSMQ technology (publisher and subscriber) in order to communicate among distributed systems in the heterogeneous network and platforms.
by aljodav
A very easy way to drive PowerShell console application through MFC
by Bishnu D
Copy SharePoint 2013 or SharePoint Online Term Stores and their child objects with properties from one environment to another
by awilson9010
Working with Windows BCD store in Powershell
by bhavik1st
A simple C# command line utility to demonstrate access to Windows Azure storage.
by Nicolas Dorier
Leverage Azure, powershell and NBitcoin for a fault tolerant and scalable block chain indexer
by Erich Ledesma
How to make solution templates with NuGet packages
by Ian_Paullin
For the past few months, I’ve been analyzing Octopus Deploy in terms of it’s components, architectural design and benefits of said design decisions. In this article, we’re going to bring everything together to see the sum of all the parts.
by Tomasz Malicki
Basic PowerShell handler C# class with an explanation
by Oliver Kohl
This article presents you the latest PowerShell technology like new or extended cmdlets, Desired State Configuration, Windows Management Framework 4.0, and more.
by shappell
Introduction to how easy PowerShell makes working with XML programmatically
by Hydeen
This article, I'll show you how to start building Applications through PowerShell with help from .NET Framework GUI
by Oliver Kohl
This article presents you some capabilities of PowerShell like the usage of .NET Framework 4.0 and .NET threading.
by Sacha Barber
PowerShell: Create MSMQ
by Bruno van Dooren
How to read data from OPC DA servers into a PowerShell script
by Lasse W
A first step in creating that magic "Developer PC Setup Script".
by Rajneesh Kumar Verma
How to reset username and password of IIS Server Application Pool
by Randy Kroeger
This article provides an example on how you can change application configuration settings within an existing ClickOnce publish, update the manifest files, followed by using the Mage utility for updating the manifest using the existing cert file.
by Ayman M. El-Hattab
Four reasons to directly query SharePoint logging database
by manibe2k5
This article will assist you to deliver/deploy your Sharepoint site and its features using Powershell
by Roger C Moore
Two SignalR Demo Projects: Self-Hosted Windows Service and Broadcasting Application
by Vivek Krishnamurthy
Power shell build script for multiple projects and solutions using MSBuild, with an option to fix the build error during the build and continue, without restarting the complete build.
by Ryan G Conrad
Using Powershell and Windows Task Scheduler API to detect malicious login attempts on a remotely accessible SQL Server database
by ganesh16
We will see steps involved for implementing Angular 2 in Visual Studio with details.
by Soptik Dutta
Explains an alternative way of stsadm restoration of a Site Collection.
by Jesus Carroll
Despite the references of several sources of unattended installation of Microsoft SQL Server Database Engine, in this article describes a script tested in real production environments and it can be used with minimal or - perhaps - no modifications.
by Jean-marc Lai
Unity interception
by Afzaal Ahmad Zeeshan, Iqra Ali
Since I wrote an article previously, I had been asked on various occasions to share the code on Yahoo! or Bing, etc. I wanted to write an article, with the code, which covers all of those vendors as well.
by Douglas M. Weems
Easily import Excel Sheets into PowerShell as PS Objects
by dtSearch Corp.
The article brings together the Microsoft Azure Cloud with dtSearch to enable secure hosting of terabytes of a broad spectrum of data types combined with instant dtSearch search access from nearly any computer or device.
by LenJ67
Using PowerShell and EWS to write/update public folder contacts.
by TexasMensch
How to automate backing up Subversion repositories using Powershell
by Gary Stafford
Use PowerShell 2.0 to aid in the delivery of build artifacts for release, by generating a manifest of file changes.
by Sachin Makwana
Convert uploaded video to MP4 and store it in database. Create thumbnail of the uploaded video and Stream the video from Database using HTML5 video tag and Entity Framework.
by Federico Di Marco
Create quickly VPN connections in Windows according to a XML configuration file
by Gunnar S
Moving ASP.NET WebAPI code to Service Fabric Cluster
by TheCodeKing
Windows Remoting works perfectly for same domain situations, but has some gotchas in mixed domain scenarios.