# Test-IsolatedModuleProfile

Validates a curated isolated module profile without importing it.

Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

[View on GitHub](https://github.com/EvotecIT/PSPublishModule) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSPublishModule/releases/tag/v3.0.124) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSPublishModule/2.0.27)

Stars **48**

Forks **15**

Open issues **1**

PowerShell Gallery downloads **17,213**

Release **v3.0.195**

Language: C# Updated: 2026-11-25

Command 

**Module**

`PSPublishModule`

**Inputs**

`None`

**Outputs**

`PowerForge.IsolatedModuleProfileValidationResult` `System.Boolean`

Validates a curated isolated module profile without importing it.

## Syntax

```
Test-IsolatedModuleProfile
[-Name <String>]
[-Path <String>]
[-Profile] <String>
[-Quiet]
[<CommonParameters>]
```

[#](#method-test-isolatedmoduleprofile-string-string-string-switchparameter)

Parameter set: `All Parameter Sets`

## Description

Test-IsolatedModuleProfile resolves the selected profile and module source, validates the profile's minimum version, checks the expected script, manifest, binary, dependency, and support files, and returns a detailed validation result without copying or importing the generated wrapper.

## Examples

### Validate the newest visible ExchangeOnlineManagement profile source

```powershell
Test-IsolatedModuleProfile -Profile ExchangeOnlineManagement
```

Resolves ExchangeOnlineManagement from PSModulePath and returns validation details.

### Validate a specific Graph Authentication manifest

```powershell
Test-IsolatedModuleProfile -Profile MicrosoftGraphAuthentication -Path 'C:\Modules\Microsoft.Graph.Authentication\2.37.0\Microsoft.Graph.Authentication.psd1' | Format-List *
```

Uses the supplied manifest path as the source manifest and its parent as the module base.

### Return only a Boolean result

```powershell
Test-IsolatedModuleProfile -Profile MicrosoftTeams -Quiet
```

Returns True when the resolved profile source passes validation; otherwise returns False.

## Parameters

**-Name String optional**

Optional module name override. When omitted, the profile's module name is used.

**-Path String optional**

Optional module base path or manifest path. When omitted, the profile module is resolved from PSModulePath.

**-Profile String requiredposition: 0**

Name of the built-in isolation profile to validate.

**-Quiet SwitchParameter optional**

Return only a Boolean validation result.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:B2A053B8C7FA674C5E0C1D598B53C6AEDB7FE28D8DAE2F2C5EB5DD2CF202ED04 -->
