I was trying these power forensics command from the powerforensics website the 1st two commands worked perfectly while the next 3 commands gave errors, I am sharing one of the errors below. Please tell me the solution to get rid of this error. enter image description hereWhat's wrong with the path of the cmd?
Command - PS C:> Get-ForensicFileRecord -Path C:\Windows\system32\cmd.exe
Error: Get-ForensicFileRecord : Path C:\Windows\system32\cmd.exe not found. At line:1 char:1
Get-ForensicFileRecord -Path C:\Windows\system32\cmd.exe + CategoryInfo : NotSpecified: (:) [Get-ForensicFileRecord], Exception + FullyQualifiedErrorId : System.Exception,PowerForensics.Cmdlets.GetFileRecordCommand
link which I followed for this tutorial: https://powerforensics.readthedocs.io/en/latest/modulehelp/Get-ForensicFileRecord
PS: This command worked fine in one of my friend's machine but its throwing error for my machine.
Get-ForensicFileRecord -Path $env:ComSpec
. – notjustme