使用 PowerShell 管理微软桌面虚拟化与云平台
1. 管理微软桌面虚拟化
1.1 脚本示例
以下是一段示例脚本,用于配置远程桌面连接代理和分配配置文件磁盘:
#Remote Desktop Connection Broker
$RDCB = 'RCCB-01.Contoso.local'
#Enable and Assign Profile Disk to Session-based Collection
Set-RDSessionCollectionConfiguration -CollectionName "mySessions"
-EnableUserProfileDisk -DiskPath '\\FileServer-01\ProfileDisks'
‑MaxUserProfileDiskSizeGB 20 -IncludeFolderPath 'C:\myReports'
‑ConnectionBroker $RDCB
#Enable and Assign Profile Disk to VM-based Collection
Set-RDVirtualDesktopCollectionConfiguration -CollectionName "Win7SP1"
-EnableUserProfileDisk -DiskPath '\\FileServer-01\ProfileDisks'
-MaxUserProfileDiskSizeGB 20 -ExcludeFolderPath 'C:\Users\Sherif\Desktop\
myVideos' -Connectio
超级会员免费看
订阅专栏 解锁全文
1154

被折叠的 条评论
为什么被折叠?



