Set-RASImageOptimization
Last updated
Last updated
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>] [- <bool>] [- <bool>] [- <string[]>] [- <string[]>] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <uint>] [- <bool>] [- <SwitchParameter>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- {Automatic | Manual}] [- <string>] [- <bool>] [- <SecureString>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- {LetWindowsChooseWhatsBest | AdjustForBestAppearance | AdjustForBestAppearnce | AdjustForBestPerformance | Custom}] [- {TurnOffWindowsDefenderATP | TurnOnWindowsDefenderATP}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <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>] [- <bool>] [- <bool>] [- <bool>] [- <string[]>] [- <string[]>] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <uint>] [- <bool>] [- <SwitchParameter>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- {Automatic | Manual}] [- <string>] [- <bool>] [- <SecureString>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- {LetWindowsChooseWhatsBest | AdjustForBestAppearance | AdjustForBestAppearnce | AdjustForBestPerformance | Custom}] [- {TurnOffWindowsDefenderATP | TurnOnWindowsDefenderATP}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <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>] [- <bool>] [- <bool>] [- <bool>] [- <string[]>] [- <string[]>] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <uint>] [- <bool>] [- <SwitchParameter>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- {Automatic | Manual}] [- <string>] [- <bool>] [- <SecureString>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- {LetWindowsChooseWhatsBest | AdjustForBestAppearance | AdjustForBestAppearnce | AdjustForBestPerformance | Custom}] [- {TurnOffWindowsDefenderATP | TurnOnWindowsDefenderATP}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <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>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string[]>] [- <string[]>] [- <string[]>] [- <bool>] [- <bool>] [- <bool>] [- <uint>] [- <bool>] [- <uint>] [- <bool>] [- <SwitchParameter>] [- <bool>] [- <string>] [- <bool>] [- <bool>] [- {Automatic | Manual}] [- <string>] [- <bool>] [- <SecureString>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <string>] [- <bool>] [- {LetWindowsChooseWhatsBest | AdjustForBestAppearance | AdjustForBestAppearnce | AdjustForBestPerformance | Custom}] [- {TurnOffWindowsDefenderATP | TurnOnWindowsDefenderATP}] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [- <bool>] [<>]
Modifies the Image Optimization settings of RDS, RDSDefaults, VDITemplate or VDIDefaults.
-EnableOptimization <bool>
-WindowsDefenderATPEnabled <bool>
-WindowsComponentsEnabled <bool>
-WindowsServicesEnabled <bool>
-WindowsScheduledTasksEnabled <bool>
-WindowsAdvancedOptionsEnabled <bool>
-NetworkPerformanceEnabled <bool>
-RegistryEnabled <bool>
-VisualEffectsEnabled <bool>
-DiskCleanupEnabled <bool>
-CustomScriptEnabled <bool>
-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>
-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.
<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.
-OptimizationType <> Possible values: Automatic, Manual
-WinDefATPTurnOffOn <> Possible values: TurnOffWindowsDefenderATP, TurnOnWindowsDefenderATP
-VisualEffectsTypes <> Possible values: LetWindowsChooseWhatsBest, AdjustForBestAppearance, AdjustForBestAppearnce, AdjustForBestPerformance, Custom
-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