Skip to main content
Version: 4.0

Get-ADTCommandTable

SYNOPSIS

Returns PSAppDeployToolkit's safe command lookup table.

SYNTAX

Get-ADTCommandTable

DESCRIPTION

This function returns PSAppDeployToolkit's safe command lookup table, which can be used for command lookups within extending modules.

Please note that PSAppDeployToolkit's safe command table only has commands in it that are used within this module, and not necessarily all commands offered by PowerShell and its built-in modules out of the box.

EXAMPLES

EXAMPLE 1

Get-ADTCommandTable

Returns PSAppDeployToolkit's safe command lookup table.

PARAMETERS

INPUTS

None

You cannot pipe objects to this function.

OUTPUTS

System.Collections.ObjectModel.ReadOnlyDictionary[System.String, System.Management.Automation.CommandInfo]

Returns PSAppDeployTookit's safe command lookup table as a ReadOnlyDictionary.

NOTES

An active ADT session is required to use this function.

Tags: psadt
Website: https://psappdeploytoolkit.com
Copyright: (C) 2025 PSAppDeployToolkit Team (Sean Lillis, Dan Cunningham, Muhammad Mashwani, Mitch Richters, Dan Gough).
License: https://opensource.org/license/lgpl-3-0

https://psappdeploytoolkit.com/docs/reference/functions/Get-ADTCommandTable