Skip to content

Add Note regarding Scriptblock behaviour exception#12677

Merged
sdwheeler merged 2 commits intoMicrosoftDocs:mainfrom
taku-nm:patch-1
Jan 20, 2026
Merged

Add Note regarding Scriptblock behaviour exception#12677
sdwheeler merged 2 commits intoMicrosoftDocs:mainfrom
taku-nm:patch-1

Conversation

@taku-nm
Copy link
Copy Markdown
Contributor

@taku-nm taku-nm commented Jan 19, 2026

PR Summary

This adds a note to highlight that Import-Clixml will deserialize a scriptblock as a string.

Despite Export-Clixml suggesting that it would retain the type by using a<SKB>element instead of <S>

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributor's guide.
  • Style: This PR adheres to the style guide.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit d56b2d1:

✅ Validation status: passed

File Status Preview URL Details
reference/7.5/Microsoft.PowerShell.Utility/Import-Clixml.md ✅Succeeded View (powershell-7.5)

For more details, please refer to the build report.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 0f386e0:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Utility/Import-Clixml.md ✅Succeeded View (powershell-5.1)
reference/7.4/Microsoft.PowerShell.Utility/Import-Clixml.md ✅Succeeded View (powershell-7.4)
reference/7.5/Microsoft.PowerShell.Utility/Import-Clixml.md ✅Succeeded View (powershell-7.5)
reference/7.6/Microsoft.PowerShell.Utility/Import-Clixml.md ✅Succeeded View (powershell-7.6)

For more details, please refer to the build report.

@taku-nm
Copy link
Copy Markdown
Contributor Author

taku-nm commented Jan 20, 2026

@microsoft-github-policy-service agree

@sdwheeler sdwheeler merged commit 2ec30d3 into MicrosoftDocs:main Jan 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants