Export (0) Print
Expand All

New-MedvWorkspace

New-MedvWorkspace

The New-MedvWorkspace cmdlet creates an object that contains the properties needed to create a workspace MSI. You can use Export-MedvWorkspace cmdlet to create the setup files necessary to deploy a MED-V workspace.

Syntax

Parameter Set: AllParameters
New-MedvWorkspace [-WorkspaceName] <String> [-VhdFilePath] <String> [-SettingsFilePath] <String> [ <CommonParameters>]




Detailed Description

The New-MedvWorkspace cmdlet creates an object that contains the properties needed to create a workspace MSI. You can use Export-MedvWorkspace cmdlet to create the setup files necessary to deploy a workspace.

Parameters

-SettingsFilePath<String>

Defines the path to a registry (.reg) file that contains the MEDV settings for the MED-V workspace. This file will be packaged with the setup files. The MED-V workspace packager imports these settings into the registry of the target computer. This file can be generated using the New-MedvConfiguration and Export-MedvConfiguration cmdlets. The alias for this parameter is "settings".


Aliases

none

Required?

true

Position?

3

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-VhdFilePath<String>

Defines the full path to the virtual hard drive (.vhd) file. This file is converted to a MEDV file and stored with the MSI file. When deployed, the MSI must be in the same folder as the newly created MEDV file. The alias for this parameter is "vhd".


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-WorkspaceName<String>

Defines the name of the MED-V workspace. The name of the MED-V workspace is displayed to end users.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

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

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

This creates an object that contains all the information necessary to create the MED-V workspace.


C:\PS>New-MedvWorkspace -WorkspaceName "XPCompat" -VhdfilePath "C:\xpImage.vhd" -SettingsFilePath "XPCompat.reg"

-------------------------- EXAMPLE 2 --------------------------

Description

-----------

This creates a workspace package file including the setup files necessary to install a MED-V workspace.


C:\PS>New-MedvWorkspace -WorkspaceName "XPCompat" -VhdfilePath "C:\xpImage.vhd" -SettingsFilePath "XPCompat.reg" | Export-MedvWorkspace -Path "XPCompat.msi"
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft