PowerShell

Save PowerShell Console session commands and there output in to text file.

  Hi, These days i am very busy in some other projects so that’s why this months i post only few articles. Sorry for that. Does anytime you think to save all the commands and there output in to text file? it like storing all of the PowerShell Consoles session data. If yes and you… Continue reading Save PowerShell Console session commands and there output in to text file.

PowerShell

PowerShell Basics Part-2: Variables in PowerShell.

  PowerShell Basics Part-1: Single Quotes (‘) and Double Quotes (“”) in PowerShell.   Hi, As i mentioned in the previous article that in the “PowerShell Basics” series we are going to cover the basics of PowerShell. Today we are covering variables. Variables plays an very important role in every scripting language and same in… Continue reading PowerShell Basics Part-2: Variables in PowerShell.

PowerShell

Sending Text to Clipboard Everywhere using Powershell

In a previous tip you learned how to use clip.exe to send results to the clipboard. But what if you don’t have clip.exe (let’s say on Windows XP) or don’t want dependencies? Here’s a clever alternative: function Out-Clipboard {  param(   $text  )  Add-Type -AssemblyName System.Windows.Forms  $tb = New-Object System.Windows.Forms.TextBox  $tb.Multiline = $true        if… Continue reading Sending Text to Clipboard Everywhere using Powershell