Changing the new script header template
The path to the new script template is located on this path in Windows:
1 |
C:\ProgramData\SAPIEN\PowerShell Studio 2014\Templates\FileTypes\PowerShellStudio Template.ps1 |
Change, or add the section below. The template has a number of variables that are populated when a new file is created.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<# ============================================================================= Description: [Add title here] Created On: %Date% %Time% Author: %Username% Organization: %Company% File: %FileName% Usage PS> . %FileName% Version: 0.0 Purpose: [Add description here] Last Updated: %Date% %Time% History: 0.0 %Date% %Time% - Initial Revision Created with: SAPIEN Technologies, Inc., %AppName% v%AppVersion% ============================================================================= #> |
Snippets path for dbForge SQL Complete, dbForge Fusion and dbForge Studio
1 2 |
Copy-Item -Path 'C:\ProgramData\Devart\dbForge Studio for SQL Server\Snippets\' -Destination 'C:\ProgramData\Devart\dbForge SQL Complete' -Force -Recurse Copy-Item -Path 'C:\ProgramData\Devart\dbForge Studio for SQL Server\Snippets\' -Destination 'C:\ProgramData\Devart\dbForge Fusion for SQL Server\Visual Studio' -Force -Recurse |
Views – 2694