Set-RASImageOptimization

NAME

Set-RASImageOptimization

SYNOPSIS

Modifies the Image Optimization settings.

SYNTAX

Set-RASImageOptimization -DefObjType {RDSDef | VDIDef | AVDSingleSessionDefaultSettings | AVDMultiSessionDefaultSettings | VDIGuestDef} [-AdditionalErrorReport <bool>] [-AnimateControlSelectElements <bool>] [-AnimateTaskbar <bool>] [-AnimateWindowsWhenMinimizingMaximizing <bool>] [-Arguments <string>] [-CleanupSystemFiles <bool>] [-CleanupTemporaryFileLogs <bool>] [-CleanupWinSxSFolder <bool>] [-Command <string>] [-CommonProgramGroups <bool>] [-Cortana <bool>] [-CustomScriptEnabled <bool>] [-DeleteUserProfiles <bool>] [-DirCacheMax <uint>] [-DirectoryCacheEnable <bool>] [-DisableIPv6CompEnable <bool>] [-DisableIPv6ToIPv4 <bool>] [-DisableIsaTap <bool>] [-DisableRealTimeProtection <bool>] [-DisableTCP <bool>] [-DiskCleanupEnabled <bool>] [-DormantFileLimit <uint>] [-DormantFileLimitEnable <bool>] [-DropShadowsIcon <bool>] [-EnableOptimization <bool>] [-EnablePeek <bool>] [-ExcludeExtension <string[]>] [-ExcludeFolders <string[]>] [-ExcludeProcesses <string[]>] [-FadeOutMenuItems <bool>] [-FadeSlideMenus <bool>] [-FadeSlideToolTips <bool>] [-FileInfoCache <uint>] [-FileInfoCacheEnable <bool>] [-FileNotFoundCache <uint>] [-FileNotFoundCacheEnable <bool>] [-Force <SwitchParameter>] [-Hibernate <bool>] [-InitDir <string>] [-MicrosoftConsumerExperience <bool>] [-NetworkPerformanceEnabled <bool>] [-OptimizationType {Automatic | Manual}] [-PartialStartLayoutContent <string>] [-PartialStartMenu <bool>] [-Password <SecureString>] [-RegistryEnabled <bool>] [-RemoveOneDrive <bool>] [-SaveTaskbarThumbnail <bool>] [-ShadowUnderWindows <bool>] [-ShowShadowUnderMouse <bool>] [-ShowTranslucentSelection <bool>] [-ShowWindowsContentWhilstDragging <bool>] [-SiteId <uint>] [-SlideOpenComboBoxes <bool>] [-SmoothEdgesScreenFonts <bool>] [-SmoothScrollListBoxes <bool>] [-SystemRestore <bool>] [-TeleCollection <bool>] [-ThumbnailsInsteadOfIcons <bool>] [-Tiles <bool>] [-User <string>] [-VisualEffectsEnabled <bool>] [-VisualEffectsTypes {LetWindowsChooseWhatsBest | AdjustForBestAppearance | AdjustForBestAppearnce | AdjustForBestPerformance | Custom}] [-WinDefATPTurnOffOn {TurnOffWindowsDefenderATP | TurnOnWindowsDefenderATP}] [-WindowsAdvancedOptionsEnabled <bool>] [-WindowsComponentsEnabled <bool>] [-WindowsDefenderATPEnabled <bool>] [-WindowsScheduledTasksEnabled <bool>] [-WindowsServicesEnabled <bool>] [-WindowsTips <bool>] [<CommonParameters>]

Set-RASImageOptimization [-Id] <uint> -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [-AdditionalErrorReport <bool>] [-AnimateControlSelectElements <bool>] [-AnimateTaskbar <bool>] [-AnimateWindowsWhenMinimizingMaximizing <bool>] [-Arguments <string>] [-CleanupSystemFiles <bool>] [-CleanupTemporaryFileLogs <bool>] [-CleanupWinSxSFolder <bool>] [-Command <string>] [-CommonProgramGroups <bool>] [-Cortana <bool>] [-CustomScriptEnabled <bool>] [-DeleteUserProfiles <bool>] [-DirCacheMax <uint>] [-DirectoryCacheEnable <bool>] [-DisableIPv6CompEnable <bool>] [-DisableIPv6ToIPv4 <bool>] [-DisableIsaTap <bool>] [-DisableRealTimeProtection <bool>] [-DisableTCP <bool>] [-DiskCleanupEnabled <bool>] [-DormantFileLimit <uint>] [-DormantFileLimitEnable <bool>] [-DropShadowsIcon <bool>] [-EnableOptimization <bool>] [-EnablePeek <bool>] [-ExcludeExtension <string[]>] [-ExcludeFolders <string[]>] [-ExcludeProcesses <string[]>] [-FadeOutMenuItems <bool>] [-FadeSlideMenus <bool>] [-FadeSlideToolTips <bool>] [-FileInfoCache <uint>] [-FileInfoCacheEnable <bool>] [-FileNotFoundCache <uint>] [-FileNotFoundCacheEnable <bool>] [-Force <SwitchParameter>] [-Hibernate <bool>] [-InitDir <string>] [-MicrosoftConsumerExperience <bool>] [-NetworkPerformanceEnabled <bool>] [-OptimizationType {Automatic | Manual}] [-PartialStartLayoutContent <string>] [-PartialStartMenu <bool>] [-Password <SecureString>] [-RegistryEnabled <bool>] [-RemoveOneDrive <bool>] [-SaveTaskbarThumbnail <bool>] [-ShadowUnderWindows <bool>] [-ShowShadowUnderMouse <bool>] [-ShowTranslucentSelection <bool>] [-ShowWindowsContentWhilstDragging <bool>] [-SlideOpenComboBoxes <bool>] [-SmoothEdgesScreenFonts <bool>] [-SmoothScrollListBoxes <bool>] [-SystemRestore <bool>] [-TeleCollection <bool>] [-ThumbnailsInsteadOfIcons <bool>] [-Tiles <bool>] [-User <string>] [-VisualEffectsEnabled <bool>] [-VisualEffectsTypes {LetWindowsChooseWhatsBest | AdjustForBestAppearance | AdjustForBestAppearnce | AdjustForBestPerformance | Custom}] [-WinDefATPTurnOffOn {TurnOffWindowsDefenderATP | TurnOnWindowsDefenderATP}] [-WindowsAdvancedOptionsEnabled <bool>] [-WindowsComponentsEnabled <bool>] [-WindowsDefenderATPEnabled <bool>] [-WindowsScheduledTasksEnabled <bool>] [-WindowsServicesEnabled <bool>] [-WindowsTips <bool>] [<CommonParameters>]

Set-RASImageOptimization [-InputObject] <RASSerilazableObj> [-AdditionalErrorReport <bool>] [-AnimateControlSelectElements <bool>] [-AnimateTaskbar <bool>] [-AnimateWindowsWhenMinimizingMaximizing <bool>] [-Arguments <string>] [-CleanupSystemFiles <bool>] [-CleanupTemporaryFileLogs <bool>] [-CleanupWinSxSFolder <bool>] [-Command <string>] [-CommonProgramGroups <bool>] [-Cortana <bool>] [-CustomScriptEnabled <bool>] [-DeleteUserProfiles <bool>] [-DirCacheMax <uint>] [-DirectoryCacheEnable <bool>] [-DisableIPv6CompEnable <bool>] [-DisableIPv6ToIPv4 <bool>] [-DisableIsaTap <bool>] [-DisableRealTimeProtection <bool>] [-DisableTCP <bool>] [-DiskCleanupEnabled <bool>] [-DormantFileLimit <uint>] [-DormantFileLimitEnable <bool>] [-DropShadowsIcon <bool>] [-EnableOptimization <bool>] [-EnablePeek <bool>] [-ExcludeExtension <string[]>] [-ExcludeFolders <string[]>] [-ExcludeProcesses <string[]>] [-FadeOutMenuItems <bool>] [-FadeSlideMenus <bool>] [-FadeSlideToolTips <bool>] [-FileInfoCache <uint>] [-FileInfoCacheEnable <bool>] [-FileNotFoundCache <uint>] [-FileNotFoundCacheEnable <bool>] [-Force <SwitchParameter>] [-Hibernate <bool>] [-InitDir <string>] [-MicrosoftConsumerExperience <bool>] [-NetworkPerformanceEnabled <bool>] [-OptimizationType {Automatic | Manual}] [-PartialStartLayoutContent <string>] [-PartialStartMenu <bool>] [-Password <SecureString>] [-RegistryEnabled <bool>] [-RemoveOneDrive <bool>] [-SaveTaskbarThumbnail <bool>] [-ShadowUnderWindows <bool>] [-ShowShadowUnderMouse <bool>] [-ShowTranslucentSelection <bool>] [-ShowWindowsContentWhilstDragging <bool>] [-SlideOpenComboBoxes <bool>] [-SmoothEdgesScreenFonts <bool>] [-SmoothScrollListBoxes <bool>] [-SystemRestore <bool>] [-TeleCollection <bool>] [-ThumbnailsInsteadOfIcons <bool>] [-Tiles <bool>] [-User <string>] [-VisualEffectsEnabled <bool>] [-VisualEffectsTypes {LetWindowsChooseWhatsBest | AdjustForBestAppearance | AdjustForBestAppearnce | AdjustForBestPerformance | Custom}] [-WinDefATPTurnOffOn {TurnOffWindowsDefenderATP | TurnOnWindowsDefenderATP}] [-WindowsAdvancedOptionsEnabled <bool>] [-WindowsComponentsEnabled <bool>] [-WindowsDefenderATPEnabled <bool>] [-WindowsScheduledTasksEnabled <bool>] [-WindowsServicesEnabled <bool>] [-WindowsTips <bool>] [<CommonParameters>]

Set-RASImageOptimization [-Name] <string> [[-SiteId] <uint>] -ObjType {RDSHost | RDS | VDIHostPool | AVDHostPool | RDSTemplate | VDITemplate | AVDTemplate} [-AdditionalErrorReport <bool>] [-AnimateControlSelectElements <bool>] [-AnimateTaskbar <bool>] [-AnimateWindowsWhenMinimizingMaximizing <bool>] [-Arguments <string>] [-CleanupSystemFiles <bool>] [-CleanupTemporaryFileLogs <bool>] [-CleanupWinSxSFolder <bool>] [-Command <string>] [-CommonProgramGroups <bool>] [-Cortana <bool>] [-CustomScriptEnabled <bool>] [-DeleteUserProfiles <bool>] [-DirCacheMax <uint>] [-DirectoryCacheEnable <bool>] [-DisableIPv6CompEnable <bool>] [-DisableIPv6ToIPv4 <bool>] [-DisableIsaTap <bool>] [-DisableRealTimeProtection <bool>] [-DisableTCP <bool>] [-DiskCleanupEnabled <bool>] [-DormantFileLimit <uint>] [-DormantFileLimitEnable <bool>] [-DropShadowsIcon <bool>] [-EnableOptimization <bool>] [-EnablePeek <bool>] [-ExcludeExtension <string[]>] [-ExcludeFolders <string[]>] [-ExcludeProcesses <string[]>] [-FadeOutMenuItems <bool>] [-FadeSlideMenus <bool>] [-FadeSlideToolTips <bool>] [-FileInfoCache <uint>] [-FileInfoCacheEnable <bool>] [-FileNotFoundCache <uint>] [-FileNotFoundCacheEnable <bool>] [-Force <SwitchParameter>] [-Hibernate <bool>] [-InitDir <string>] [-MicrosoftConsumerExperience <bool>] [-NetworkPerformanceEnabled <bool>] [-OptimizationType {Automatic | Manual}] [-PartialStartLayoutContent <string>] [-PartialStartMenu <bool>] [-Password <SecureString>] [-RegistryEnabled <bool>] [-RemoveOneDrive <bool>] [-SaveTaskbarThumbnail <bool>] [-ShadowUnderWindows <bool>] [-ShowShadowUnderMouse <bool>] [-ShowTranslucentSelection <bool>] [-ShowWindowsContentWhilstDragging <bool>] [-SlideOpenComboBoxes <bool>] [-SmoothEdgesScreenFonts <bool>] [-SmoothScrollListBoxes <bool>] [-SystemRestore <bool>] [-TeleCollection <bool>] [-ThumbnailsInsteadOfIcons <bool>] [-Tiles <bool>] [-User <string>] [-VisualEffectsEnabled <bool>] [-VisualEffectsTypes {LetWindowsChooseWhatsBest | AdjustForBestAppearance | AdjustForBestAppearnce | AdjustForBestPerformance | Custom}] [-WinDefATPTurnOffOn {TurnOffWindowsDefenderATP | TurnOnWindowsDefenderATP}] [-WindowsAdvancedOptionsEnabled <bool>] [-WindowsComponentsEnabled <bool>] [-WindowsDefenderATPEnabled <bool>] [-WindowsScheduledTasksEnabled <bool>] [-WindowsServicesEnabled <bool>] [-WindowsTips <bool>] [<CommonParameters>]

DESCRIPTION

Modifies the Image Optimization settings of RDS, RDSDefaults, VDITemplate or VDIDefaults.

PARAMETERS

-EnableOptimization <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-OptimizationType <OptimizationTypeEnum>

Possible values: Automatic, Manual

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-WindowsDefenderATPEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-WindowsComponentsEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-WindowsServicesEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-WindowsScheduledTasksEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-WindowsAdvancedOptionsEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-NetworkPerformanceEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-RegistryEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-VisualEffectsEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-DiskCleanupEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-CustomScriptEnabled <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-WinDefATPTurnOffOn <WindowsDefenderATPEnable>

Possible values: TurnOffWindowsDefenderATP, TurnOnWindowsDefenderATP

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-DisableRealTimeProtection <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-ExcludeFolders <string[]>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-ExcludeProcesses <string[]>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-ExcludeExtension <string[]>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-PartialStartLayoutContent <string>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-Hibernate <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-TeleCollection <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-SystemRestore <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-AdditionalErrorReport <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-Tiles <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-Cortana <bool>

        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false

-MicrosoftConsumerExperience <bool>

        Required?                    false

        Position?                    named

        Default value