< Back
Import-PodeModule
Post
NAME Import-PodeModule
SYNOPSIS
Imports a Module into the current, and all runspaces that Pode uses.
SYNTAX
Import-PodeModule -Name <String> [-Now] [<CommonParameters>]
Import-PodeModule -Path <String> [-Now] [<CommonParameters>]
DESCRIPTION
Imports a Module into the current, and all runspaces that Pode uses. Modules can also be imported from the
ps_modules directory.
PARAMETERS
-Name <String>
The name of a globally installed Module, or one within the ps_modules directory, to import.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The path, literal or relative, to a Module to import.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Now [<SwitchParameter>]
Import the Module now, into the current runspace.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Import-PodeModule -Name IISManager
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Import-PodeModule -Path './modules/utilities.psm1'
RELATED LINKS
SYNOPSIS
Imports a Module into the current, and all runspaces that Pode uses.
SYNTAX
Import-PodeModule -Name <String> [-Now] [<CommonParameters>]
Import-PodeModule -Path <String> [-Now] [<CommonParameters>]
DESCRIPTION
Imports a Module into the current, and all runspaces that Pode uses. Modules can also be imported from the
ps_modules directory.
PARAMETERS
-Name <String>
The name of a globally installed Module, or one within the ps_modules directory, to import.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
The path, literal or relative, to a Module to import.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Now [<SwitchParameter>]
Import the Module now, into the current runspace.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Import-PodeModule -Name IISManager
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Import-PodeModule -Path './modules/utilities.psm1'
RELATED LINKS