Tuesday, August 4, 2015

PowerShell Tips : Creating new empty PowerShell Script on the fly.


This month, I am planning to share some little-little, sweet-sweet cute-cute one-line tricks.

cute-small-kitty-wallpapers-3ea50aff8057d11d20ab99a8d1c2cc16 (cute)

We have already done so much heavy work with PowerShell in the previous months. Let's stress free ourselves and learn some other small small tips and tricks of PowerShell.

Creating new PowerShell Script on the fly.

Today's tip is to create a empty PowerShell script on the fly, yes we can use New-Item cmdlet, but, sometime it is good to know another ways too.

To create a blank new script , just type a open and closing quotes, and then greater than sign and the name of the script. That's all Smile 

" " > newscript.ps1

04-08-2015 13-21-39



Thanks for your time,

Aman Dhally Manya Kaur

Aman Dhally

1 comment: