PowerShell Logo Small

Save-NetworkSwitchConfiguration



This is the built-in help made by Microsoft for the command 'Save-NetworkSwitchConfiguration', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Saves configuration for starting a network switch.

SYNTAX


Save-NetworkSwitchConfiguration [-CimSession] <CimSession> [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable
[<System.String>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Save-NetworkSwitchConfiguration cmdlet saves the current configuration for starting a network switch.



<

RELATED LINKS

Restore-NetworkSwitchConfiguration

REMARKS

<

Examples


Example 1: Save the configuration for a network switch

PS C:\>$Session = New-CimSession -ComputerName "NetworkSwitch08"
PS C:\> Save-NetworkSwitchConfiguration -CimSession $Session



The first command creates a CimSession for a network switch, and then stores it in the $Session variable. For more information about CimSession objects, type Get-Help
New-CimSession.

The second command saves the configuration for NetworkSwitch08 by using the $Session object.