Export (0) Print
Expand All

Export-MedvWorkspace

Export-MedvWorkspace

The Export-MedvWorkspace cmdlet creates the MED-V workspace package given the MedvWorkspace object that contains the package details.

Syntax

Parameter Set: AllParameters
Export-MedvWorkspace [-Path] <String> [-InputObject] <MedvWorkspace> [-Overwrite] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Export-MedvWorkspace cmdlet creates the MSI (and related files) given the MedvWorkspace object that contains the package details.

Parameters

-InputObject<MedvWorkspace>

Passes the object returned from this cmdlet to New-MedvWorkspace. The MedvWorkspace object the path to the settings file and the path to the VHD file.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Overwrite

Overwrites the MED-V workspace package if it already exists.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Path<String>

The full path including the file name of the MSI that will be generated.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.Medv.Administration.Commands.MedvWorkspace

    Type: Microsoft.Medv.Administration.Commands.MedvWorkspace
    Description: Object that holds the information and location of all files needed to make the workspace setup files.


Examples

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

Description

-----------

This will create the setup files necessary to install a workspace package with the name "XPCompat" using the specified settings described in the registry (.reg) file.


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