# Look up a known hash from PowerShell

Look up a known hash from PowerShell on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

VirusTotalAnalyzer

PowerShell module that intearacts with the VirusTotal service using a VirusTotal API (free)

[View on GitHub](https://github.com/EvotecIT/VirusTotalAnalyzer) [Visit Website](#) [Releases](https://github.com/EvotecIT/VirusTotalAnalyzer/releases/tag/VirusTotalAnalyzer-v1.0.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/VirusTotalAnalyzer)

Stars**91**

Forks**11**

Open issues**0**

PowerShell Gallery downloads**58060**

Release**v1.0.0**

Language: C# Updated: 2026-11-23

Curated Examples

Use VirusTotalAnalyzer to retrieve a file hash report.

This pattern is useful for validating the module and API key before using broader workflows.

It is adapted from `Module/Examples/Example-GetVirusTotalReport.ps1`.

## Example

```powershell
Import-Module VirusTotalAnalyzer

$apiKey = $env:VT_API_KEY
$eicarHash = '44d88612fea8a8f36de82e1278abb02f'

Get-VirusReport -ApiKey $apiKey -Hash $eicarHash
```

## What this demonstrates

- reading the API key from the environment
- querying a known public test hash
- avoiding private files and customer URLs in the first example

## Source

- [Example-GetVirusTotalReport.ps1](https://github.com/EvotecIT/VirusTotalAnalyzer/blob/master/Module/Examples/Example-GetVirusTotalReport.ps1)

<!-- PowerForge markdown artifact sha256:C969278CECEEA6CF51BAE5BDFED97DDF0EA0DF7EB0CB95E8EC9BC071A81880D7 -->
