Skip to content

Tutorial List Commands

FH-Inway edited this page Aug 30, 2021 · 1 revision

List available commands from d365fo.tools module

This tutorial will show you how to list and search for commands that are available from the d365fo.tools module.

Prerequisites

  • Machine with D365FO installed
  • PowerShell 5.1
  • d365fo.tools module installed

Please visit the Install as a Administrator or the Install as a Administrator tutorials to learn how to install the tools.

Start PowerShell

Locate the PowerShell icon, if you don't have it on your desktop or in the task pane, we can locate it in the Windows Start Menu. Search for it or type PowerShell.

Import module

You need to import / load the d365fo.tools module into the current PowerShell console. Type the following command:

Import-Module -Name d365fo.tools

List all available commands

If you want to see the entire list of available commands from the d365fo.tools, you can ask PowerShell to list them for you. Type the following command:

Get-Command -Module d365fo.tools

Search for commands

If you want to search for command that contains a specific word or phrase, you can ask PowerShell to search for commands in the d365fo.tools module. Type the following command:

Get-Command *bacpac* -Module d365fo.tools

Closing comments

In this tutorial we showed you how to list all of the functions that is part of the d365fo.tools. We also showed how you can search for a specific keyword and find all commands containing that keyword.

Clone this wiki locally