v4 Function Mapping
The following table lists the v3 functions and their compatibility with v4. If a compatibility wrapper exists (a wrapper function that translates a v3 function to v4 function, and updates all of the supplied parameters to map to the v4 equivalent), the v4 function is listed. If no compatibility wrapper exists, the v4 function is listed as "NO".
v3 Function | Compatibility Wrapper Exists? | v4 Function |
---|---|---|
Block-AppExecution | Yes | Block-ADTAppExecution |
Close-InstallationProgress | Yes | Close-ADTInstallationProgress |
Configure-EdgeExtension | Yes | Add-ADTEdgeExtension / Remove-ADTEdgeExtension |
Convert-RegistryPath | Yes | Convert-ADTRegistryPath |
ConvertTo-NTAccountOrSID | Yes | ConvertTo-ADTNTAccountOrSID |
Copy-ContentToCache | Yes | Copy-ADTContentToCache |
Copy-File | Yes | Copy-ADTFile |
Copy-FileToUserProfiles | Yes | Copy-ADTFileToUserProfiles |
Disable-TerminalServerInstallMode | Yes | Disable-ADTTerminalServerInstallMode |
Enable-TerminalServerInstallMode | Yes | Enable-ADTTerminalServerInstallMode |
Execute-MSI | Yes | Start-ADTMsiProcess |
Execute-MSP | Yes | Start-ADTMspProcess |
Execute-Process | Yes | Start-ADTProcess |
Execute-ProcessAsUser | Yes | Start-ADTProcessAsUser |
Exit-Script | Yes | Close-ADTSession |
Get-DeferHistory | Yes | Get-ADTDeferHistory |
Get-FileVersion | Yes | Get-ADTFileVersion |
Get-FreeDiskSpace | Yes | Get-ADTFreeDiskSpace |
Get-HardwarePlatform | Yes | Deprecated |
Get-IniValue | Yes | Get-ADTIniValue |
Get-InstalledApplication | Yes | Get-ADTApplication |
Get-LoggedOnUser | Yes | Get-ADTLoggedOnUser |
Get-MsiExitCodeMessage | Yes | Get-ADTMsiExitCodeMessage |
Get-MsiTableProperty | Yes | Get-ADTMsiTableProperty |
Get-ObjectProperty | Yes | Get-ADTObjectProperty |
Get-PEFileArchitecture | Yes | Get-ADTPEFileArchitecture |
Get-PendingReboot | Yes | Get-ADTPendingReboot |
Get-RegistryKey | Yes | Get-ADTRegistryKey |
Get-RunningProcesses | NO | Get-ADTRunningProcesses |
Get-SchedulerTask | Yes | Get-ADTSchedulerTask |
Get-ServiceStartMode | Yes | Get-ADTServiceStartMode |
Get-Shortcut | Yes | Get-ADTShortcut |
Get-UniversalDate | Yes | Get-ADTUniversalDate |
Get-UserProfiles | Yes | Get-ADTUserProfiles |
Get-WindowTitle | Yes | Get-ADTWindowTitle |
Install-MSUpdates | Yes | Install-ADTMSUpdates |
Install-SCCMSoftwareUpdates | Yes | Install-ADTSCCMSoftwareUpdates |
Invoke-HKCURegistrySettingsForAllUsers | Yes | Invoke-ADTAllUsersRegistryAction |
Invoke-ObjectMethod | Yes | Invoke-ADTObjectMethod |
Invoke-RegisterOrUnregisterDLL | Yes | Invoke-ADTRegSvr32 / Register-ADTDll / Unregister-ADTDll |
Invoke-SCCMTask | Yes | Invoke-ADTSCCMTask |
New-Folder | Yes | New-ADTFolder |
New-MsiTransform | Yes | New-ADTMsiTransform |
New-Shortcut | Yes | New-ADTShortcut |
New-ZipFile | Yes | New-ADTZipFile |
Remove-ContentFromCache | Yes | Remove-ADTContentFromCache |
Remove-File | Yes | Remove-ADTFile |
Remove-FileFromUserProfiles | Yes | Remove-ADTFileFromUserProfiles |
Remove-Folder | Yes | Remove-ADTFolder |
Remove-InvalidFileNameChars | Yes | Remove-ADTInvalidFileNameChars |
Remove-MSIApplications | Yes | Uninstall-ADTApplication |
Remove-RegistryKey | Yes | Remove-ADTRegistryKey |
Resolve-Error | Yes | Resolve-ADTErrorRecord |
Resolve-Parameters | No | Resolve-ADTBoundParameters |
Send-Keys | Yes | Send-ADTKeys |
Set-ActiveSetup | Yes | Set-ADTActiveSetup |
Set-DeferHistory | Yes | Set-ADTDeferHistory |
Set-IniValue | Yes | Set-ADTIniValue |
Set-ItemPermission | Yes | Set-ADTItemPermission |
Set-MsiProperty | Yes | Set-ADTMsiProperty |
Set-PinnedApplication | Yes | Deprecated |
Set-RegistryKey | Yes | Set-ADTRegistryKey |
Set-ServiceStartMode | Yes | Set-ADTServiceStartMode |
Set-Shortcut | Yes | Set-ADTShortcut |
Show-BalloonTip | Yes | Show-ADTBalloonTip |
Show-DialogBox | Yes | Show-ADTDialogBox |
Show-InstallationProgress | Yes | Show-ADTInstallationProgress |
Show-InstallationPrompt | Yes | Show-ADTInstallationPrompt |
Show-InstallationRestartPrompt | Yes | Show-ADTInstallationRestartPrompt |
Show-InstallationWelcome | Yes | Show-ADTInstallationWelcome |
Show-WelcomePrompt | No | Show-ADTInstallationWelcome |
Start-ServiceAndDependencies | Yes | Start-ADTServiceAndDependencies |
Stop-ServiceAndDependencies | Yes | Stop-ADTServiceAndDependencies |
Test-Battery | Yes | Test-ADTBattery |
Test-IsMutexAvailable | Yes | Test-ADTMutexAvailability |
Test-MSUpdates | Yes | Test-ADTMSUpdates |
Test-NetworkConnection | Yes | Test-ADTNetworkConnection |
Test-PowerPoint | Yes | Test-ADTPowerPoint |
Test-RegistryValue | Yes | Test-ADTRegistryValue |
Test-ServiceExists | Yes | Test-ADTServiceExists |
Unblock-AppExecution | Yes | Unblock-ADTAppExecution |
Update-Desktop | Yes | Update-ADTDesktop |
Update-GroupPolicy | Yes | Update-ADTGroupPolicy |
Update-SessionEnvironmentVariables | Yes | Update-ADTEnvironmentPsProvider |
Write-FunctionHeaderOrFooter | No | Initialize-ADTFunction / Complete-ADTFunction |
Write-Log | Yes | Write-ADTLogEntry |