Repository navigation
docs(directorymanager): rewrite the Management Shell help and related pages - #1912
Open
TylerReese wants to merge 25 commits into
Open
TylerReese wants to merge 25 commits into
TylerReese wants to merge 25 commits into
Conversation
…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
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
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 todevrun then.Changes
Get-Helpfile, built with the new scripts inscripts/management-shell-help/.-Filtersseparator forms, a newGet-Groupsmart filter example, an updated sign-in screenshot, and "PowerShell Core" naming fixes.How it was checked
Get-Helpcontent.Generated with AI
Co-Authored-By: Claude Code ai@netwrix.com
https://claude.ai/code/session_01HdYyQNGCbYaEfzTdTt8CeR