Skip to content

Commit 60bfdc1

Browse files
v3.5.0
1 parent bada410 commit 60bfdc1

Some content is hidden

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

64 files changed

+920
-911
lines changed

Changelog.md

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,54 @@
11
# ChangeLog for ISEScriptingGeek Module
22

3+
## v3.5.0
4+
5+
- Code cleanup.
6+
- Modified `Sign-ISEScript` to support `-WhatIf`.
7+
- Updated `README.md`.
8+
- Added online help links.
9+
310
## v3.4.2
411

5-
+ Updated license
6-
+ Updated manifest to PowerShell 5.1 and supporting Desktop edition
12+
- Updated license
13+
- Updated manifest to PowerShell 5.1 and supporting Desktop edition
714

815
## v3.4.1
916

10-
+ Replaced `Out-Null` references to using `[void]`
11-
+ Cleaned up incorrect exported aliases
12-
+ Code clean up and reformatting
17+
- Replaced `Out-Null` references to using `[void]`
18+
- Cleaned up incorrect exported aliases
19+
- Code clean up and reformatting
1320

1421
## v3.4.0
1522

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`
23+
- code cleanup as some commands have moved to the PSScriptTools module.
24+
- Moved help to external files (Issue #11)
25+
- Renamed `changelog.txt` to `changelog.md`
26+
- module restructuring
27+
- Updated `README.md`
2128

2229
## v3.3.0.0
2330

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
31+
- Added New-FileHere command
32+
- Fixed Open-SelectedISE to trim spaces from selected text and write a warning if file not found.
33+
- Added ChangeLog.txt file.
34+
- Added #requires -module PSDesiredStateConfiguration to New-DSCResourceSnippet.ps1
35+
- Switched to MIT license
2936

3037
## v3.3.1.0
3138

32-
+ Fixed a bug with New-CommentHelp to accept no parameters
33-
+ Updated New-CommentHelp to ignore new Information related common parameters in v5
39+
- Fixed a bug with New-CommentHelp to accept no parameters
40+
- Updated New-CommentHelp to ignore new Information related common parameters in v5
3441

3542
## v3.3.1.1
3643

37-
+ Updated New-FileHere function
44+
- Updated New-FileHere function
3845

3946
## v3.3.1.2
4047

41-
+ Published to PowerShell Gallery with a v5 manifest.
48+
- Published to PowerShell Gallery with a v5 manifest.
4249

4350
## v3.3.1.3
4451

45-
+ updated module manifest
46-
+ Updated script signing to support multiple certificates
47-
+ Updated author name in manifest
52+
- updated module manifest
53+
- Updated script signing to support multiple certificates
54+
- Updated author name in manifest

ISEScriptingGeek.psd1

Lines changed: 38 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -1,139 +1,45 @@
11

22
@{
33

4-
# Script module or binary module file associated with this manifest.
5-
RootModule = 'ISEScriptingGeek.psm1'
4+
RootModule = 'ISEScriptingGeek.psm1'
5+
ModuleVersion = '3.5.0'
6+
CompatiblePSEditions = @('Desktop')
7+
GUID = '6d1078ea-36c8-443a-9476-6d6c4d6ac834'
8+
Author = 'Jeff Hicks'
9+
CompanyName = 'JDH Information Technology Solutions, Inc.'
10+
Copyright = '2013-2023 JDH Information Technology Solutions, Inc. All Rights Reserved.'
11+
Description = 'Functions and add-ons for the Windows PowerShell ISE and later. This module is a kind of resource kit for the PowerShell ISE.'
12+
PowerShellVersion = '5.1'
13+
TypesToProcess = @()
14+
FormatsToProcess = @()
15+
FunctionsToExport = 'Add-CurrentProject', 'Add-ISEBookmark', 'CloseAllFiles',
16+
'CloseAllFilesButCurrent', 'Convert-AliasDefinition',
17+
'Convert-CodeToSnippet', 'Convert-CommandToHash', 'ConvertFrom-Alias',
18+
'ConvertFrom-MultiLineComment', 'ConvertTo-CommentHelp',
19+
'ConvertTo-Definition', 'ConvertTo-MultiLineComment',
20+
'ConvertTo-TextFile', 'Copy-ToWord', 'Edit-CurrentProject',
21+
'Edit-Snippet', 'Find-InFile', 'Get-ASTProfile', 'Get-CommandMetadata',
22+
'Get-ISEBookmark', 'Get-NextISETab', 'Get-ScriptComments',
23+
'Get-ScriptingHelp', 'Get-SearchResult', 'Import-CurrentProject',
24+
'New-CIMCommand', 'New-CommentHelp', 'New-DSCResourceSnippet',
25+
'New-FileHere', 'New-InputBox', 'New-PSCommand',
26+
'Open-ISEBookmark', 'Open-SelectedISE', 'Out-ISETab',
27+
'Remove-ISEBookmark', 'Reset-ISEFile', 'Send-ToPrinter',
28+
'Start-MyScript', 'Update-ISEBookmark', 'Write-Signature',
29+
'New-Function', 'Set-ScriptLocation'
30+
31+
CmdletsToExport = @()
32+
VariablesToExport = 'MySnippets', 'MyModules', 'MyPowerShell', 'CurrentProjectList'
33+
AliasesToExport = 'ccs', 'gcmd', 'glcm''tab', 'sd'
34+
PrivateData = @{
35+
PSData = @{
36+
Tags = 'ISE', 'Snippets', 'Scripting', 'PowerShellISE'
37+
LicenseUri = 'https://github.com/jdhitsolutions/ISEScriptingGeek/blob/master/License.txt'
38+
ProjectUri = 'https://github.com/jdhitsolutions/ISEScriptingGeek'
39+
} # End of PSData hashtable
40+
41+
} # End of PrivateData hashtable
642

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 = ''
13743

13844
}
13945

ISEScriptingGeek.psm1

294 Bytes
Binary file not shown.

License.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2015-2022 JDH Information Technology Solutions, Inc.
3+
Copyright (c) 2015-2023 JDH Information Technology Solutions, Inc.
44

55

66
Permission is hereby granted, free of charge, to any person obtaining a copy

README.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
[![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/)
44

5-
This module is a set of ISE add-ons and a few themes. It requires PowerShell5.1 or higher.
5+
This module is a set of PowerShell ISE add-ons and a few themes. It requires PowerShell 5.1.
66

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._
7+
_As of February 2019, I no longer intend to update or extend this module. VS Code is Microsoft's choice for a scripting editor 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._
88

99
Install the module from the PowerShell Gallery.
1010

@@ -18,7 +18,7 @@ Then in your PowerShell_ISE profile script, import the module.
1818
Import-Module ISEScriptingGeek
1919
```
2020

21-
This will add the menu short cuts.
21+
This will add shortcuts to the Add-Ons menu.
2222

2323
## Themes
2424

@@ -38,20 +38,22 @@ A set of functions for creating and working with "bookmarks" to files opened in
3838

3939
### Convert
4040

41-
These handle various conversions such as:
41+
The module will add shortcuts to code that will perform conversions on the file or selected text.
4242

43-
- selected text to snippet, region
44-
- case conversion
45-
- alias expansion
43+
![Convert menu](images/convert-menu.png)
4644

4745
### Dates and times
4846

49-
A set of functions for inserting date/time in different formats
47+
A set of functions for inserting date/time in different formats.
48+
49+
![DateTime menu](images/datetime-menu.png)
5050

5151
### Files
5252

5353
A set of functions for working with open files and their associated folders
5454

55+
![Files menu](images/files-menu.png)
56+
5557
### Work
5658

5759
A set of functions for creating and managing a "work list" of files
@@ -60,9 +62,15 @@ A set of functions for creating and managing a "work list" of files
6062

6163
There are also other scripts directly off the **ISE Scripting Geek** menu, these functions provide various capabilities:
6264

63-
- Print, Run or Sign script
64-
- Send script to Word (with or without color)
65+
- Print, Run, or Sign a script
66+
- Send the script to Word (with or without color)
6567
- Send selected text to different search engines
6668
- Help functions
6769
- New CIM Command, DSC Resource snippets, etc.
6870

71+
## Other Modules of Interest
72+
73+
You might also be interested in these modules:
74+
75+
- [ISERemoteTab](https://github.com/jdhitsolutions/New-ISERemoteTab)
76+
- [PSScriptTools](https://github.com/jdhitsolutions/PSScriptTools)

docs/Add-CurrentProject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: ISEScriptingGeek-help.xml
33
Module Name: ISEScriptingGeek
4-
online version:
4+
online version: https://bit.ly/3JFSsPH
55
schema: 2.0.0
66
---
77

docs/Add-ISEBookmark.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: ISEScriptingGeek-help.xml
33
Module Name: ISEScriptingGeek
4-
online version:
4+
online version: https://bit.ly/3CZvOhA
55
schema: 2.0.0
66
---
77

docs/Convert-AliasDefinition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: ISEScriptingGeek-help.xml
33
Module Name: ISEScriptingGeek
4-
online version:
4+
online version: https://bit.ly/3rgLha6
55
schema: 2.0.0
66
---
77

docs/Convert-CodetoSnippet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
external help file: ISEScriptingGeek-help.xml
33
Module Name: ISEScriptingGeek
4-
online version:
4+
online version: https://bit.ly/3JJq4MC
55
schema: 2.0.0
66
---
77

8-
# Convert-CodetoSnippet
8+
# Convert-CodeToSnippet
99

1010
## SYNOPSIS
1111

@@ -14,7 +14,7 @@ Convert selected code to a snippet
1414
## SYNTAX
1515

1616
```yaml
17-
Convert-CodetoSnippet [-Text] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
17+
Convert-CodeToSnippet [-Text] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION

0 commit comments

Comments
 (0)