< Back

Import-PVSVDisk

Mon Jan 13, 2020 2:24 am

NAME Import-PVSVDisk



SYNOPSIS

This module is created to make the handling of Citrix PVS actions easier. The module includes an easy way to

import a new VHDX image into your Citrix PVS installation. The module also includes an easy way to set the

properties on your PVS image once it has been imported into Citrix PVS, these properties include license mode and

cache options for the vDisk.





SYNTAX

Import-PVSVDisk [[-NewVDiskName] <String>] [[-PVSStore] <String>] [[-PVSServerName] <String>] [[-PVSSiteName]

<String>] [[-VHDXPath] <String>] [<CommonParameters>]





DESCRIPTION

{{Fill in the Description}}





PARAMETERS

-NewVDiskName <String>

This is the name of the VHDX file you want to import, do NOT type the extension in the name.



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PVSServerName <String>

Name of your Citrix PVS server that you are importing to.



Required? false

Position? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PVSSiteName <String>

Name of your Citrix PVS site



Required? false

Position? 3

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PVSStore <String>

Name of the vDisk store in Citrix PVS



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VHDXPath <String>

Path to the Citrix PVS store where you put your VHDX file



Required? false

Position? 4

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.Object







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Import-PVSVDisk -NewVDiskName "CitrixlabvDisk" -PVSStore "CitrixlabStore" -PVSServerName "PVS01"

-PVSSiteName "Skanderborg" -VHDXPath "D:\\Stores\\CitrixlabStore"



This example will take the VHDX file called CitrixlabvDisk which is placed in "D:\\Stores\\CitrixlabStore" and

import it into Citrix PVS. The command is run on the PVS01 server locally but you still need to provide the name

for the Citrix PVS server. The Citrix PVS site name is Skanderborg in this example.



RELATED LINKS