Where to save PSM1 files
Closed this issue · 2 comments
Where am I to save the 2 psm1 files on c drive
New-FolderForced.psm1
take-own.psm1
Getting the below error
Import-Module : The specified module '..\lib\take-own.psm1' was not loaded because no valid module file was found in any module directory.
It would be wonderful if you could provide me on how to use those two files to run remove-default-apps.ps1
Import-Module -DisableNameChecking $PSScriptRoot..\lib\take-own.psm1
Import-Module -DisableNameChecking $PSScriptRoot..\lib\New-FolderForced.psm1
Thanks
Download the whole repository, extract everything, and run the scripts as described in the README. You don't have to make any changes to the directory layout, .psm1 files are included using relative paths.
Thanks, that works perfectly