From 645bb7965ba3ea8e2378d4f44324fb81abccdaad Mon Sep 17 00:00:00 2001 From: Carmen Forsmann Date: Fri, 31 Mar 2023 15:07:55 -0600 Subject: [PATCH] Update wufb-reports-do.md --- windows/deployment/update/wufb-reports-do.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/windows/deployment/update/wufb-reports-do.md b/windows/deployment/update/wufb-reports-do.md index 1cd4e75799..3a91654ec4 100644 --- a/windows/deployment/update/wufb-reports-do.md +++ b/windows/deployment/update/wufb-reports-do.md @@ -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)