Set-RASImageOptimization
Modifies the Image Optimization settings.
Set-RASImageOptimization - {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>
Set-RASImageOptimization [-] <uint> - {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>
Set-RASImageOptimization [-] <> [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [-
Set-RASImageOptimization [-] <string> [[-] <uint>] - {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>
Modifies the Image Optimization settings of RDS, RDSDefaults, VDITemplate or VDIDefaults.
-EnableOptimization <bool>
-OptimizationType <>
Possible values: Automatic, Manual
-WindowsDefenderATPEnabled <bool>
-WindowsComponentsEnabled <bool>
-WindowsServicesEnabled <bool>
-WindowsScheduledTasksEnabled <bool>
-WindowsAdvancedOptionsEnabled <bool>
-NetworkPerformanceEnabled <bool>
-RegistryEnabled <bool>
-VisualEffectsEnabled <bool>
-DiskCleanupEnabled <bool>
-CustomScriptEnabled <bool>
-WinDefATPTurnOffOn <>
Possible values: TurnOffWindowsDefenderATP, TurnOnWindowsDefenderATP
-DisableRealTimeProtection <bool>
-ExcludeFolders <string[]>
-ExcludeProcesses <string[]>
-ExcludeExtension <string[]>
-PartialStartLayoutContent <string>
-Hibernate <bool>
-TeleCollection <bool>
-SystemRestore <bool>
-AdditionalErrorReport <bool>
-Tiles <bool>
-Cortana <bool>
-MicrosoftConsumerExperience <bool>
-WindowsTips <bool>
-CommonProgramGroups <bool>
-PartialStartMenu <bool>
-DirCacheMax <uint>
-DormantFileLimit <uint>
-FileNotFoundCache <uint>
-FileInfoCache <uint>
-FileInfoCacheEnable <bool>
-DirectoryCacheEnable <bool>
-FileNotFoundCacheEnable <bool>
-DormantFileLimitEnable <bool>
-DisableTCP <bool>
-DisableIPv6CompEnable <bool>
-DisableIPv6ToIPv4 <bool>
-DisableIsaTap <bool>
-Arguments <string>
-Command <string>
-InitDir <string>
-User <string>
-Password <SecureString>
-CleanupWinSxSFolder <bool>
-CleanupSystemFiles <bool>
-CleanupTemporaryFileLogs <bool>
-RemoveOneDrive <bool>
-DeleteUserProfiles <bool>
-VisualEffectsTypes <>
Possible values: LetWindowsChooseWhatsBest, AdjustForBestAppearance, AdjustForBestAppearnce, AdjustForBestPerformance, Custom
-AnimateControlSelectElements <bool>
-AnimateWindowsWhenMinimizingMaximizing <bool>
-AnimateTaskbar <bool>
-EnablePeek <bool>
-FadeSlideMenus <bool>
-FadeSlideToolTips <bool>
-FadeOutMenuItems <bool>
-SaveTaskbarThumbnail <bool>
-ShowShadowUnderMouse <bool>
-ShadowUnderWindows <bool>
-ThumbnailsInsteadOfIcons <bool>
-ShowTranslucentSelection <bool>
-ShowWindowsContentWhilstDragging <bool>
-SlideOpenComboBoxes <bool>
-SmoothEdgesScreenFonts <bool>
-SmoothScrollListBoxes <bool>
-DropShadowsIcon <bool>
-Force <SwitchParameter> Force Optimization.
-Name <string> The name or server for which to modify the Image Optimization settings.
-SiteId <uint> Site ID from which to modify the Image Optimization settings.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id <uint> The ID of a server for which to modify the Image Optimization settings.
-InputObject <> An object of type RDS, VDITemplate or VDIDesktop for which to modify the Image Optimization settings.
-ObjType <> The Object Type for which to modify the Image Optimization settings.
Possible values: RDSHost, RDS, VDIHostPool, AVDHostPool, RDSTemplate, VDITemplate, AVDTemplate
-DefObjType <> The Default Object Type for which to modify the Image Optimization settings.
Possible values: RDSDef, VDIDef, AVDSingleSessionDefaultSettings, AVDMultiSessionDefaultSettings, VDIGuestDef
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ----------
Set-RASImageOptimization -DefObjType RDSDef -NetworkPerformanceEnabled true
Modifies the Network Performance Enabled within the Image Optimization Settings of the RDS Default Settings. ---------- EXAMPLE 2 ----------
Set-RASImageOptimization -Id 1 -ObjType RDS -NetworkPerformanceEnabled false
Modifies the Network Performance Enabled within the Image Optimization Settings of the specified RDS by Id.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.