Update Desktop - AlivaJG/PSAppDeployToolkit GitHub Wiki
Refresh the Windows Explorer Shell, which causes the desktop icons and the environment variables to be reloaded.
Update-Desktop [[-ContinueOnError] <Boolean>] [<CommonParameters>]
Refresh the Windows Explorer Shell, which causes the desktop icons and the environment variables to be reloaded.
-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
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