Add note about using Invoke-Command for remoting#12735
Add note about using Invoke-Command for remoting#12735sdwheeler merged 2 commits intoMicrosoftDocs:mainfrom
Conversation
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
There was a problem hiding this comment.
Pull request overview
Updates PowerShell documentation to clarify remoting guidance (notably the removal of -ComputerName on *-Service cmdlets) and refreshes editorial formatting and version notes.
Changes:
- Add notes across
*-Servicecmdlet docs recommendingInvoke-Commandfor running commands remotely. - Update the “Differences from Windows PowerShell” page with revised remoting language and other editorial tweaks.
- Improve formatting/links in examples (code fences, xref links, line wrapping) across multiple reference pages.
Reviewed changes
Copilot reviewed 28 out of 28 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| reference/docs-conceptual/whats-new/differences-from-windows-powershell.md | Adds/edits remoting guidance and other editorial updates |
| reference/7.6/Microsoft.PowerShell.Management/Suspend-Service.md | Formats examples and adds Invoke-Command remoting note/link |
| reference/7.6/Microsoft.PowerShell.Management/Stop-Service.md | Adds Invoke-Command remoting note/link and code-fence formatting |
| reference/7.6/Microsoft.PowerShell.Management/Start-Service.md | Adds Invoke-Command remoting note/link and formatting tweaks |
| reference/7.6/Microsoft.PowerShell.Management/Set-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.6/Microsoft.PowerShell.Management/Resume-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.6/Microsoft.PowerShell.Management/Restart-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.6/Microsoft.PowerShell.Management/Remove-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.6/Microsoft.PowerShell.Management/New-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.6/Microsoft.PowerShell.Management/Get-Service.md | Adds Invoke-Command remoting note/link, formatting, and xref links |
| reference/7.5/Microsoft.PowerShell.Management/Suspend-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.5/Microsoft.PowerShell.Management/Stop-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.5/Microsoft.PowerShell.Management/Start-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.5/Microsoft.PowerShell.Management/Set-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.5/Microsoft.PowerShell.Management/Resume-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.5/Microsoft.PowerShell.Management/Restart-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.5/Microsoft.PowerShell.Management/Remove-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.5/Microsoft.PowerShell.Management/New-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.5/Microsoft.PowerShell.Management/Get-Service.md | Adds Invoke-Command remoting note/link and formatting tweaks |
| reference/7.4/Microsoft.PowerShell.Management/Suspend-Service.md | Formats examples and adds Invoke-Command remoting note/link |
| reference/7.4/Microsoft.PowerShell.Management/Stop-Service.md | Adds Invoke-Command remoting note/link and code-fence formatting |
| reference/7.4/Microsoft.PowerShell.Management/Start-Service.md | Adds Invoke-Command remoting note/link and formatting tweaks |
| reference/7.4/Microsoft.PowerShell.Management/Set-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.4/Microsoft.PowerShell.Management/Resume-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.4/Microsoft.PowerShell.Management/Restart-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.4/Microsoft.PowerShell.Management/Remove-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.4/Microsoft.PowerShell.Management/New-Service.md | Adds Invoke-Command remoting note/link |
| reference/7.4/Microsoft.PowerShell.Management/Get-Service.md | Adds Invoke-Command remoting note/link, formatting, and xref links |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
michaeltlombardi
left a comment
There was a problem hiding this comment.
Approved except for a question about the formatting for alerts and whether the line break after > [!NOTE] is required or conventional.
Co-authored-by: Copilot <[email protected]> Co-authored-by: Mikey Lombardi (He/Him) <[email protected]>
PoliCheck Scan ReportThe 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 foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 1827b05: ✅ Validation status: passed
This comment lists only the first 25 files in the pull request. |
PR Summary
Add note about using Invoke-Command for remoting
PR Checklist