Powershell – Page 2 – POFTUT

Category: Powershell


Powershell Copy-Item Command Tutorial with Examples

Powershell provides Copy-Item cmdlet to copy an item from one location to another location. This item can be a file, folder or directory. Copy-Item cmdlet provides different features and options like overwrite, filter, exclude, verbose, progress etc. In this tutorial, we will learn these features by examples. Copy File To...


Get-ADUser Powershell Command Tutorial To List Active Directory Users with Examples

Windows Active Directory provides very useful enterprise user management capabilities. Powershell is a new scripting language provides for Microsoft Operating systems. Get-ADUser is a very useful command or commandlet which can be used to list Active Directory users in different ways. List Domain Users Interactively We will start with a...


How To Sleep PowerShell with Start-Sleep Command-let Tutorial with Examples?

PowerShell is not just a shell where it can provide programmatic features. We can use Start-Sleep command-let in order to suspend the script or activity for specified period of time. Syntax Start-Sleep has very simple syntax where we will just provide the options which is used to specify seconds or...


Shell Scripting Languages Examples, Bash, Sh, Python, Powershell, MSDOS, PHP, Tcl, Perl

A scripting language is a programming language supports writing simply to medium level applications in operating systems like Linux, Ubuntu, Debian, CentOS, Windows, MacOS, BSD, Unix. Scripting languages can be used to run complex tasks automatically or manually with very little effort. We can describe actions in a scripting language...


How To Run PowerShell Scripts

Powershell scripts are used to complete tasks simply running script files. This provides easy to use way to run the same commands again and again. Scripts also used to share the experience with other system administrators easily. Scripts may need sometimes parameters to the operator. In this tutorial, we will...


Powershell Start-Process Command Tutorial with Examples

Start-Process is a powershell commandlet used create new process. As powershell is mainly developed .Net and provides .Net feature Start-Process is equivalent of System.Diagnostics.Process method. Start A Process The most basic usage of the Start-Process is start a process by giving its name. Start-Process inherits current working environment variables and can find given...


Powershell Comparison Operators Like Equal, Greater, Lesser, Contains, Regex

Comparison operator is used to compare given values and return an boolean value like true and false . These operators are generally used by if , while and similar decision making keywords. All comparison operators are case-insensitive by default. So the uppercase or lowercase expression do not changes the behaviour of these comparison operators....


Powershell Trim Operation Like Filename, String, End, Start, Spaces

Powershell provides a lot of different string manipulation functions and features. Trim function is used to remove specified characters from string with different ways. In this tutorial we will look some of the trim examples. Trim White Spaces From Start and End We will start by trimming given string or texts...

Enjoy this blog? Please spread the word :)