Skip to content

Conversation

@benhorton
Copy link

@benhorton benhorton commented Nov 24, 2025

Fixed powershell block to base64 encode the output

Why:

Closes: #41519

What's being changed (if available, include any code snippets, screenshots, or gifs):

Change to 2 lines of code in the powershell code block
-$hashString = [System.BitConverter]::ToString($hash)
-$hashString.Replace('-', '')
+$hashString = [System.Convert]::ToBase64String($hash)
+$hashString

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

Fixed powershell block to base64 encode the output
@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Nov 24, 2025
@github-actions
Copy link
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/identifying-audit-log-events-performed-by-an-access-token.md ghec
ghes@ 3.18 3.17 3.16 3.15 3.14
ghec
ghes@ 3.18 3.17 3.16 3.15 3.14
from reusable
organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/identifying-audit-log-events-performed-by-an-access-token.md ghec
ghec
from reusable

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in Powershell code block for hashing a token

1 participant