davehull / Kansa

A Powershell incident response framework
Apache License 2.0
1.56k stars 266 forks source link

Cannot bind argument to parameter 'File' because it is null. Could not find item C:\Users\Administrator\NTUSER.dat. #183

Closed tjs24 closed 6 years ago

tjs24 commented 6 years ago

I am using Kansa's Get-File.ps1 module to collect files from remote hosts and have been getting the above error. I am following the file retrieval example provided in the module itself.

Here are my invocation arguments:

image

I am using Powershell 5 and latest Kansa scripts.

Any help will be appreciated.