About 3,280,000 results
Open links in new tab
  1. Question on a powershell script to ssh into cisco switches

    Jul 9, 2018 · Is every IP from 172.16.15.2 to 172.16.15.100 assigned to a device that is online and able to be SSH’d into? When building scripts, it’s best to start with a single object and make sure everything works before dealing with an array.

  2. How i get into the "enable" mode via SSH with Powershell

    Aug 31, 2020 · you need a command from the installed posh-cisco module PS> Backup-CiscoRunningConfig - HostAddress "192.168.1.1" - HostPort 22 - Credential (Get-Credential) - FilePath "$([Environment]::GetFolderPath(“MyDocuments”))\running-config.txt"

  3. (PowerShell) SSH Commands to Cisco Switch - Example Code

    (PowerShell) SSH Commands to Cisco Switch Demonstrates how to establish an SSH session with a Cisco switch (or something similar) and send commands in a device console session.

  4. Posh-SSH to send multiple commands to Cisco Switch

    Oct 26, 2024 · You need to use the SSHShellStream option with Cisco equipment, as mentioned here - github.com/darkoperator/Posh-SSH/issues/146

  5. PowerShell Gallery | Invoke-CiscoCommand.ps1 1.1

    Executes commands on a Cisco device as if you were connected to the terminal via SSH. IP address of the Cisco device you want to execute commands on. This can be a piped list. Commands that will be executed on the target system. One command per line, typed in quotes, or held. in a string variable.

  6. Invoke-SshCiscoCommand - GitHub Pages

    Apr 17, 2018 · Sends Cisco command or commands to a Cisco device via PowerShell. Uses the Posh-SSH module to connect via SSH to a Cisco Device and execute command. The Cisco device being queried or changed by the command or list of commands being sent. This is the credentail used to login to the Cisco device.

  7. Posh-Cisco PowerShell Cisco Module - GitHub

    This PowerShell module provides some functionality to facilitate automating backup actions of a Cisco device over SSH. This module also provides some basic functionality for troubleshooting Cisco devices.

  8. Posh-SSH script on Cisco devices - Cisco Community

    Apr 6, 2022 · I made a Posh-SSH based script that will let me send commands to Cisco routers. It works great... except for a very specific case. function Send-SSHCommand { Param ( [Parameter (Mandatory=$true)] [String]$Command, [Parameter (Mandatory=$false)]

  9. New to powershell, trying to use it for applying updates to cisco ...

    Jul 9, 2018 · I suggest the Posh-SSH module, but I think if you're new to PowerShell and new to Programming it's not gonna be a simple task. A few things available by googling "Posh-SSH Cisco", like this neat example:

  10. How to Configure cisco router using POWERSHELL SSH.net?

    May 19, 2014 · Function set-SSH($devices, $ssh){ function ReadStream($reader) { $line = $reader.ReadLine(); while ($line -ne $null) { $line $line = $reader.ReadLine() } } function WriteStream($cmd, $writer, $stream) { $writer.WriteLine($cmd) while ($stream.Length -eq 0) { start-sleep -milliseconds 1000 } } $stream = $ssh.CreateShellStream("dumb", 80, 24, 800 ...

  11. Some results have been removed
Refresh