Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Defrag command with the "/#" parameter #7998

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mbiver
Copy link

@mbiver mbiver commented Dec 5, 2024

The "/#" is missing from this documentation. Reference here https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn789160%28v=ws.11%29#to-optimize-storage-tiers-using-defragexe

defrag : /g /h /#

This command optimizes storage tiers (/g) on the volume, returning a Post Defragmentation Report and a Storage Tier Optimization Report. Include /h to process the job at normal priority instead of low priority (the default).

the '/#' parameter has been left off of this, even though it is utilized with the '/g' parameter for optimizing storage tiers.  This was introduced in 2012 R2, I believe, and can be referenced here:  https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn789160%28v=ws.11%29#to-optimize-storage-tiers-using-defragexe
Added description for Optimizing tiers with /# report parameter
Copy link
Contributor

@mbiver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit 887628a:

⚠️ Validation status: warnings

File Status Preview URL Details
WindowsServerDocs/administration/windows-commands/defrag.md ⚠️Warning Details

WindowsServerDocs/administration/windows-commands/defrag.md

  • Line 110, Column 13: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn789160%28v=ws.11%29#to-optimize-storage-tiers-using-defragexe' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
  • Line 110, Column 13: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn789160%28v=ws.11%29#to-optimize-storage-tiers-using-defragexe' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@v-dirichards
Copy link
Contributor

#assign: @robinharwood, @Xelu86

@robinharwood @Xelu86
Can you review the proposed changes?

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Copy link
Contributor

Users xelu86 are already assigned.

@prmerger-automator prmerger-automator bot added the aq-pr-triaged tracking label for the PR review team label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants