Tutorial by Topics: powershell

Windows PowerShell is a shell and scripting component of the Windows Management Framework, an automation/configuration management framework from Microsoft built on the .NET Framework. PowerShell is installed by default on all supported versions of Windows client and server operating systems since ...
A class is an extensible program-code-template for creating objects, providing initial values for state (member variables) and implementations of behavior (member functions or methods).A class is a blueprint for an object. It is used as a model to define the structure of objects. An object contains ...
A function is basically a named block of code. When you call the function name, the script block within that function runs. It is a list of PowerShell statements that has a name that you assign. When you run a function, you type the function name.It is a method of saving time when tackling repetitiv...
about_Remote about_RemoteFAQ about_RemoteTroubleshooting
https://technet.microsoft.com/en-us/library/hh849921.aspx
Variables are used for storing values. Let the value be of any type , we need to store it somewhere so that we can use it throughout the console/script. Variable names in PowerShell begin with a $, as in $Variable1, and values are assigned using =, like $Variable1 = "Value 1".PowerShell su...
PowerShell introduces an object pipelining model, which allows you to send whole objects down through the pipeline to consuming commandlets or (at least) the output. In contrast to classical string-based pipelining, information in piped objects don't have to be on specific positions. Commandlets can...
Jobs were introduced in PowerShell 2.0 and helped to solve a problem inherent in the command-line tools. In a nutshell, if you start a long running task, your prompt is unavailable until the task finishes. As an example of a long running task, think of this simple PowerShell command: Get-ChildItem ...
It can be used to Exit the current scope, which can be a function, script, or script block. In PowerShell, the result of each statement is returned as output, even without an explicit Return keyword or to indicate that the end of the scope has been reached. You can read more about the return s...
Profile file is a powershell script that will run while the powershell console is starting. This way we can have our environment prepared for us each time we start new powershell session. Typical things we want to do on powershell start are: importing modules we use often (ActiveDirectory, Ex...
ParameterDescription-Help | -? | /?Shows the help-File <FilePath> [<Args>]Path to script-file that should be executed and arguments (optional)-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] }Commands to be executed followed by a...
By going through this document You can get to know how to use SQL queries with powershell ItemDescription$ServerInstanceHere we have to mention the instance in which the database is present$DatabaseHere we have to mention the database in which the table is present$QueryHere we have to the query whi...
Starting with PowerShell version 2.0, developers can create PowerShell modules. PowerShell modules encapsulate a set of common functionality. For example, there are vendor-specific PowerShell modules that manage various cloud services. There are also generic PowerShell modules that interact with soc...
PowerShell Workflow is a feature that was introduced starting with PowerShell version 3.0. Workflow definitions look very similar to PowerShell function definitions, however they execute within the Windows Workflow Foundation environment, instead of directly in the PowerShell engine. Several unique...
This documentation explains and provides steps to download latest artifact from a JFrog Artifactory repository using Powershell Script (v2.0 or below).
Manipulating Regex for IPv4 and IPv6 and replacing by fake IP address in a readed log file

Page 1 of 2