-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
base: main
Are you sure you want to change the base?
Conversation
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
@mbiver : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
Learn Build status updates of commit 887628a:
|
File | Status | Preview URL | Details |
---|---|---|---|
WindowsServerDocs/administration/windows-commands/defrag.md | 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:
- Try searching the learn.microsoft.com contributor guides
- Post your question in the Learn support channel
#assign: @robinharwood, @Xelu86 @robinharwood @Xelu86 #label:"aq-pr-triaged" |
Users xelu86 are already assigned. |
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).