Friday, June 5, 2015

Set report file path to script location in PowerShell


Below script is to set report file path to script location in PowerShell

$scriptBasePath = split-path $SCRIPT:MyInvocation.MyCommand.Path -parent
Set-Location $scriptBasePath

Select and Delete text vertically in bigger text OR flat file

If you want to Select and Delete text vertically in bigger text OR any flat file use below command to do it. Example below: A BCEDF CDEF...