Skip to content

Commit bada410

Browse files
Truncated history
0 parents  commit bada410

File tree

95 files changed

+10813
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+10813
-0
lines changed

.gitattributes

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
7+
# Standard to msysgit
8+
*.doc diff=astextplain
9+
*.DOC diff=astextplain
10+
*.docx diff=astextplain
11+
*.DOCX diff=astextplain
12+
*.dot diff=astextplain
13+
*.DOT diff=astextplain
14+
*.pdf diff=astextplain
15+
*.PDF diff=astextplain
16+
*.rtf diff=astextplain
17+
*.RTF diff=astextplain

.gitignore

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Windows image file caches
2+
Thumbs.db
3+
ehthumbs.db
4+
5+
# Folder config file
6+
Desktop.ini
7+
8+
# Recycle Bin used on file shares
9+
$RECYCLE.BIN/
10+
11+
# Windows Installer files
12+
*.cab
13+
*.msi
14+
*.msm
15+
*.msp
16+
17+
# Windows shortcuts
18+
*.lnk
19+
20+
# =========================
21+
# Operating System Files
22+
# =========================
23+
24+
# OSX
25+
# =========================
26+
27+
.DS_Store
28+
.AppleDouble
29+
.LSOverride
30+
31+
# Thumbnails
32+
._*
33+
34+
# Files that might appear on external disk
35+
.Spotlight-V100
36+
.Trashes
37+
38+
# Directories potentially created on remote AFP share
39+
.AppleDB
40+
.AppleDesktop
41+
Network Trash Folder
42+
Temporary Items
43+
.apdisk

Changelog.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# ChangeLog for ISEScriptingGeek Module
2+
3+
## v3.4.2
4+
5+
+ Updated license
6+
+ Updated manifest to PowerShell 5.1 and supporting Desktop edition
7+
8+
## v3.4.1
9+
10+
+ Replaced `Out-Null` references to using `[void]`
11+
+ Cleaned up incorrect exported aliases
12+
+ Code clean up and reformatting
13+
14+
## v3.4.0
15+
16+
+ code cleanup as some commands have moved to the PSScriptTools module.
17+
+ Moved help to external files (Issue #11)
18+
+ Renamed `changelog.txt` to `changelog.md`
19+
+ module restructuring
20+
+ Updated `README.md`
21+
22+
## v3.3.0.0
23+
24+
+ Added New-FileHere command
25+
+ Fixed Open-SelectedISE to trim spaces from selected text and write a warning if file not found.
26+
+ Added ChangeLog.txt file.
27+
+ Added #requires -module PSDesiredStateConfiguration to New-DSCResourceSnippet.ps1
28+
+ Switched to MIT license
29+
30+
## v3.3.1.0
31+
32+
+ Fixed a bug with New-CommentHelp to accept no parameters
33+
+ Updated New-CommentHelp to ignore new Information related common parameters in v5
34+
35+
## v3.3.1.1
36+
37+
+ Updated New-FileHere function
38+
39+
## v3.3.1.2
40+
41+
+ Published to PowerShell Gallery with a v5 manifest.
42+
43+
## v3.3.1.3
44+
45+
+ updated module manifest
46+
+ Updated script signing to support multiple certificates
47+
+ Updated author name in manifest

ISEScriptingGeek.psd1

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
2+
@{
3+
4+
# Script module or binary module file associated with this manifest.
5+
RootModule = 'ISEScriptingGeek.psm1'
6+
7+
# Version number of this module.
8+
ModuleVersion = '3.4.2'
9+
10+
# Supported PSEditions
11+
CompatiblePSEditions = @('Desktop')
12+
13+
# ID used to uniquely identify this module
14+
GUID = '6d1078ea-36c8-443a-9476-6d6c4d6ac834'
15+
16+
# Author of this module
17+
Author = 'Jeff Hicks'
18+
19+
# Company or vendor of this module
20+
CompanyName = 'JDH Information Technology Solutions, Inc.'
21+
22+
# Copyright statement for this module
23+
Copyright = '2013-2020 JDH Information Technology Solutions, Inc. All Rights Reserved.'
24+
25+
# Description of the functionality provided by this module
26+
Description = 'Functions and add-ons for the Windows PowerShell ISE v4.0 and later'
27+
28+
# Minimum version of the Windows PowerShell engine required by this module
29+
PowerShellVersion = '5.1'
30+
31+
# Name of the Windows PowerShell host required by this module
32+
# PowerShellHostName = ''
33+
34+
# Minimum version of the Windows PowerShell host required by this module
35+
# PowerShellHostVersion = ''
36+
37+
# Minimum version of Microsoft .NET Framework required by this module
38+
# DotNetFrameworkVersion = ''
39+
40+
# Minimum version of the common language runtime (CLR) required by this module
41+
CLRVersion = '4.0'
42+
43+
# Processor architecture (None, X86, Amd64) required by this module
44+
ProcessorArchitecture = 'None'
45+
46+
# Modules that must be imported into the global environment prior to importing this module
47+
# RequiredModules = @()
48+
49+
# Assemblies that must be loaded prior to importing this module
50+
RequiredAssemblies = @()
51+
52+
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
53+
ScriptsToProcess = @()
54+
55+
# Type files (.ps1xml) to be loaded when importing this module
56+
TypesToProcess = @()
57+
58+
# Format files (.ps1xml) to be loaded when importing this module
59+
FormatsToProcess = @()
60+
61+
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
62+
# NestedModules = @()
63+
64+
# Functions to export from this module
65+
FunctionsToExport = 'Add-CurrentProject', 'Add-ISEBookmark', 'CloseAllFiles',
66+
'CloseAllFilesButCurrent', 'Convert-AliasDefinition',
67+
'Convert-CodetoSnippet', 'Convert-CommandtoHash', 'ConvertFrom-Alias',
68+
'ConvertFrom-MultiLineComment', 'ConvertTo-CommentHelp',
69+
'ConvertTo-Definition', 'ConvertTo-MultiLineComment',
70+
'ConvertTo-TextFile', 'Copy-ToWord', 'Edit-CurrentProject',
71+
'Edit-Snippet', 'Find-InFile', 'Get-ASTProfile', 'Get-CommandMetadata',
72+
'Get-ISEBookmark', 'Get-NextISETab', 'Get-ScriptComments',
73+
'Get-ScriptingHelp', 'Get-SearchResult', 'Import-CurrentProject',
74+
'New-CIMCommand', 'New-CommentHelp', 'New-DSCResourceSnippet',
75+
'New-FileHere', 'New-Inputbox', 'New-PSCommand',
76+
'Open-ISEBookmark', 'Open-SelectedISE', 'Out-ISETab',
77+
'Remove-ISEBookmark', 'Reset-ISEFile', 'Send-ToPrinter',
78+
'Start-MyScript', 'Update-ISEBookmark', 'Write-Signature',
79+
'New-Function','Set-ScriptLocation'
80+
81+
# Cmdlets to export from this module
82+
CmdletsToExport = @()
83+
84+
# Variables to export from this module
85+
VariablesToExport = 'MySnippets', 'MyModules', 'MyPowerShell', 'CurrentProjectList'
86+
87+
# Aliases to export from this module
88+
AliasesToExport = 'ccs','gcmd','glcm''tab','sd'
89+
90+
# DSC resources to export from this module
91+
# DscResourcesToExport = @()
92+
93+
# List of all modules packaged with this module
94+
# ModuleList = @()
95+
96+
# List of all files packaged with this module
97+
#FileList = ''
98+
99+
# 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.
100+
PrivateData = @{
101+
102+
#Category of this module
103+
Category = 'PowerShell ISE'
104+
105+
#IsPrerelease of this module
106+
IsPrerelease = 'False'
107+
108+
PSData = @{
109+
110+
# Tags applied to this module. These help with module discovery in online galleries.
111+
Tags = 'ISE','Snippets','Scripting'
112+
113+
# A URL to the license for this module.
114+
LicenseUri = 'https://github.com/jdhitsolutions/ISEScriptingGeek/blob/master/License.txt'
115+
116+
# A URL to the main website for this project.
117+
ProjectUri = 'https://github.com/jdhitsolutions/ISEScriptingGeek'
118+
119+
# A URL to an icon representing this module.
120+
# IconUri = ''
121+
122+
# ReleaseNotes of this module
123+
# ReleaseNotes = ''
124+
125+
# External dependent modules of this module
126+
# ExternalModuleDependencies = ''
127+
128+
} # End of PSData hashtable
129+
130+
} # End of PrivateData hashtable
131+
132+
# HelpInfo URI of this module
133+
# HelpInfoURI = ''
134+
135+
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
136+
# DefaultCommandPrefix = ''
137+
138+
}
139+

ISEScriptingGeek.psm1

16.2 KB
Binary file not shown.

License.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
MIT License
2+
3+
Copyright (c) 2015-2022 JDH Information Technology Solutions, Inc.
4+
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
14+
The above copyright notice and this permission notice shall be included in
15+
all copies or substantial portions of the Software.
16+
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.
25+
26+
27+

README.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# ISEScriptingGeek Module
2+
3+
[![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/)
4+
5+
This module is a set of ISE add-ons and a few themes. It requires PowerShell5.1 or higher.
6+
7+
_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._
8+
9+
Install the module from the PowerShell Gallery.
10+
11+
```powershell
12+
Install-Module ISEScriptingGeek
13+
```
14+
15+
Then in your PowerShell_ISE profile script, import the module.
16+
17+
```powershell
18+
Import-Module ISEScriptingGeek
19+
```
20+
21+
This will add the menu short cuts.
22+
23+
## Themes
24+
25+
The themes can be found and imported from the Themes sub-folder of the module.
26+
These are optional and are not connected to the add-ons.
27+
28+
## Add-ons
29+
30+
Once the module is imported, the add-ons will be listed under **ISE Scripting Geek** on the **Add-ons** menu in the ISE.
31+
A number of the add-ons fall into grouped sub-folders:
32+
33+
![add-ons menu](images/addons-menu.png)
34+
35+
### Bookmarks
36+
37+
A set of functions for creating and working with "bookmarks" to files opened in the ISE.
38+
39+
### Convert
40+
41+
These handle various conversions such as:
42+
43+
- selected text to snippet, region
44+
- case conversion
45+
- alias expansion
46+
47+
### Dates and times
48+
49+
A set of functions for inserting date/time in different formats
50+
51+
### Files
52+
53+
A set of functions for working with open files and their associated folders
54+
55+
### Work
56+
57+
A set of functions for creating and managing a "work list" of files
58+
59+
### Miscellaneous
60+
61+
There are also other scripts directly off the **ISE Scripting Geek** menu, these functions provide various capabilities:
62+
63+
- Print, Run or Sign script
64+
- Send script to Word (with or without color)
65+
- Send selected text to different search engines
66+
- Help functions
67+
- New CIM Command, DSC Resource snippets, etc.
68+

0 commit comments

Comments
 (0)