Click here to Skip to main content
14,971,296 members
Everything / Programming Languages / PowerShell

PowerShell

PowerShell

Great Reads

by Daniel Miller
This article describes the C# implementation for a high-performance user/role security principal hierarchy.
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 Christian Vos
How to use Microsoft Unity Interception as a solution for cross cutting concerns in a .NET application
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.

Latest Articles

by Aditya-Sharma0712
How to set classification label to an Excel/Word/PDF file at the time of its creation during runtime programmatically
by wkiess01
A Powershell script to rename HD video camera files using their original creation date
by Benktesh Sharma
How to create, modify and update Docker image from container
by Marijan Nikic
A simple solution using Powershell for preparing emails from Windows batch in Outlook; supports HTML body

All Articles

Sort by Score

PowerShell 

Please Sign up or sign in to vote.
12 Apr 2015
Shining Dragon
A look into how we can achieve multi threading in our Powershell scripts
Please Sign up or sign in to vote.
17 May 2016
Ron Bos
I wrote this small PowerShell script to quickly access some AbstractSpoon ToDoList documents which are stored in VeraCrypt containers. The selected container stays mounted until the ToDoList executable is closed. I use OneDrive to automatically upload the then dismounted container to the cloud.
Please Sign up or sign in to vote.
16 Aug 2010
shappell
A Script for determing the levenshtein distance between two strings in PowerShell
Please Sign up or sign in to vote.
17 Aug 2011
Milind R Chavan
Create MySQL Database backup using mysqldump
Please Sign up or sign in to vote.
10 Jul 2014
RoboJRR
How to use Powershell to query webservices.
Please Sign up or sign in to vote.
22 Dec 2015
2irfanshaikh
Use SharePoint Commandlets in Windows PowerShell ISE
Please Sign up or sign in to vote.
9 Jan 2017
dandy72
Copy removable media more quickly by eliminating all the usual repetitive application interaction steps you normally have to go through.
Please Sign up or sign in to vote.
22 Dec 2020
Marijan Nikic
A simple solution using Powershell for preparing emails from Windows batch in Outlook; supports HTML body
Please Sign up or sign in to vote.
20 Sep 2010
Uros Calakovic
I encountered a problem while trying to use WPF UI Automation with PowerShell - PowerShell reported incorrect type for automation elements
Please Sign up or sign in to vote.
2 Mar 2014
Matthias Kainer
Registering your powershell modules on demand with PSReg
Please Sign up or sign in to vote.
26 Nov 2014
Zhuyun Dai
Describes how to resolve the 'Double-Hop' issue in PowerShell remoting and how to troubleshoot issues we may meet.
Please Sign up or sign in to vote.
30 Nov 2015
Sarkis Matossian
Encoding a .NET assembly as a hex string to install in SQL Server.
Please Sign up or sign in to vote.
29 Jul 2015
LalithGallage
This powershell script is you to monitor windows servers’ free hard disk and populate it to sharepoint custom list.
Please Sign up or sign in to vote.
6 Dec 2015
Krishna P Seetharaman
This tip explains about a way using PowerShell to monitor all the disabled send ports/receive locations and suspended messages and send an email about these info
Please Sign up or sign in to vote.
19 Dec 2015
dineshiam
This tip will give an overview to Sitecore developer about how to migrate data using Sitecore PowerShell scripts.
Please Sign up or sign in to vote.
9 Feb 2016
Jim Roth
Use PowerShell Post-build scripts to check in binaries to TFS for continuous integration during the build process.
Please Sign up or sign in to vote.
17 May 2016
MarkHawes
Ugh, WIFI not working or unstable? Try this tip....
Please Sign up or sign in to vote.
4 Oct 2016
Shawn K Lewis
Powershell script for Amazon Dash button Detection via DHCP Discover message
Please Sign up or sign in to vote.
28 Jun 2018
RamanaReddy V
Login to your VPN through CISCO with single mouse click jump to your VPN system below 30 seconds..!
Please Sign up or sign in to vote.
21 May 2019
Tom Ling
How to export VS code extensions to another computer using PowerShell
Please Sign up or sign in to vote.
29 Jun 2020
Member 14874449
Walk-through and source code for a excel VBA development workflow
Please Sign up or sign in to vote.
20 Jun 2021
Aditya-Sharma0712
How to set classification label to an Excel/Word/PDF file at the time of its creation during runtime programmatically
Please Sign up or sign in to vote.
22 Feb 2013
Bharat Nimba Pawar
importing powershell modules and executes CmdLets in windows application using Automation library APIs
Please Sign up or sign in to vote.
7 May 2014
Member 4206974
A PowerShell 3.0 Form Generator.
Please Sign up or sign in to vote.
11 Jul 2014
MANPREET SINGH
How to read XML files and add them into SharePoint 2010 through Powershell
Please Sign up or sign in to vote.
28 Jul 2014
Muhammad Muddasar Yamin
The article is about launching elevated processes through command line
Please Sign up or sign in to vote.
4 Dec 2016
Muhammad Magdi
Step by step guide to add pre and post PowerShell scripts to TFS2012 build
Please Sign up or sign in to vote.
17 May 2011
Omar Al Zabir
Files with different date time get different ETag generated by IIS. As a result, on a web server farm, each webserver sends different ETag for the same file as the files are copied to those servers at different date time. Here's a script that can set date time of same file across multiple servers to
Please Sign up or sign in to vote.
27 Aug 2011
theit8514
TaskList shows incorrect data - Use PowerShell instead
Please Sign up or sign in to vote.
19 Sep 2011
brunofer2007
Delete all alerts for a specific list or library on SharePoint.
Please Sign up or sign in to vote.
6 Oct 2011
Joe Leibowitz
Build a simple GUI in PowerShell that will display data queried from a SQL Server table.
Please Sign up or sign in to vote.
7 Dec 2011
Joe Leibowitz
Use PowerShell to Query and Display Data II (Active Directory\LDAP)
Please Sign up or sign in to vote.
12 Mar 2012
Vivek Krishnamurthy
Power shell script for upgrading Visual Studio 2008 solutions and projects into Visual Studio 2010.
Please Sign up or sign in to vote.
1 Nov 2012
Jaime Olivares
Configure an Azure solution to create users during deployment
Please Sign up or sign in to vote.
30 Nov 2012
TexaWeb
How to change the name of a SharePoint site in URL
Please Sign up or sign in to vote.
15 Feb 2013
Rumnha
PowerShell in general can be used for searching text in files. The same fearture helps to get required debugging info from log files on the production server,
Please Sign up or sign in to vote.
7 Mar 2013
madagaga
Code sample to monitor file size on server.
Please Sign up or sign in to vote.
25 Aug 2013
Ville Korppi
PowerShellScript to Unify AccessRights of Mailboxes
Please Sign up or sign in to vote.
3 Sep 2013
Praveen Chandran
Power shell command to hide a particular column in a sharepoint list from the newform and editform.
Please Sign up or sign in to vote.
12 Mar 2014
Ajith K Gatty
HTML to PDF Conversion using Sharepoint Management Shell 2010
Please Sign up or sign in to vote.
25 Jun 2014
george bolovan
Get quote using Yahoo finance
Please Sign up or sign in to vote.
22 Aug 2014
Abhi - Texas
PowerShell script which allows to get the sizing of any URLs for SharePoint 2010
Please Sign up or sign in to vote.
30 Nov 2014
Chiew Heng Wah
Script to remove deleted AD accounts from SharePoint groups
Please Sign up or sign in to vote.
3 Jul 2020
Deepthi Viswanathan Nair
This tip explains how to change the owner of the PowerApp in Office 365
Please Sign up or sign in to vote.
12 Apr 2021
wkiess01
A Powershell script to rename HD video camera files using their original creation date
Please Sign up or sign in to vote.
10 Dec 2013
ravi gunishetti
Adding Custom Context Menu to a Sharepoint List Using Features
Please Sign up or sign in to vote.
3 Dec 2014
Atul_Kapoor
Perform SQL Server Instance health check simultaneously on more than one server using Powershell
Please Sign up or sign in to vote.
6 Sep 2015
Pavel Durov
This tip shows one of the ways to send a request from your machine to server using Windows PowerShell.
Please Sign up or sign in to vote.
5 Nov 2019
Rahul R Shanbhag
This tip explains how we can make the Git pipeline fail when the Sonarqube quality gates analysis for the corresponding branch fails.
Please Sign up or sign in to vote.
25 Jun 2016
Caio Hamamura
Run unit tests as you modify your code
Please Sign up or sign in to vote.
18 Nov 2019
Karuna Kant Mishra
This tip explains how to execute single command in multiple parallel servers. We can use other tools to achieve the same.
Please Sign up or sign in to vote.
14 May 2015
NikiGrly
How to develop,deploy and debug a simple Timer job application
Please Sign up or sign in to vote.
7 Dec 2015
B@dC0d3r
Exchange 2010 user Maintenance
Please Sign up or sign in to vote.
24 Dec 2012
Shay Yannay
Create Azure cloud service application in OPC format
Please Sign up or sign in to vote.
23 Aug 2013
Venkat Krishna Turlapati
Powershell script to copy files greater than certain date
Please Sign up or sign in to vote.
3 Oct 2013
Chandra Hundigam Venkat
Very simple PowerShell cleanup script that will clean IIS 7 log files
Please Sign up or sign in to vote.
6 Nov 2013
Maximus5
Creating new release and uploading release files in one click
Please Sign up or sign in to vote.
15 May 2020
oproot
Kicking off and monitoring long-running Azure logic app workflows with Powershell
Please Sign up or sign in to vote.
13 Feb 2016
Marcus Müller
A PowerShell function for testing Internet connectivity using the Network Connectivity Status Indicator (NCSI) mechanism
Please Sign up or sign in to vote.
2 Jun 2020
.Net Core Developer
This post will help you to Create, View & Delete your own Event "Source" using PowerShell.
Please Sign up or sign in to vote.
3 Jul 2019
Prakash Singh
Resolution of Security rule has invalid Port range issue
Please Sign up or sign in to vote.
3 Dec 2020
Gaurang Majithiya
About "Execution of scripts is disabled on this system" error that people get when they run any PowerShell command for the first time
Please Sign up or sign in to vote.
11 Sep 2018
Sunil Kumar Pashikanti
Running scripts is disabled on this system
Please Sign up or sign in to vote.
27 Feb 2015
aljodav
An easy way to encrypt files that are automatically decrypted in the same user account
Please Sign up or sign in to vote.
26 Feb 2015
aljodav
Easily reading CodeProject RSS feed for new articles from a MFC Application
Please Sign up or sign in to vote.
28 Feb 2015
aljodav
A simple, short and easy way to display a JSON object in a browser (motivated by a forum question)