--- title: "Get-VBRYARARule" description: "This cmdlet returns YARA rules. By default, they are located in the C:\\Program Files\\Veeam\\Backup and Replication\\Backup\\YaraRules folder." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/get-vbryararule.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Managing Security Settings > Malware Detection > Get-VBRYARARule" dateModified: "2026-08-19" --- # Get-VBRYARARule ## Short Description Returns YARA rules. **Product Edition**: Enterprise Plus, Veeam Universal License ## Syntax ``` Get-VBRYARARule [] ``` ## Detailed Description This cmdlet returns YARA rules. By default, they are located in the `C:\Program Files\Veeam\Backup and Replication\Backup\YaraRules` folder. ## Parameters `` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object [`VBRYARARule`](vbryararule.md) ## Examples ::: example ### Getting YARA Rules This command returns YARA rules. By default, they are located in the `C:\Program Files\Veeam\Backup and Replication\Backup\YaraRules` folder. ``` Get-VBRYARARule ``` :::