{"id":37097,"date":"2024-11-26T12:49:21","date_gmt":"2024-11-26T04:49:21","guid":{"rendered":"https:\/\/fwq.ai\/blog\/37097\/"},"modified":"2024-11-26T12:49:21","modified_gmt":"2024-11-26T04:49:21","slug":"win7%e6%80%8e%e4%b9%88%e6%98%be%e7%a4%ba%e7%a7%92%e8%a1%a8","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/37097\/","title":{"rendered":"win7\u600e\u4e48\u663e\u793a\u79d2\u8868"},"content":{"rendered":"<blockquote><p>\n  \u5bf9\u4e8ewindows 7\u4e2d\u663e\u793a\u79d2\u8868\u529f\u80fd\u7684\u9700\u6c42\uff0c\u6709\u4e24\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0\uff1a\u4e0b\u8f7d\u7b2c\u4e09\u65b9\u79d2\u8868\u5e94\u7528\u7a0b\u5e8f\uff0c\u5982 timerstopwatch \u6216 timerdigital stopwatch\uff0c\u7136\u540e\u542f\u52a8\u4f7f\u7528\u3002\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u542f\u52a8 windows powershell \u5e76\u6267\u884c\u6307\u5b9a\u547d\u4ee4\uff0c\u5373\u53ef\u4f7f\u7528 powershell \u5185\u5efa\u7684\u79d2\u8868\u529f\u80fd\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202409\/25\/2024092500581618119.jpg\" class=\"aligncenter\" title=\"win7\u600e\u4e48\u663e\u793a\u79d2\u8868\u63d2\u56fe\" alt=\"win7\u600e\u4e48\u663e\u793a\u79d2\u8868\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5728 Windows 7 \u4e2d\u663e\u793a\u79d2\u8868<\/strong><\/p>\n<p>Windows 7 \u6ca1\u6709\u5185\u7f6e\u7684\u79d2\u8868\u529f\u80fd\u3002\u4e0d\u8fc7\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u4e4b\u4e00\u8f7b\u677e\u6dfb\u52a0\u79d2\u8868\u529f\u80fd\uff1a<\/p>\n<p><strong>\u65b9\u6cd5 1\uff1a\u4f7f\u7528\u7b2c\u4e09\u65b9\u79d2\u8868\u5e94\u7528\u7a0b\u5e8f<\/strong><\/p>\n<ol>\n<li>\n<p>\u4ece Microsoft Store \u6216\u5176\u4ed6\u53ef\u4fe1\u6765\u6e90\u4e0b\u8f7d\u7b2c\u4e09\u65b9\u79d2\u8868\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li>Timer<\/li>\n<li>Stopwatch Timer<\/li>\n<li>Dial Stopwatch<\/li>\n<\/ul>\n<\/li>\n<li>\u5b89\u88c5\u5e76\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\u3002<\/li>\n<li>\u5355\u51fb\u201c\u5f00\u59cb\u201d\u6309\u94ae\u542f\u52a8\u79d2\u8868\u3002<\/li>\n<li>\u79d2\u8868\u5c06\u5f00\u59cb\u8ba1\u65f6\uff0c\u5e76\u663e\u793a\u7ecf\u8fc7\u7684\u65f6\u95f4\uff0c\u5305\u62ec\u79d2\u3002<\/li>\n<\/ol>\n<p><strong>\u65b9\u6cd5 2\uff1a\u4f7f\u7528 Windows PowerShell<\/strong><\/p>\n<ol>\n<li>\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u542f\u52a8 Windows PowerShell\u3002<\/li>\n<li>\n<p>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309 Enter \u952e\uff1a<\/p>\n<pre>$stopwatch = New-Object System.Diagnostics.Stopwatch\n$stopwatch.Start()<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/li>\n<li>\u7b49\u5f85\u6240\u9700\u7684\u65f6\u957f\u3002<\/li>\n<li>\n<p>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309 Enter \u952e\u505c\u6b62\u79d2\u8868\u5e76\u663e\u793a\u7ecf\u8fc7\u7684\u65f6\u95f4\uff1a<\/p>\n<pre>$stopwatch.Stop()\n$stopwatch.Elapsed.TotalSeconds<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/li>\n<\/ol>\n<p>\u8fd9\u4e2a PowerShell \u547d\u4ee4\u5c06\u4ee5\u79d2\u4e3a\u5355\u4f4d\u663e\u793a\u7ecf\u8fc7\u7684\u65f6\u95f4\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fwin7\u600e\u4e48\u663e\u793a\u79d2\u8868\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5bf9\u4e8ewindows 7\u4e2d\u663e\u793a\u79d2\u8868\u529f\u80fd\u7684\u9700\u6c42\uff0c\u6709\u4e24\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5b9e\u73b0\uff1a\u4e0b\u8f7d\u7b2c\u4e09\u65b9\u79d2\u8868\u5e94\u7528\u7a0b\u5e8f\uff0c\u5982 timerstopwatch \u6216 timerdigital stopwatch\uff0c\u7136\u540e\u542f\u52a8\u4f7f\u7528\u3002\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u542f\u52a8 windows powershell \u5e76\u6267\u884c\u6307\u5b9a\u547d\u4ee4\uff0c\u5373\u53ef\u4f7f\u7528 powershell \u5185\u5efa\u7684\u79d2\u8868\u529f\u80fd\u3002 \u5982\u4f55\u5728 Windows 7 \u4e2d\u663e\u793a\u79d2\u8868 Windows 7 \u6ca1\u6709\u5185\u7f6e\u7684\u79d2\u8868\u529f\u80fd\u3002\u4e0d\u8fc7\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\u4e4b\u4e00\u8f7b\u677e\u6dfb\u52a0\u79d2\u8868\u529f\u80fd\uff1a \u65b9\u6cd5 1\uff1a\u4f7f\u7528\u7b2c\u4e09\u65b9\u79d2\u8868\u5e94\u7528\u7a0b\u5e8f \u4ece Microsoft Store \u6216\u5176\u4ed6\u53ef\u4fe1\u6765\u6e90\u4e0b\u8f7d\u7b2c\u4e09\u65b9\u79d2\u8868\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982\uff1a Timer Stopwatch Timer Dial Stopwatch \u5b89\u88c5\u5e76\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\u3002 \u5355\u51fb\u201c\u5f00\u59cb\u201d\u6309\u94ae\u542f\u52a8\u79d2\u8868\u3002 \u79d2\u8868\u5c06\u5f00\u59cb\u8ba1\u65f6\uff0c\u5e76\u663e\u793a\u7ecf\u8fc7\u7684\u65f6\u95f4\uff0c\u5305\u62ec\u79d2\u3002 \u65b9\u6cd5 2\uff1a\u4f7f\u7528 Windows PowerShell \u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u542f\u52a8 Windows PowerShell\u3002 \u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309 Enter \u952e\uff1a $stopwatch = New-Object System.Diagnostics.Stopwatch $stopwatch.Start() \u767b\u5f55\u540e\u590d\u5236 \u7b49\u5f85\u6240\u9700\u7684\u65f6\u957f\u3002 \u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5e76\u6309 Enter \u952e\u505c\u6b62\u79d2\u8868\u5e76\u663e\u793a\u7ecf\u8fc7\u7684\u65f6\u95f4\uff1a $stopwatch.Stop() $stopwatch.Elapsed.TotalSeconds \u767b\u5f55\u540e\u590d\u5236 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-37097","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/37097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=37097"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/37097\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=37097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=37097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=37097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}