Share via


Import-ShieldingDataFile

Import-ShieldingDataFile

Imports shielding data.

Syntax

Parameter Set: Default
Import-ShieldingDataFile [-ShieldingDataFilePath] <String> [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [ <CommonParameters>]

Detaillierte Beschreibung

The Import-ShieldingDataFile cmdlet imports a ShieldingDataFile object from a shielding data file.

Parameter

-InformationAction<ActionPreference>

Specifies how this cmdlet responds to an information event. Die zulässigen Werte für diesen Parameter sind:

-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend

Aliase

infa

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-InformationVariable<String>

Specifies a variable in which to store an information event message.

Aliase

iv

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-ShieldingDataFilePath<String>

Specifies the path of a shielding data file. The file has the .pdk file name extension.

Aliase

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die Sie per Piping an das Cmdlet übergeben können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • ShieldingDataFile, ExistingVMShieldingDataFile

    This cmdlet returns a ShieldingDataFile object. This object represents a .pdk file used to provision a shielded virtual machine.

Beispiele

Example 1: Provision a virtual machine by using an imported data file

This command creates a ShieldingDataFile object. The command passes it to the Protect-ShieldingDataFile cmdlet. That cmdlet specifies the output file name.

PS C:\> Import-ShieldingDataFile -ShieldingDataFilePath "ShieldingFile02.pdk" | Protect-ShieldingDataFile -ShieldingDataFilePath "ShieldingDataFile07.pdk"

Verwandte Themen

Protect-ShieldingDataFile