Link to home
Start Free TrialLog in
Avatar of Roccat
RoccatFlag for United States of America

asked on

Save-NetworkSwitchConfiguration powershell

I am trying to use this powershell command to connect to my switch to back up the configuration. "Save-NetworkSwitchConfiguration"  I have an avaya 4548 pwr switch.
I am supposed to create a cimsession first but I get an error.   any Ideas how I can get this to work.
PS H:\> new-cimsession -computername 192.28.192.254

I get this error message

new-cimsession : The WinRM client cannot process the request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS or the destination
the TrustedHosts list, and explicit credentials are provided. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. For more info
on how to set TrustedHosts run the following command: winrm help config.
At line:1 char:1
+ new-cimsession -computername 192.28.192.254
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ConnectionError: (:) [New-CimSession], CimException
    + FullyQualifiedErrorId : HRESULT 0x803381bb,Microsoft.Management.Infrastructure.CimCmdlets.NewCimSessionCommand
    + PSComputerName        : 192.28.192.254
ASKER CERTIFIED SOLUTION
Avatar of Jeremy Weisinger
Jeremy Weisinger

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial