Skip to content
CyberMoloch edited this page Aug 10, 2020 · 6 revisions

Update-Desktop

SYNOPSIS

Refresh the Windows Explorer Shell, which causes the desktop icons and the environment variables to be reloaded.

SYNTAX

Update-Desktop [[-ContinueOnError] <Boolean>] [<CommonParameters>]

DESCRIPTION

Refresh the Windows Explorer Shell, which causes the desktop icons and the environment variables to be reloaded.

PARAMETERS

-ContinueOnError <Boolean>

Continue if an error is encountered. Default is: $true.

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

-------------------------- EXAMPLE 1 --------------------------

PS C:>Update-Desktop

REMARKS

To see the examples, type: Get-Help Update-Desktop -Examples

For more information, type: Get-Help Update-Desktop -Detailed

For technical information, type: Get-Help Update-Desktop -Full

For online help, type: Get-Help Update-Desktop -Online

Clone this wiki locally