Skip to content

Function Reference

Daniel Thompson edited this page Nov 6, 2024 · 4 revisions

Details on each of the functions can be found by using Get-Help, or by looking at the comments at the top of the function definition file, which are located in the Functions directory.

Below is a table summarizing the functions provided by this module.

  • Function = The name of the function.
  • Called Directly = The function is meant to be called directly by the user of the module.
  • Interactive = This function must be called from a PowerShell process that is running in an interactive session. Usually, to do this in a task sequence, you use something like ServiceUI, which can be obtained from MDT.
  • Introduced = The module version this function was introduced in.
  • Last Breaking API Change = The module version this function last had an API change in that was not compatible with previous versions.
  • Removed = The module version this function was removed in.
Function Called Directly Interactive Introduced Last Breaking API Change Removed
Copy-AccountPictures Yes No 1.0.0 1.0.0
Copy-File Yes No 1.0.0 1.0.0
Copy-LoginScreenWallpapers Yes No 1.0.0 1.0.0
Copy-Logs Yes No 1.2.0 1.2.0
Copy-Windows11StartLayout Yes No 1.0.0 1.0.0
Dismount-RegistryKey Yes No 1.0.0 1.0.0
Get-TSVariable Yes No 1.0.0 1.0.0
Install-Theme Yes No 1.0.0 1.0.0
Mount-RegistryKey Yes No 1.0.0 1.0.0
Remove-Apps Yes No 1.0.0 1.0.0
Remove-FileOrDirectory Yes No 1.1.0 1.1.0
Remove-TSVariable Yes No 1.0.0 1.0.0
Set-DesktopIconState Yes No 1.0.0 1.0.0
Set-OSDCursorState Yes No 1.0.0 1.0.0
Set-QuickAccessState Yes No 1.0.0 1.0.0
Set-TaskbarBinaryIconState Yes No 1.0.0 1.0.0
Set-TaskbarSearchIconState Yes No 1.0.0 1.0.0
Set-TSVariable Yes No 1.0.0 1.0.0
Set-UACState Yes No 1.0.0 1.0.0
Set-USBPowerManagementState Yes No 1.3.0 1.3.0
Show-ImagingErrorBox Yes Yes 1.2.0 1.2.0
Show-InputBox Yes Yes 1.0.0 1.0.0
Show-MessageBox Yes Yes 1.0.0 1.0.0
Test-TSVariableSet Yes No 1.0.0 1.0.0
Write-CMTraceLog Yes No 1.0.0 1.0.0
Close-TSProgressDialog No No 1.0.0 1.0.0
Get-MessageBoxButtons No No 1.0.0 1.0.0
Get-MessageBoxImages No No 1.0.0 1.0.0
Get-MessageBoxResults No No 1.0.0 1.0.0
New-TSEnvironment No No 1.0.0 1.0.0
New-TSProgressUI No Yes 1.0.0 1.0.0
Remove-TSenvironment No No 1.0.0 1.0.0
Remove-TSProgressUI No Yes 1.0.0 1.0.0

Clone this wiki locally