PoshCode Archive  All files named "PowerShell-Template.ps1"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for PowerShell-Template.ps1

2018-06-10
14:23
I’ve modified the original function. I like this one better. file: [f56e4c1362] check-in: [db5bdc6141] user: Gene Magerr branch: trunk, size: 1206
13:25
I created this function to generate a new PowerShell Script template. It will prompt for the name of the script you want to create (don’t need to add the .ps1 extension) and the email (don’t need to add email) then it will create the template in the C:\Scripts directory (Dir should already exist) file: [209b18d475] check-in: [3863b5ca93] user: Thijs Dirk branch: trunk, size: 1690
13:08
I created this function to generate a new PowerShell Script template. It will prompt for the name of the script you want to create (don’t need to add the .ps1 extension) and the email (don’t need to add email) then it will create the template in the C:\Scripts directory (Dir should already exist) file: [000b2f1940] check-in: [8249cddfcc] user: unknown branch: trunk, size: 1632
13:04
I created this function to generate a new PowerShell Script template. I’ve modified it to prompt for the file name, eMail, and finally you can add a comment. The tricky part was trimmimg the comment so it would wrap properly. I use this all the time. Enjoy. file: [ff854722f7] check-in: [b3aa09b0ed] user: gmagerr branch: trunk, size: 1484
12:58
Added: I’ve modified the original function. I like this one better. Got rid of the trailing ‘ file: [a768ca7a72] check-in: [834b96807c] user: Gene Magerr branch: trunk, size: 1206