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