| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Imports a module runtime by exact paths, with dependencies loaded before the root module.
Import-ModuleDependency [[-Name] <string>] [[-Path] <string>] [-RequiredVersion <version>] [-DependencyName <string[]>] [-Force] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Import-ModuleDependency [[-Path] <string>] -Module <psobject> [-RequiredVersion <version>] [-DependencyName <string[]>] [-Force] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Import-ModuleDependency [-Path] <string> [-DependencyName <string[]>] [-Force] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Use -Name to import dependencies directly from a module's bundled Internals\Modules payload and then import that module by exact path. Add -Path after Install-ModuleDependency to import the private runtime copy without relying on PSModulePath discovery.
Import-ModuleDependency -Name EntraIDConfigImport-ModuleDependency -Name EntraIDConfig -Path C:\PrivateDepsDependency names to import. When omitted, imports all dependencies in the receipt.
Type: String[]
Parameter Sets: ByName, ByModule, ByPath
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueForce re-import of modules already loaded in the session.
Type: SwitchParameter
Parameter Sets: ByName, ByModule, ByPath
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueSpecific module object containing embedded dependencies.
Type: PSObject
Parameter Sets: ByModule
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: TrueModule containing embedded dependencies.
Type: String
Parameter Sets: ByName
Aliases: ModuleName
Possible values:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: TrueReturn imported module information from Import-Module -PassThru.
Type: SwitchParameter
Parameter Sets: ByName, ByModule, ByPath
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueInstalled dependency root or module-dependencies.json receipt path.
Type: String
Parameter Sets: ByName, ByModule, ByPath
Aliases: None
Possible values:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional exact source module version when using -Name or -Module.
Type: Version
Parameter Sets: ByName, ByModule
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.
System.String System.Management.Automation.PSObject
System.Object
- None