Exports an Enterprise Voice Enhance 911 (E9-1-1) configuration to a file in compressed format for backup purposes.
Syntax
Export-CsLisConfiguration -FileName <String> |
Export-CsLisConfiguration [-AsBytes <SwitchParameter>] |
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
FileName |
Required |
String |
The path and file name of the file to which you want to save the configuration. This cannot be the name of an existing file. |
AsBytes |
Optional |
SwitchParameter |
Returns the configuration as a byte array. The output of the command should be assigned to a variable for later import. (If you don’t assign the output to a variable, the byte array representing the configuration will scroll down your Communications Server Management Console.) You cannot specify the AsBytes parameter and the FileName parameter, you can use only one or the other for each call to this cmdlet. |
Detailed Description
Implementing E9-1-1 in an enterprise can, depending on the size of the enterprise, involve mapping thousands of subnets, ports, switches, and wireless access points to locations. An E9-1-1 configuration also includes information about web services provided by the E9-1-1 Network Routing Provider, and about locations and civic addresses and whether or not they’ve been validated. Given the volume of information and settings required to implement E9-1-1, it’s highly recommended that you regularly back up the entire configuration. You can use this cmdlet to back up the E9-1-1 configuraton to a file, which we save the entire configuration in compressed format. To recover the configuration, call the Import-CsLisConfiguration cmdlet.
This cmdlet creates a new backup file, it will not overwrite an existing file. That means the file name that is specified in the call to this cmdlet cannot be the name of an existing file.
Return Types
Returns a byte array (Byte[]) when the –AsBytes parameter is used.
Examples
-------------------------- Example 1 --------------------------
Copy Code | |
---|---|
Export-CsLisConfiguration -FileName C:\E911Config.bak |
This example exports the entire E9-1-1 configuration from the Location Information Server (LIS) to the backup file named E911Config.back.
-------------------------- Example 2 --------------------------
Copy Code | |
---|---|
$lisconfig = Export-CsLisConfiguration -AsBytes |
In this example, the LIS configuration is stored as an array of bytes in a variable, $lisconfig.