redcanaryco / invoke-atomicredteam

Invoke-AtomicRedTeam is a PowerShell module to execute tests as defined in the [atomics folder](https://github.com/redcanaryco/atomic-red-team/tree/master/atomics) of Red Canary's Atomic Red Team project.
MIT License
805 stars 190 forks source link

Install Failed: Cannot bind argument to parameter 'Path' because it is null. #123

Open cpt-kernel opened 1 year ago

cpt-kernel commented 1 year ago

Join-Path : Cannot find drive. A drive with the name 'U' does not exist.

I think this is an issue with how Join-Path is being used. See: https://chrisoldwood.blogspot.com/2014/09/join-path-fails-when-local-drive-letter.html

clr2of8 commented 1 year ago

Very interesting, thanks for providing that link! In this case, if the drive doesn't exist, even if the join-path worked the functions would still fail right? So is the suggested solution here to give a better warning or ask the user to specify an existent path?

megan201296 commented 8 months ago

I am seeing this same issue.