![]() The first five commands use standard Windows PowerShell® syntax to create an array of objects to define load balancing guidelines, and store those guidelines in the $LoadBalanceObjectsArray variable. This example configures load balancing for a session collection named Session Collection 07 that has an RD Connection Broker server named. PS C:\> Set-RDSessionCollectionConfiguration -CollectionName "Session Collection 07" -LoadBalancing $LoadBalanceObjectsArray -ConnectionBroker "" PS C:\> $LoadBalanceObjectsArray.Add($LoadBalanceSessionHost2) PS C:\> $LoadBalanceSessionHost2 = New-Object ( "SessionHostCollection", 50, 300, "" ) PS C:\> $LoadBalanceObjectsArray.Add($LoadBalanceSessionHost1) PS C:\>$LoadBalanceSessionHost1 = New-Object ( "SessionHostCollection", 50, 200, "" ) Example 4: Configure load balancing PS C:\> $LoadBalanceObjectsArray = New-Object The command specifies a path and file to exclude from the user profile. ![]() This command configures a session collection to use a user profile disk for a session collection named Session Collection 19 that has an RD Connection Broker named. Example 3: Specify a user profile disk with excluded file and folder PS C:\> Set-RDSessionCollectionConfiguration -CollectionName "Session Collection 19" -EnableUserProfileDisk -MaxUserProfileDiskSizeGB 40 -DiskPath "C:\UserVHDs" -ExcludeFolderPath "C:\Local Resources Folder" -ExcludeFilePath "C:\Local Text File.txt" -ConnectionBroker "" The command specifies a path and file to include in the user profile. The command specifies the maximum size of the user profile disk and its disk path. ![]() This command configures a session collection to use a user profile disk for a session collection named Session Collection 09 that has an RD Connection Broker named. Example 2: Specify a user profile disk with included file and folder PS C:\> Set-RDSessionCollectionConfiguration -CollectionName "Session Collection 09" -EnableUserProfileDisk -MaxUserProfileDiskSizeGB 40 -DiskPath "C:\UserVHDs" -IncludeFolderPath "C:\Resources Folder" -IncludeFileFolderPath "C:\Required Text File.txt" -ConnectionBroker "" This command configures a session collection to not use a user profile disk for a session collection named Session Collection 02 that has an RD Connection Broker named. Examples Example 1: Disable user profile disk PS C:\> Set-RDSessionCollectionConfiguration -CollectionName "Session Collection 02" -DisableUserProfileDisk -ConnectionBroker "" You can use the New-RDSessionCollection cmdlet to create a session collection. Users can connect to RD Session Host servers in a session collection to run programs, save files, and use resources on those servers. The Set-RDSessionCollectionConfiguration cmdlet modifies configuration options for an existing session collection.Ī session collection consists of one or more Remote Desktop Session Host (RD Session Host) servers. In this article Syntax Set-RDSession Collection Configuration What I would do, but I don't know if it's possib.Modifies configuration options for an existing session collection. PCIe NVME SSD, which I want to swap with a 1TB drive.The laptop only has one slot. It's a Dell Latitude 7490, and it has a 256GB
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |