Update wufb-reports-do.md

This commit is contained in:
Carmen Forsmann 2023-03-31 15:07:55 -06:00 committed by GitHub
parent c1c00f74c2
commit 645bb7965b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,13 +74,18 @@ There are sevaral calculated values that appear on the Delivery Optimization rep
## Determine GroupID
In the **Efficiency By Group** subsection, the **GroupID** is displayed as an encoded hash. You can determine the **GroupID** from the hash, or determine the hash for a given **GroupID**.
In the **Efficiency By Group** subsection, the **GroupID** is displayed as an encoded SHA256 hash. You can create a mapping of decoded to encoded GroupIDs using the following PowerShell example:
Determine the **GroupID** from the hash:
Determine the hash for a **GroupID**:
```powershell
$text = "65f64d93-a6c1-446b-95c2-c6117378002c`0" ;
$hashObj = [System.Security.Cryptography.HashAlgorithm]::Create('sha256') ; $dig = $hashObj.ComputeHash([System.Text.Encoding]::Unicode.GetBytes($text)) ; $digB64 = [System.Convert]::ToBase64String($dig) ; Write-Host "$text ==> $digB64"
```
In addition, you can see the both the encoded and decoded GroupIDs in the Delivery Optimization logs.
```powershell
powershell Get-DeliveryOptimizationLog -Flush | Set-Content C:\dosvc.log
```
## Sample queries
You can use the data in [UCDOAggregatedStatus](wufb-reports-schema-ucdoaggregatedstatus.md)