Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
NMM-PS
0.2.0
Private/Get-ModulePath.ps1
function
Get-ModulePath
{
[
CmdletBinding
(
)
]
Param
(
)
# Get the module base path
$modulePath
=
$MyInvocation
.
MyCommand
.
Module
.
ModuleBase
# Return the directory path
Return
$modulePath
}