Import-EmcStorageAccessControl

Notice: This cmdlet is being deprecated and will be removed from future ESI releases.

Imports storage access control from a file whose content is decrypted by a protection key.

 

Syntax

Import-EmcStorageAccessControl -File <String> -ProtectionKey <String> [-Force] [-ListOnly] [-Silent] [-WhatIf] [-Confirm] [<CommonParameters>]

 

Parameters

-File <String>

Attributes: Required, Position: named

Specifies the name of the file from which the storage access control information will be imported.

 

-ProtectionKey <String>

Attributes: Required, Position: named

Specifies the key to decrypt the storage access control file content.

 

-Force <SwitchParameter>

Attributes: Optional, Position: named

Allows the cmdlet to continue without asking for user confirmation.

 

-ListOnly <SwitchParameter>

Attributes: Optional, Position: named

An option to list the access information of the storage systems and pools to be imported. No actual importing will take place.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.

 

-WhatIf <SwitchParameter>

Attributes: Optional, Position: named

Describes what would happen if you executed the command without actually executing the command.

 

-Confirm <SwitchParameter>

Attributes: Optional, Position: named

Prompts you for confirmation before executing the command.

 

<CommonParameters>

This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.

 

Examples

-------------- Example 1 --------------

C:\PS>Import-EmcStorageAccessControl -File C:\exported.esiacl -ProtectionKey SomePassword -ListOnly

Following systems and pool accesses can be imported.

Storage Access Control

  StorageSystemGlobalId: 011b76e1-0491-4dbe-8a3d-8da333d15398

    <RaidGroup 0>       Block   View Only

This example views the content in the exported storage access control file without actually importing it.

 

-------------- Example 2 --------------

C:\PS>Import-EmcStorageAccessControl -File C:\exported.esiacl -ProtectionKey SomePassword -Force

Following systems and pool accesses have been imported.

Storage Access Control

  StorageSystemGlobalId: 011b76e1-0491-4dbe-8a3d-8da333d15398

    <RaidGroup 0>       Block   View Only

This example imports the access control from the exported access control file.