Skip to content

Use standard error messages #81

@juneb

Description

@juneb

Please change:
PowerForensics must be executed from an Administrator PowerShell

To:
This cmdlet requires administrator privileges. Start Windows PowerShell with the "Run as administrator" option and try the command again.

I would make the change myself, but the repo doesn't have source files, like a .resx file or a .psd1 file with a user message hash table.

Also, the error message says that 'PowerForensics (the module) must be run in an elevated session. I don't think that's true. Invoke-ForensicBinShred without admin privileges.

If that changes, and every cmdlet requires admin privileges, we should say so in the cmdlet help topics, and change the error message to:

The cmdlets in the PowerForensics module require administrator privileges. Start Windows PowerShell with the "Run as administrator" option and try the command again.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions