Skip to content

Commit

Permalink
v3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhitsolutions committed Jul 3, 2023
1 parent bada410 commit 60bfdc1
Show file tree
Hide file tree
Showing 64 changed files with 920 additions and 911 deletions.
51 changes: 29 additions & 22 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,54 @@
# ChangeLog for ISEScriptingGeek Module

## v3.5.0

- Code cleanup.
- Modified `Sign-ISEScript` to support `-WhatIf`.
- Updated `README.md`.
- Added online help links.

## v3.4.2

+ Updated license
+ Updated manifest to PowerShell 5.1 and supporting Desktop edition
- 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
- 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`
- 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
- 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
- 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
- Updated New-FileHere function

## v3.3.1.2

+ Published to PowerShell Gallery with a v5 manifest.
- 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
- updated module manifest
- Updated script signing to support multiple certificates
- Updated author name in manifest
170 changes: 38 additions & 132 deletions ISEScriptingGeek.psd1
Original file line number Diff line number Diff line change
@@ -1,139 +1,45 @@

@{

# Script module or binary module file associated with this manifest.
RootModule = 'ISEScriptingGeek.psm1'
RootModule = 'ISEScriptingGeek.psm1'
ModuleVersion = '3.5.0'
CompatiblePSEditions = @('Desktop')
GUID = '6d1078ea-36c8-443a-9476-6d6c4d6ac834'
Author = 'Jeff Hicks'
CompanyName = 'JDH Information Technology Solutions, Inc.'
Copyright = '2013-2023 JDH Information Technology Solutions, Inc. All Rights Reserved.'
Description = 'Functions and add-ons for the Windows PowerShell ISE and later. This module is a kind of resource kit for the PowerShell ISE.'
PowerShellVersion = '5.1'
TypesToProcess = @()
FormatsToProcess = @()
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'

CmdletsToExport = @()
VariablesToExport = 'MySnippets', 'MyModules', 'MyPowerShell', 'CurrentProjectList'
AliasesToExport = 'ccs', 'gcmd', 'glcm''tab', 'sd'
PrivateData = @{
PSData = @{
Tags = 'ISE', 'Snippets', 'Scripting', 'PowerShellISE'
LicenseUri = 'https://github.com/jdhitsolutions/ISEScriptingGeek/blob/master/License.txt'
ProjectUri = 'https://github.com/jdhitsolutions/ISEScriptingGeek'
} # End of PSData hashtable

} # End of PrivateData hashtable

# 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 modified ISEScriptingGeek.psm1
Binary file not shown.
2 changes: 1 addition & 1 deletion License.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

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


Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[![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.
This module is a set of PowerShell ISE add-ons and a few themes. It requires PowerShell 5.1.

_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._
_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._

Install the module from the PowerShell Gallery.

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

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

## Themes

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

### Convert

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

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

### Dates and times

A set of functions for inserting date/time in different formats
A set of functions for inserting date/time in different formats.

![DateTime menu](images/datetime-menu.png)

### Files

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

![Files menu](images/files-menu.png)

### Work

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

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)
- Print, Run, or Sign a script
- Send the script to Word (with or without color)
- Send selected text to different search engines
- Help functions
- New CIM Command, DSC Resource snippets, etc.

## Other Modules of Interest

You might also be interested in these modules:

- [ISERemoteTab](https://github.com/jdhitsolutions/New-ISERemoteTab)
- [PSScriptTools](https://github.com/jdhitsolutions/PSScriptTools)
2 changes: 1 addition & 1 deletion docs/Add-CurrentProject.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: ISEScriptingGeek-help.xml
Module Name: ISEScriptingGeek
online version:
online version: https://bit.ly/3JFSsPH
schema: 2.0.0
---

Expand Down
2 changes: 1 addition & 1 deletion docs/Add-ISEBookmark.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: ISEScriptingGeek-help.xml
Module Name: ISEScriptingGeek
online version:
online version: https://bit.ly/3CZvOhA
schema: 2.0.0
---

Expand Down
2 changes: 1 addition & 1 deletion docs/Convert-AliasDefinition.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
external help file: ISEScriptingGeek-help.xml
Module Name: ISEScriptingGeek
online version:
online version: https://bit.ly/3rgLha6
schema: 2.0.0
---

Expand Down
6 changes: 3 additions & 3 deletions docs/Convert-CodetoSnippet.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
external help file: ISEScriptingGeek-help.xml
Module Name: ISEScriptingGeek
online version:
online version: https://bit.ly/3JJq4MC
schema: 2.0.0
---

# Convert-CodetoSnippet
# Convert-CodeToSnippet

## SYNOPSIS

Expand All @@ -14,7 +14,7 @@ Convert selected code to a snippet
## SYNTAX

```yaml
Convert-CodetoSnippet [-Text] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Convert-CodeToSnippet [-Text] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down
Loading

0 comments on commit 60bfdc1

Please sign in to comment.