Skip to content

Commit 6103ca0

Browse files
authored
Merge pull request #144 from JackStuart/public
Convert command from Certutil to Powershell
2 parents 588c51b + ad04bd7 commit 6103ca0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

defender-office-365/tenant-allow-block-list-files-configure.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ This article describes how admins can manage entries for files in the Microsoft
3636

3737
- To connect to Exchange Online PowerShell, see [Connect to Exchange Online PowerShell](/powershell/exchange/connect-to-exchange-online-powershell). To connect to standalone EOP PowerShell, see [Connect to Exchange Online Protection PowerShell](/powershell/exchange/connect-to-exchange-online-protection-powershell).
3838

39-
- You specify files by using the SHA256 hash value of the file. To find the SHA256 hash value of a file in Windows, run the following command in a Command Prompt:
40-
41-
```DOS
42-
certutil.exe -hashfile "<Path>\<Filename>" SHA256
39+
- You specify files by using the SHA256 hash value of the file. To find the SHA256 hash value of a file in Windows, run the following command in Powershell:
40+
```powershell
41+
Get-FileHash -Path "<Path>\Filename>" -Algorithm SHA256
4342
```
4443

4544
An example value is `768a813668695ef2483b2bde7cf5d1b2db0423a0d3e63e498f3ab6f2eb13ea3a`. Perceptual hash (pHash) values aren't supported.

0 commit comments

Comments
 (0)