Skip to content

docs(directorymanager): rewrite the Management Shell help and related pages - #1912

Open
TylerReese wants to merge 25 commits into
docs/directorymanager-restyle-seo-cleanupfrom
docs/directorymanager-management-shell-help
Open

TylerReese wants to merge 25 commits into
docs/directorymanager-restyle-seo-cleanupfrom
docs/directorymanager-management-shell-help

Conversation

@TylerReese

@TylerReese TylerReese commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Rewrites the Directory Manager 11.2 Management Shell docs and fixes related pages.

This pull request is stacked on #1910. Its base is #1910's branch, so the diff shows only this work. After #1910 merges, retarget this pull request to dev. Checks that run only for pull requests to dev run then.

Changes

  • Cmdlet pages (11.2): all 120 cmdlets have rewritten help pages in PlatyPS format. They're also the source of the module's Get-Help file, built with the new scripts in scripts/management-shell-help/.
  • 11.2 overview, Before you script, cmdlet list, and Parameters: rewritten. The credential page is merged into Before you script, with redirects.
  • Remote access (11.0, 11.1, 11.2): the steps prompt for credentials, import only the module's commands, and close the session.
  • Identity store limits: consistent wording, and a list of the cmdlets that can run against the Directory Manager (GroupID) provider type.
  • Dynasty -Filters separator forms, a new Get-Group smart filter example, an updated sign-in screenshot, and "PowerShell Core" naming fixes.

How it was checked

  • The facts come from product code. Selected examples and behaviors were run on an 11.2 test system. Not every example was run.
  • 11.1: remote access steps checked against 11.1 code, not run on 11.1.
  • 11.0: only fixes that don't depend on the product version, not run on 11.0.
  • The latest edits had an independent review against the code. Its required corrections are made.
  • Local style check (without Dale) on the changed pages, a Directory Manager build with no broken links or anchors, and the help build script tests.
  • The 11.2 pages point readers to the online cmdlet help. They don't promise Get-Help content.

Generated with AI

Co-Authored-By: Claude Code ai@netwrix.com

https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR

TylerReese and others added 25 commits November 28, 2026 00:21
…let help

Use the PlatyPS format so each page is also the source of Get-Help. Parameter
details come from the live 11.2 module. Not yet run end to end on the lab.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Pages for cmdlets that had no documentation, written from code. Kept in a
separate commit so engineering can review them.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Basic pages for cmdlets whose support is unclear (self-service portal cmdlets
and Update-IdentityStore_). Unlisted until engineering answers.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Add the new listed cmdlet pages to the command list, add menu settings for the
workflow and self-service portal folders, and fix style findings. Product
messages and accepted values keep their exact text.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
…ell" page

Cover loading the module, sign-in, credentials, reading changes back, and
built-in help. Link it from the shell overview and add the new cmdlet pages to
the general and identity store overviews.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Corrects examples, read-back lines, output descriptions, and claims that
independent code review and lab runs of the page examples showed were wrong.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Seven defaults on four Management Shell pages belonged to parameters
whose values the cmdlet never uses.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
The cmdlet pages are also the source of Get-Help. Add the steps that turn
them into the module's help file, with instructions, so anyone can
regenerate it:

- stage.mjs prepares the pages for PlatyPS.
- export.ps1 exports the help XML with PlatyPS 1.0.3.
- finalize.mjs corrects the export and adds parameter defaults.
- check-help.ps1 checks what Get-Help shows for a built module.

help.test.mjs covers the Node steps and joins test:scripts.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Microsoft calls the cross-platform product PowerShell. Update the
Management Shell overviews and the Preparation Tool software lists for
11.2, 11.1, and 11.0. The PowerShellCore.ps1 script name is unchanged.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Verified against the 11.2 code, Microsoft's documentation, and an 11.2
server:

- Remote script: import only the Management Shell module. Without that
  limit, remote cmdlets replaced local ones and the session couldn't be
  closed.
- Use Get-Credential instead of a plain-text password, and full parameter
  names.
- Test the connection against the PowerShell.7 endpoint. The earlier test
  opened Windows PowerShell 5.1.
- Get the identity store ID with Get-IdentityStore instead of SQL.
- Correct the shortcut name, requirements, and sign-in steps, and say that
  remoting is optional.
- Tag code blocks for syntax highlighting and remove outdated screenshots.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Through imported commands, the properties of Get-Group results can't be
read on the connecting computer. Running the command on the server with
Invoke-Command returns usable results (tested on an 11.2 server).

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
- Check results: explain how failures appear to scripts, and show how to
  confirm a change (tested on an 11.2 server).
- Cmdlet list: add a summary for each cmdlet, use the exact cmdlet names,
  and show Get-Command.
- Parameters: replace the large hand-written table with a short page on
  shared conventions. Each cmdlet page documents its own parameters.
- Remove the $Credentials page, which "Before you script" covers, and
  redirect its addresses.
- Overview: shorten the introduction and link the related pages.

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
…a sign-in

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
…rity Utility

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
… Security Utility

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
…11.1 Management Shell

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
…enshot

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
…nshot

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
…tore limits

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
…ll pages

Generated with AI

Co-Authored-By: Claude Code <ai@netwrix.com>
Claude-Session: https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR
@TylerReese
TylerReese requested a review from a team as a code owner November 29, 2026 00:03

This branch has not been deployed

No deployments
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.

1 participant