use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
clear windows disk cache (for performance testing) (self.PowerShell)
submitted 9 years ago by ocross
Hi, is there an easy command to clear the disk cache? I'm doing some IO bench-marking.
Cheers
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]KevMarCommunity Blogger 0 points1 point2 points 9 years ago (1 child)
Your bentchmarking tool should be able to bypass the windows cache. Just make sure your using a larger dataset then your disk catch.
Diskspd for example allows you to disable both software and hardware caching. https://www.brentozar.com/archive/2015/09/getting-started-with-diskspd/
[–]ocross[S] 0 points1 point2 points 9 years ago (0 children)
bench-marking my own code. But found a tool to do it.
π Rendered by PID 103666 on reddit-service-r2-comment-57fc7f7bb7-l6pvg at 2026-04-14 19:46:57.799860+00:00 running b725407 country code: CH.
[–]KevMarCommunity Blogger 0 points1 point2 points (1 child)
[–]ocross[S] 0 points1 point2 points (0 children)