Skip to content

Importing Format Pester

Wojciech Sciesinski edited this page Dec 3, 2016 · 1 revision

Install the module

Format-Pester is the PowerShell module so before usage it you need import it.

# One time setup with Powershell 5
    Install-Module Format-Pester

# Or Manually
    # Download the repository
    # Unblock the zip
    # Extract the Format-Pester folder to a module path (e.g. $env:USERPROFILE\Documents\WindowsPowerShell\Modules\)

# Import the module
    Import-Module Format-Pester   #Alternatively, Import-Module \\Path\To\Format-Pester

# Get commands in the module
    Get-Command -Module Format-Pester

# Help for commands
    Get-Help Format-Pester -Full

You can read more about Importing a PowerShell Module here.

Clone this wiki locally