| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Validates a curated isolated module profile without importing it.
Test-IsolatedModuleProfile [-Profile] <string> [-Name <string>] [-Path <string>] [-Quiet] [<CommonParameters>]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.
Test-IsolatedModuleProfile -Profile ExchangeOnlineManagementResolves ExchangeOnlineManagement from PSModulePath and returns validation details.
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.
Test-IsolatedModuleProfile -Profile MicrosoftTeams -QuietReturns True when the resolved profile source passes validation; otherwise returns False.
Optional module name override. When omitted, the profile's module name is used.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional module base path or manifest path. When omitted, the profile module is resolved from PSModulePath.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueName of the built-in isolation profile to validate.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueReturn only a Boolean validation result.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
None
PowerForge.IsolatedModuleProfileValidationResult System.Boolean
- None