-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bada410
Showing
95 changed files
with
10,813 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
# ========================= | ||
# Operating System Files | ||
# ========================= | ||
|
||
# OSX | ||
# ========================= | ||
|
||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# ChangeLog for ISEScriptingGeek Module | ||
|
||
## v3.4.2 | ||
|
||
+ Updated license | ||
+ Updated manifest to PowerShell 5.1 and supporting Desktop edition | ||
|
||
## v3.4.1 | ||
|
||
+ Replaced `Out-Null` references to using `[void]` | ||
+ Cleaned up incorrect exported aliases | ||
+ Code clean up and reformatting | ||
|
||
## v3.4.0 | ||
|
||
+ code cleanup as some commands have moved to the PSScriptTools module. | ||
+ Moved help to external files (Issue #11) | ||
+ Renamed `changelog.txt` to `changelog.md` | ||
+ module restructuring | ||
+ Updated `README.md` | ||
|
||
## v3.3.0.0 | ||
|
||
+ Added New-FileHere command | ||
+ Fixed Open-SelectedISE to trim spaces from selected text and write a warning if file not found. | ||
+ Added ChangeLog.txt file. | ||
+ Added #requires -module PSDesiredStateConfiguration to New-DSCResourceSnippet.ps1 | ||
+ Switched to MIT license | ||
|
||
## v3.3.1.0 | ||
|
||
+ Fixed a bug with New-CommentHelp to accept no parameters | ||
+ Updated New-CommentHelp to ignore new Information related common parameters in v5 | ||
|
||
## v3.3.1.1 | ||
|
||
+ Updated New-FileHere function | ||
|
||
## v3.3.1.2 | ||
|
||
+ Published to PowerShell Gallery with a v5 manifest. | ||
|
||
## v3.3.1.3 | ||
|
||
+ updated module manifest | ||
+ Updated script signing to support multiple certificates | ||
+ Updated author name in manifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
|
||
@{ | ||
|
||
# Script module or binary module file associated with this manifest. | ||
RootModule = 'ISEScriptingGeek.psm1' | ||
|
||
# Version number of this module. | ||
ModuleVersion = '3.4.2' | ||
|
||
# Supported PSEditions | ||
CompatiblePSEditions = @('Desktop') | ||
|
||
# ID used to uniquely identify this module | ||
GUID = '6d1078ea-36c8-443a-9476-6d6c4d6ac834' | ||
|
||
# Author of this module | ||
Author = 'Jeff Hicks' | ||
|
||
# Company or vendor of this module | ||
CompanyName = 'JDH Information Technology Solutions, Inc.' | ||
|
||
# Copyright statement for this module | ||
Copyright = '2013-2020 JDH Information Technology Solutions, Inc. All Rights Reserved.' | ||
|
||
# Description of the functionality provided by this module | ||
Description = 'Functions and add-ons for the Windows PowerShell ISE v4.0 and later' | ||
|
||
# Minimum version of the Windows PowerShell engine required by this module | ||
PowerShellVersion = '5.1' | ||
|
||
# Name of the Windows PowerShell host required by this module | ||
# PowerShellHostName = '' | ||
|
||
# Minimum version of the Windows PowerShell host required by this module | ||
# PowerShellHostVersion = '' | ||
|
||
# Minimum version of Microsoft .NET Framework required by this module | ||
# DotNetFrameworkVersion = '' | ||
|
||
# Minimum version of the common language runtime (CLR) required by this module | ||
CLRVersion = '4.0' | ||
|
||
# Processor architecture (None, X86, Amd64) required by this module | ||
ProcessorArchitecture = 'None' | ||
|
||
# Modules that must be imported into the global environment prior to importing this module | ||
# RequiredModules = @() | ||
|
||
# Assemblies that must be loaded prior to importing this module | ||
RequiredAssemblies = @() | ||
|
||
# Script files (.ps1) that are run in the caller's environment prior to importing this module. | ||
ScriptsToProcess = @() | ||
|
||
# Type files (.ps1xml) to be loaded when importing this module | ||
TypesToProcess = @() | ||
|
||
# Format files (.ps1xml) to be loaded when importing this module | ||
FormatsToProcess = @() | ||
|
||
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess | ||
# NestedModules = @() | ||
|
||
# Functions to export from this module | ||
FunctionsToExport = 'Add-CurrentProject', 'Add-ISEBookmark', 'CloseAllFiles', | ||
'CloseAllFilesButCurrent', 'Convert-AliasDefinition', | ||
'Convert-CodetoSnippet', 'Convert-CommandtoHash', 'ConvertFrom-Alias', | ||
'ConvertFrom-MultiLineComment', 'ConvertTo-CommentHelp', | ||
'ConvertTo-Definition', 'ConvertTo-MultiLineComment', | ||
'ConvertTo-TextFile', 'Copy-ToWord', 'Edit-CurrentProject', | ||
'Edit-Snippet', 'Find-InFile', 'Get-ASTProfile', 'Get-CommandMetadata', | ||
'Get-ISEBookmark', 'Get-NextISETab', 'Get-ScriptComments', | ||
'Get-ScriptingHelp', 'Get-SearchResult', 'Import-CurrentProject', | ||
'New-CIMCommand', 'New-CommentHelp', 'New-DSCResourceSnippet', | ||
'New-FileHere', 'New-Inputbox', 'New-PSCommand', | ||
'Open-ISEBookmark', 'Open-SelectedISE', 'Out-ISETab', | ||
'Remove-ISEBookmark', 'Reset-ISEFile', 'Send-ToPrinter', | ||
'Start-MyScript', 'Update-ISEBookmark', 'Write-Signature', | ||
'New-Function','Set-ScriptLocation' | ||
|
||
# Cmdlets to export from this module | ||
CmdletsToExport = @() | ||
|
||
# Variables to export from this module | ||
VariablesToExport = 'MySnippets', 'MyModules', 'MyPowerShell', 'CurrentProjectList' | ||
|
||
# Aliases to export from this module | ||
AliasesToExport = 'ccs','gcmd','glcm''tab','sd' | ||
|
||
# DSC resources to export from this module | ||
# DscResourcesToExport = @() | ||
|
||
# List of all modules packaged with this module | ||
# ModuleList = @() | ||
|
||
# List of all files packaged with this module | ||
#FileList = '' | ||
|
||
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. | ||
PrivateData = @{ | ||
|
||
#Category of this module | ||
Category = 'PowerShell ISE' | ||
|
||
#IsPrerelease of this module | ||
IsPrerelease = 'False' | ||
|
||
PSData = @{ | ||
|
||
# Tags applied to this module. These help with module discovery in online galleries. | ||
Tags = 'ISE','Snippets','Scripting' | ||
|
||
# A URL to the license for this module. | ||
LicenseUri = 'https://github.com/jdhitsolutions/ISEScriptingGeek/blob/master/License.txt' | ||
|
||
# A URL to the main website for this project. | ||
ProjectUri = 'https://github.com/jdhitsolutions/ISEScriptingGeek' | ||
|
||
# A URL to an icon representing this module. | ||
# IconUri = '' | ||
|
||
# ReleaseNotes of this module | ||
# ReleaseNotes = '' | ||
|
||
# External dependent modules of this module | ||
# ExternalModuleDependencies = '' | ||
|
||
} # End of PSData hashtable | ||
|
||
} # End of PrivateData hashtable | ||
|
||
# HelpInfo URI of this module | ||
# HelpInfoURI = '' | ||
|
||
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. | ||
# DefaultCommandPrefix = '' | ||
|
||
} | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
MIT License | ||
|
||
Copyright (c) 2015-2022 JDH Information Technology Solutions, Inc. | ||
|
||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# ISEScriptingGeek Module | ||
|
||
[![PSGallery Version](https://img.shields.io/powershellgallery/v/ISEScriptingGeek.png?style=for-the-badge&logo=powershell&label=PowerShell%20Gallery)](https://www.powershellgallery.com/packages/ISEScriptingGeek/) [![PSGallery Downloads](https://img.shields.io/powershellgallery/dt/ISEScriptingGeek.png?style=for-the-badge&label=Downloads)](https://www.powershellgallery.com/packages/ISEScriptingGeek/) | ||
|
||
This module is a set of ISE add-ons and a few themes. It requires PowerShell5.1 or higher. | ||
|
||
_As of February 2019 I no longer intend to update or extend this module. VS Code is clearly Microsoft's choice for a scripting tool going forward. The PowerShell ISE isn't going away any time soon, but it is also no longer under active development so I need no point in continuing to develop this module. I will maintain it and address pull requests should members of the community wish to contribute, maintain or extend this module._ | ||
|
||
Install the module from the PowerShell Gallery. | ||
|
||
```powershell | ||
Install-Module ISEScriptingGeek | ||
``` | ||
|
||
Then in your PowerShell_ISE profile script, import the module. | ||
|
||
```powershell | ||
Import-Module ISEScriptingGeek | ||
``` | ||
|
||
This will add the menu short cuts. | ||
|
||
## Themes | ||
|
||
The themes can be found and imported from the Themes sub-folder of the module. | ||
These are optional and are not connected to the add-ons. | ||
|
||
## Add-ons | ||
|
||
Once the module is imported, the add-ons will be listed under **ISE Scripting Geek** on the **Add-ons** menu in the ISE. | ||
A number of the add-ons fall into grouped sub-folders: | ||
|
||
![add-ons menu](images/addons-menu.png) | ||
|
||
### Bookmarks | ||
|
||
A set of functions for creating and working with "bookmarks" to files opened in the ISE. | ||
|
||
### Convert | ||
|
||
These handle various conversions such as: | ||
|
||
- selected text to snippet, region | ||
- case conversion | ||
- alias expansion | ||
|
||
### Dates and times | ||
|
||
A set of functions for inserting date/time in different formats | ||
|
||
### Files | ||
|
||
A set of functions for working with open files and their associated folders | ||
|
||
### Work | ||
|
||
A set of functions for creating and managing a "work list" of files | ||
|
||
### Miscellaneous | ||
|
||
There are also other scripts directly off the **ISE Scripting Geek** menu, these functions provide various capabilities: | ||
|
||
- Print, Run or Sign script | ||
- Send script to Word (with or without color) | ||
- Send selected text to different search engines | ||
- Help functions | ||
- New CIM Command, DSC Resource snippets, etc. | ||
|
Oops, something went wrong.