Skip to content

Commit

Permalink
v1.9.1. Add -ScriptBlock to Invoke-SshCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteLoser authored Dec 30, 2017
1 parent dde3ea6 commit 04c46aa
Showing 1 changed file with 72 additions and 34 deletions.
106 changes: 72 additions & 34 deletions SSHSessions.psd1
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# Module manifest for module 'SSH-Sessions.psm1'
#
# Created by: Joakim Svendsen
# Module manifest for module 'PSGet_SSHSessions'
#
# Created on: 2012-04-19
# Generated by: Joakim Borger Svendsen
#
# 1.9 - Add -Reconnect to New-SshSession. Standardize output more to Ansible style.
# Generated on: 12/30/2017
# v1.9 - Add -Reconnect to New-SshSession. Standardize output more to Ansible style.
# Some breaking changes if output is parsed, due to this.
# v1.9.1 - Add -ScriptBlock to Invoke-SshCommand.
#

@{

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

# Version number of this module.
ModuleVersion = '1.9'
ModuleVersion = '1.9.1'

# Supported PSEditions
# CompatiblePSEditions = @()

# ID used to uniquely identify this module
GUID = '65be3f86-9eda-469a-9b2f-2cca1840bbf6'
Expand All @@ -29,64 +33,98 @@ CompanyName = 'Svendsen Tech'
Copyright = 'Copyright (c) 2012-2017, Joakim Borger Svendsen, Svendsen Tech. All rights reserved.'

# Description of the functionality provided by this module
Description = "Svendsen Tech's SSH-Sessions module provides SSH session creation, management and interaction from PowerShell. Lets you execute commands via SSH against Linux and certain network equipment, etc. MIT license. Online documentation here: http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library"
Description = 'Svendsen Tech''s SSH-Sessions module provides SSH session creation, management and interaction from PowerShell. Lets you execute commands via SSH against Linux and certain network equipment, etc. MIT license. Online documentation here: http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library'

# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '3.0'

# Name of the Windows PowerShell host required by this module
PowerShellHostName = ''
# PowerShellHostName = ''

# Minimum version of the Windows PowerShell host required by this module
PowerShellHostVersion = ''
# PowerShellHostVersion = ''

# Minimum version of the .NET Framework required by this module
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
DotNetFrameworkVersion = '4.0'

# Minimum version of the common language runtime (CLR) required by this module
CLRVersion = ''
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# CLRVersion = ''

# Processor architecture (None, X86, Amd64, IA64) required by this module
ProcessorArchitecture = ''
# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @()
# RequiredModules = @()

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @('Renci.SshNet.dll')
RequiredAssemblies = 'Renci.SshNet.dll'

# Script files (.ps1) that are run in the caller's environment prior to importing this module
ScriptsToProcess = @()
# 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 = @()
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = @()
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in ModuleToProcess
NestedModules = @()
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module
FunctionsToExport = @("New-SshSession", "Invoke-SshCommand", "Enter-SshSession",
"Remove-SshSession", "Get-SshSession", "ConvertFrom-SecureToPlain")
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = 'New-SshSession', 'Invoke-SshCommand', 'Enter-SshSession',
'Remove-SshSession', 'Get-SshSession', 'ConvertFrom-SecureToPlain'

# Cmdlets to export from this module
CmdletsToExport = ''
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Variables to export from this module
VariablesToExport = ''
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()

# Aliases to export from this module
AliasesToExport = ''
# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
ModuleList = @()
# ModuleList = @()

# List of all files packaged with this module
FileList = @('Renci.SshNet.dll', 'SSHSessions.psm1', 'SSHSessions.psd1')
FileList = 'Renci.SshNet.dll', 'SSHSessions.psm1', 'SSHSessions.psd1'

# 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 = @{

PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
Tags = @('SSH', 'Linux', 'Unix', 'Cisco', 'Juniper')

# A URL to the license for this module.
# LicenseUri = ''

# A URL to the main website for this project.
# ProjectUri = ''

# Private data to pass to the module specified in ModuleToProcess
PrivateData = ''
# A URL to an icon representing this module.
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = 'Add a -ScriptBlock parameter for Invoke-SshCommand'

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

}

0 comments on commit 04c46aa

Please sign in to comment.