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
818 stars 194 forks source link

Invoke-AtomicRedTeam installer should default to importing the module manifest. #4

Closed mgraeber-rc closed 4 years ago

mgraeber-rc commented 4 years ago

install-atomicredteam.ps1 defaults to importing the module by its .psm1 file. Modules that specify a module manifest (.PSD1) should be imported instead. For example, the invoke-atomicredteam module manifest handles some dependencies while also invoking the .psm1.

What needs to be done: 1) Change the reference of .psm1 to .psd1 in install-atomicredteam.ps1. 2) Update the Import the Module documentation to reflect importing by the .psd1.