Skip to content

Commit

Permalink
v2.1. Standardize to Write-Verbose and more quiet
Browse files Browse the repository at this point in the history
By default New-SshSession and Remove-SshSession produce no output on success. Bug fixes, improvements. Standardize more to Write-Verbose, Write-Warning and Write-Error.
  • Loading branch information
EliteLoser authored Jan 1, 2018
1 parent 7342be9 commit f769c24
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions SSHSessions.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@
# thousands of meta scripts using this module - and some might be parsing
# the output to determine success. I will look into redesigning and
# standardizing further. Pushing this for now.
# v2.1 - Standardize completely to Write-Warning, Write-Error and Write-Verbose.
# Possibly another, recent breaking change.

@{

# Script module or binary module file associated with this manifest.
RootModule = 'SSHSessions.psm1'

# Version number of this module.
ModuleVersion = '2.0'
ModuleVersion = '2.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -118,15 +120,9 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '# Add a -ScriptBlock parameter for Invoke-SshCommand (less escaped quotes).
# Vastly improved pipeline handling.
# v2.0 - Emit objects instead of strings. Majorly breaking change, but
# I think it''s needed and much better. Have been considering switching
# to Write-Verbose for a lot of the output and have it quiet by default (New/Remove), as is
# the convention, but I imagine that after 6 years in the wild, there are
# thousands of meta scripts using this module - and some might be parsing
# the output to determine success. I will look into redesigning and
# standardizing further. Pushing this for now.'
ReleaseNotes = '# v2.1 - Standardize (almost) completely to Write-Warning, Write-Error and Write-Verbose.
# Possibly another, recent breaking change if people are
parsing New-SshSession output, etc. (like my tests do, must fix).'

# External dependent modules of this module
# ExternalModuleDependencies = ''
Expand Down

0 comments on commit f769c24

Please sign in to comment.