This month, I am planning to share some little-little, sweet-sweet cute-cute one-line tricks.
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
" " > newscript.ps1
Thanks for your time,
Regards.
Aman Dhally
notepad? how about ISE?
ReplyDelete