Executes commands on a Cisco device as if you were connected to the terminal via SSH.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Invoke-CiscoCommand

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Chris Masters


(c) 2018 Chris Masters. All rights reserved.

Package Details



network cisco ios




This script has no dependencies.

Release Notes

Issue with handing the IPAddress parameter an array has been resolved. It will now iterate thru the list.
1.3 - Accepts an SSH session for connection instead of creds.
1.4 - Removed my debug code.
1.4.1 - Had some scoping issues with the SSH Shell Stream variable. Needed to make it Global: before it would work.
Added $Timeout parameter for changing the sleep time for waiting on return values.
1.4.2 - GitHub actions now publishing to PSGallery


Version History

Version Downloads Last updated
1.4.2 (current version) 30 3/3/2023
1.4.1 63 12/14/2022
1.4 4 12/14/2022
1.3 8 12/13/2022
1.2 611 11/16/2018
1.1 64 6/20/2018
1.0 16 6/20/2018
Show more