powershell – POFTUT

Tagged: powershell

0

What Is System Administrator and Duties ?

Information Technology or IT provides a lot of positions for technical personnel. System Administrator is the most popular position or role in the IT except Programmers or Applications Developers. In this tutorial we will try to explain the System Administrator role and its duties. System System is a general term to refer a complete hardware and software which can run applications on. Actually network devices like switch, router can be...

2

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 and run them easily. In this tutorial, we will look at popular scripting languages used by different operating systems and...

2

How To Write Comment Block In Batch File MSDOS

Windows MS-DOS very useful programming environment for Windows family operating system. In order to complete jobs easier, faster and less error system administrators generally uses batch scripts. In order to remember or understand commands and functions written to batch script we generally use comments or comment block. In this tutorial we will look how to create comments. Single Line Comment We will start by showing single line comment. rem is the keyword...

0

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 look at different aspects and usage forms of Powershell scripts. Enable Powershell Script Execution with Execution Policy Security is an...

0

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 executable if its in Path environment. In this example we will start notepad.exe by specifying a filename names.txt

Run Batch File...

0

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. Equal One of the most used comparison operator is equal. This operator check whether given values are equal or not...

1

How To Pause and Resume Powershell and Cmd Scripts In Windows With Examples?

Powershell is as its name suggest powerful language. I have very good features and libraries. In this tutorial we will look how to pause Powershell in different ways and different behaviors. Pause And Wait Input We may want to pause the current shell and wait an input from the user. This is very useful if we need more specific input from the user like selecting a menu or an option....

0

Windows Configuration Tools Command Line Shortcuts

Windows have a lot of tools to manage the operating system and user related configuration. As windows mainly used through GUI accessing some tools needs a lot of navigation, search and click. We can create some shortcuts on the desktop but this is not efficient if we are system admin and use a lot of different computers. In this tutorial we will look some most used management tools command shortcuts....

0

How To Start Applications From Command Line In Windows Different Ways?

Windows is very user friendly and GUI oriented operating system. Other operating systems like Unix, Linux, BSD came from non-GUI heritance and adopted the GUI experience in recent decade very good. In contrast Microsoft started to provide more productive command line support to use Windows operating systems features. One of the most used operation is starting applications. In this tutorial we will look how to start an GUI application from...

1

Get-Service Service Management With Windows Powershell From Command Line

Windows Powershell provides easy to use commands or command-lets to manage Windows systems. Powershell can be used to manage Windows Services and provides builtin command for related operations. Help Help information about Powershell Services command can be get wit the following command.

List Services with Get-Service Existing Windows services can be listed with the Powershell command Get-Service . This will list all services currently running, stopped, suspended.

While listing...

Enjoy this blog? Please spread the word :)