Project

VirusTotalAnalyzer

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

Stars81
Forks11
Open issues0
PowerShell Gallery downloads25246
Releasev0.0.5
Language: C# Updated: 2026-02-14T21:45:44.0000000+00:00

Curated Examples

Look up a known hash from PowerShell

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

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