Posh-SecMod icon indicating copy to clipboard operation
Posh-SecMod copied to clipboard

Get-Filehash

Open garrathleeds opened this issue 10 years ago • 2 comments

Your function Get-Filehash overwrites a builtin Powershell function. This causes issues with some functions (in my case New-DSCCheckSum).

garrathleeds avatar Feb 11 '16 01:02 garrathleeds

tha is because the module is written to support Windows PowerShell v2, you should import the module adding a prefix so as to not clobber functions later added to powershell

darkoperator avatar Feb 11 '16 01:02 darkoperator

Okay, thanks. Just wanted to make sure you knew about it. On 11 Feb 2016 12:28, "Carlos Perez" [email protected] wrote:

tha is because the module is written to support Windows PowerShell v2, you should import the module adding a prefix so as to not clobber functions later added to powershell

— Reply to this email directly or view it on GitHub https://github.com/darkoperator/Posh-SecMod/issues/12#issuecomment-182667615 .

garrathleeds avatar Feb 11 '16 11:02 garrathleeds