Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

New-ShieldedVMSpecializationDataFile

Last Updated: 4/3/2017

SYNOPSIS

Creates a specialization data file to be used when provisioning a shielded virtual machine.

SYNTAX

New-ShieldedVMSpecializationDataFile [-ShieldedVMSpecializationDataFilePath] <String>
 [-SpecializationDataPairs] <Hashtable> [<CommonParameters>]

DESCRIPTION

The New-ShieldedVMSpecializationDataFile cmdlet creates a specialization data file to be used when provisioning a shielded virtual machine.

EXAMPLES

Example 1: Create a specialization data file to be used when provisioning a shielded virtual machine

PS C:\>New-ShieldedVMSpecializationDataFile -ShieldedVMSpecializationDataFilePath "C:\temp\VM01.fsk" -SpecializationDataPairs @{ "@ComputerName@" = "PC-001"; "@TimeZone@" = "GMT Standard Time" }

This command creates a specialization data file mapping the string @ComputerName@ in answer files to PC-001 and @TimeZone@ to GMT Standard Time. The file is stored at C:\temp\VM01.fsk.

PARAMETERS

-ShieldedVMSpecializationDataFilePath

Specifies the path where the specialization data file (.fsk) is saved.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SpecializationDataPairs

Specifies a table of key-value pairs used to replace strings in the answer file. The values must be strings.

Type: Hashtable
Parameter Sets: (All)
Aliases: 

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Get-KeyProtectorFromShieldingDataFile

Get-ShieldedVMProvisioningStatus

Initialize-ShieldedVM

Test-ShieldingDataApplicability

© 2017 Microsoft