Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk Editing Aruba Switches #133

Open
bluecraank opened this issue May 16, 2022 · 1 comment
Open

Bulk Editing Aruba Switches #133

bluecraank opened this issue May 16, 2022 · 1 comment

Comments

@bluecraank
Copy link

Hello,
this is a really nice module, but it would be even nicer if it is possible to edit multiple switches at the same time.
for example:

Adding new vlan to every switch is currently very time wasting (connecting to each switch and adding the vlan)

Solution:
$sw1 = ...
$sw2
$sw3
$sw4
....

Add-ArubaSWVlan -bulk ....

Is it possible?

@alagoutte
Copy link
Collaborator

Hi Bluecrrank,

There is already Multi Connection support https://github.com/PowerAruba/PowerArubaSW#multiconnection

After you need to make a loop with Add-ArubaSWVlan
you can try (not tested...)

$sw = @()
$sw += Connect-ArubaSW....
$sw += Connect-ArubaSW...

foreach ($s in $sw){ 
    Add-ArubaSWVlan -vlan XX -connection $s
}
....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants