Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$modulesDir = $env:PSModulePath -split ":" | Select -First 1
Move-Item .\MyModule $modulesDir
@markwiese
Copy link

markwiese commented May 22, 2020

Hi. I believe the character used for the split should be a semi-colon rather than a colon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment