Import-ShieldingDataFile

Imports shielding data.

Syntax

Import-ShieldingDataFile
      [-ShieldingDataFilePath] <String>
      [<CommonParameters>]

Description

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

Examples

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

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

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

Required Parameters

-ShieldingDataFilePath

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

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ShieldingDataFile, ExistingVMShieldingDataFile

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