CreateUserDiskTemplate method of the Win32_TSSessionDirectory class

Creates a user disk template.

Syntax

uint32 CreateUserDiskTemplate(
  [in] string UserDisksStorageUrl,
  [in] uint32 UserDiskMaxSizeInGB
);

Parameters

UserDisksStorageUrl [in]

The location of the share where all user disks are stored.

UserDiskMaxSizeInGB [in]

The maximum size in gigabytes, for all user disks.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\CIMv2\TerminalServices
MOF
TSCfgWmi.mof
DLL
TSCfgWmi.dll

See also

Win32_TSSessionDirectory