---
id: change/al-go/2286
type: change
title: "#2286 fix: Refactor GetModifiedSettingsContent for PS5 compatibility"
summary: The GetModifiedSettingsContent function now explicitly lists property names instead of using wildcards in Select-Object to ensure compatibility with PowerShell 5.
tier: official
language: en
tags:
  - fix
  - main
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:38.189Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 96c4a38e11d48fc7209d9ffa6e00f937435b12a5
evidence:
  - kind: code
    url: https://github.com/microsoft/AL-Go/pull/2286
    title: "microsoft/AL-Go#2286: fix: Refactor GetModifiedSettingsContent for PS5 compatibility"
    date: "2026-07-14"
    commit: 96c4a38e11d48fc7209d9ffa6e00f937435b12a5
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 2286
repo: microsoft/AL-Go
source_id: al-go-prs
url: https://github.com/microsoft/AL-Go/pull/2286
kind: pr
base_branch: main
major: null
merged_at: "2026-07-14T13:56:02Z"
author: ChrisBlankDe
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 20
  deletions: 1
  al: 1
apps: []
objects_touched: []
objects_unjoined:
  - path: Actions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - platform
quote: null
joined_against:
  major: null
  commit: null
---

# #2286 fix: Refactor GetModifiedSettingsContent for PS5 compatibility

> The GetModifiedSettingsContent function now explicitly lists property names instead of using wildcards in Select-Object to ensure compatibility with PowerShell 5.

[Pull request](https://github.com/microsoft/AL-Go/pull/2286) · merged into `main` on 2026-07-14 by ChrisBlankDe · 3 files (+20 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Fixed property handling in GetModifiedSettingsContent function
- Explicitly lists properties instead of wildcard expansion
- Prevents literal '*' property from being added in PowerShell 5
- Improves PowerShell 5 compatibility
- Includes unit tests for the change
- Behaviour changes for users or extensions.

## AL objects touched

- `Actions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1`: modified, not in the BC? snapshot

## Context

- Systems: platform

Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
