Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

[release/v7.6] Update PowerShell Profile DSC resource manifests to allow null for content - #26973

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/26929-3544ce5db
Mar 9, 2026
Merged

Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/26929-3544ce5db

Conversation

@daxian-dbw

Copy link
Copy Markdown
Member

Backport of #26929 to release/v7.6

Triggered by Dongbo Wang (@daxian-dbw) on behalf of Aditya Patwardhan (@adityapatwardhan)

Original CL Label: CL-General

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Customer Impact

  • Customer reported
  • Found internally

Improves DSC resource schema flexibility by allowing null values for content property, enabling scenarios where content may be intentionally omitted.

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Schema change validated to ensure it accepts both string and null values as intended. No functional code changes or test additions needed for schema-only modifications.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Low risk as this only updates the DSC resource manifest schema to allow null values for the content property. The change improves schema flexibility without affecting existing functionality or breaking current usage patterns.

@daxian-dbw Dongbo Wang (daxian-dbw) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Mar 9, 2026
Copilot AI review requested due to automatic review settings March 9, 2026 22:26
@daxian-dbw Dongbo Wang (daxian-dbw) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Mar 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Backport of #26929 to release/v7.6, updating the PowerShell Profile DSC resource manifest schema to allow null for the content property so callers can explicitly omit content management.

Changes:

  • Updated content schema type to accept both "string" and "null".

@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit b30abae into PowerShell:release/v7.6 Mar 9, 2026
40 checks passed
@daxian-dbw
Dongbo Wang (daxian-dbw) deleted the backport/release/v7.6/26929-3544ce5db branch March 9, 2026 22:45
@CretechSoft2

Copy link
Copy Markdown

إعادة تطبيق #26929 على الإصدار/v7.6

تم تشغيله بواسطةDongbo Wang (@daxian-dbw)باسمAditya Patwardhan (@adityapatwardhan)

ملصق CL الأصلي: CL-General

/cc @PowerShell/powershell-maintainers

تأثير

مطلوب : اختر إما تأثير الأدوات أو تأثير العميل (أو كليهما). يجب تحديد خانة اختيار واحدة على الأقل.

تأثير الأدوات

  • تغيير الأدوات المطلوبة
  • تغيير الأدوات الاختياري (مع ذكر الأسباب)

تأثير العميل

  • أبلغ العميل
  • تم العثور عليه داخلياً

يعمل على تحسين مرونة مخطط موارد DSC من خلال السماح بقيم فارغة لخاصية المحتوى، مما يتيح سيناريوهات يمكن فيها حذف المحتوى عمدًا.

الانحدار

مطلوب : ضع علامة في مربع واحد فقط.

  • نعم
  • لا

هذا ليس تراجعاً.

الاختبار

تم التحقق من صحة تغيير المخطط للتأكد من قبوله لكل من القيم النصية والقيم الفارغة كما هو مطلوب. لا حاجة لتغييرات في التعليمات البرمجية الوظيفية أو إضافة اختبارات للتعديلات التي اقتصرت على المخطط فقط.

مخاطرة

مطلوب : ضع علامة في مربع واحد فقط.

  • عالي
  • واسطة
  • قليل

يُعد هذا التغيير منخفض المخاطر، إذ أنه يُحدّث فقط مخطط بيان موارد DSC للسماح بقيم فارغة لخاصية المحتوى. ويُحسّن هذا التغيير مرونة المخطط دون التأثير على الوظائف الحالية أو الإخلال بأنماط الاستخدام الحالية.

@CretechSoft2

Copy link
Copy Markdown

اريد تحميلها

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

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

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants