{"id":41109,"date":"2023-02-23T09:19:37","date_gmt":"2023-02-23T01:19:37","guid":{"rendered":"http:\/\/gulass.cn\/?p=41109"},"modified":"2023-02-23T09:19:37","modified_gmt":"2023-02-23T01:19:37","slug":"power-shell-linux","status":"publish","type":"post","link":"https:\/\/gulass.cn\/power-shell-linux.html","title":{"rendered":"\u5fae\u8f6f\u5f00\u6e90PowerShell\u88ab\u8d28\u7591\uff01"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nPowerShell\u5168\u79f0Windows\u00a0PowerShell\uff0c\u5728\u5f00\u53d1\u4e4b\u521d\uff0c\u5fae\u8f6f\u5c06\u5176\u547d\u540d\u4e3a\u4ee3\u53f7Monad\u3002\u5b83\u9996\u5148\u662f\u4e2aShell\uff0c\u5b83\u80fd\u591f\u542f\u52a8\u548c\u64cd\u7eb5\u5e94\u7528\u7a0b\u5e8f\uff1b\u5176\u6b21PowerShell\u4e5f\u53ef\u4ee5\u5c06\u51e0\u4e2a\u547d\u4ee4\u7ec4\u5408\u8d77\u6765\u653e\u5728\u6587\u4ef6\u4e2d\u6267\u884c\uff1b\u540c\u65f6\uff0cPowerShell\u8fd8\u53ef\u4ee5\u5145\u5206\u5229\u7528.Net\u548cCOM\u5bf9\u8c61\uff0c\u6765\u4e0e\u5404\u79cd\u7cfb\u7edf\u4ea4\u4e92\uff0c\u5b8c\u6210\u5404\u79cd\u590d\u6742\u3001\u81ea\u52a8\u5316\u7684\u64cd\u4f5c\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"caed5b6b47a55c73fca734e752412343\"<\/p>\n

\u5fae\u8f6f\u56e2\u961f\u516c\u544a<\/em><\/p>\n

\u4e0d\u5f97\u4e0d\u627f\u8ba4\uff0cPowerShell\u7684\u521d\u8877\u662f\u7edd\u5bf9\u5229\u597d\u7684\uff0c\u4f46\u662f\u5728\u4eca\u5e74\u516b\u6708\u4efd\u5fae\u8f6f\u6700\u65b0\u63a8\u9001\u7684\u8865\u4e01KB3176932\u4e2d\uff0c\u88ab\u53d1\u73b0\u7834\u574f\u4e86PowerShell\u7684\u72b6\u6001\u914d\u7f6e\u529f\u80fd\u3002\u5fae\u8f6f\u56e2\u961f\u5728\u516c\u544a\u4e2d\u6307\u51fa\uff0c\u7531\u4e8e\u7f3a\u5c11\u4e00\u4e2aMOF\u6587\u4ef6\uff0c\u8865\u4e01KB3176932\u7834\u574f\u4e86PowerShell\u7684DSC\u529f\u80fd\u3002DSC\u529f\u80fd\u662f\u5fae\u8f6f\u6b64\u524d\u4e3aPowerShell\u52a0\u5165\u7684\u91cd\u8981\u7279\u6027\uff0c\u80fd\u591f\u5e2e\u52a9\u5f00\u53d1\u8005\u548c\u7cfb\u7edf\u7ba1\u7406\u5458\u5bf9\u57fa\u4e8eWindows\u7684\u670d\u52a1\u5668\u8fdb\u884c\u9a8c\u8bc1\u548c\u7ba1\u7406\u3002<\/p>\n

\u867d\u71368\u670823\u65e5\u5c31\u53d1\u73b0\u4e86\u95ee\u9898\uff0c\u5fae\u8f6f\u4e5f\u53d1\u5e03\u4e86\u5b98\u65b9\u58f0\u660e\uff0c\u4f46\u662f\u76f4\u81f38\u670830\u65e5\uff0c\u4fee\u590d\u8fd9\u4e2aBug\u7684\u8865\u4e01\u65b9\u624d\u91ca\u51fa\u3002<\/p>\n

\u4f17\u6240\u5468\u77e5\uff0c\u5fae\u8f6f\u66fe\u7ecf\u662f\u5f00\u6e90\u7684\u6700\u5927\u53cd\u5bf9\u8005\uff0c\u4f46\u662f\u8fd1\u5e74\u6765\u5fae\u8f6f\u7684\u4e3e\u63aa\uff0c\u4f3c\u4e4e\u4e00\u76f4\u5728\u652f\u6301\u5f00\u6e90\u3002\u7eb3\u5fb7\u62c9\u7684\u201c\u79fb\u52a8\u4f18\u5148\u00b7\u4e91\u4f18\u5148\u201d\u6218\u7565\u4e5f\u8ba9\u5fae\u8f6f\u53d8\u5f97\u66f4\u5f00\u653e\u3002\u6240\u4ee5\uff0c\u5fae\u8f6f\u5e0c\u671b\u7528\u6237\u5728Linux\u548cWindows\u4e0a\u90fd\u80fd\u8fd0\u884c\u4ed6\u4eec\u6240\u6709\u7684\u5de5\u4f5c\u8d1f\u8f7d\u3002<\/p>\n

\"fdd5a16be6a717c16aa2bdb89ea861f5\"<\/p>\n

\u4e3a\u4e86\u6539\u8fdbPowerShell\uff0c\u5fae\u8f6f\u5f00\u53d1\u4e86PowerShell\u7f16\u8f91\u5668\u670d\u52a1\uff0c\u5e76\u5bf9PowerShell\u00a0Remoting\u00a0Protocol\uff08MS-PSRP\uff09\u8fdb\u884c\u4e86\u6269\u5c55\uff0c\u8ba9\u7528\u6237\u80fd\u591f\u9009\u62e9\u66f4\u7ba1\u996d\u7684\u7f16\u8f91\u5668\uff0c\u5728\u4f20\u8f93\u65b9\u9762\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528SSH\u6216WINRM\u4f5c\u4e3a\u4f20\u8f93\u3002<\/p>\n

\u5982\u4eca\uff0c\u4f60\u53ef\u4ee5\u5728GitHub\u4e0a\u4e0b\u8f7d\uff0c\u5e76\u4f53\u9a8cPowerShell\u548c\u4ed6\u7684\u5f00\u6e90\u6001\u5ea6\uff1b\u5f53\u7136\u4f60\u4e5f\u53ef\u4ee5\u5728\u5728\u5f00\u6e90\u7f51\u7ad9\u4e0a\u4e0b\u8f7d\u5e76\u5b66\u4e60PowerShell\u8d44\u6599\u5e93\u3002\u5fae\u8f6f\/\u7eb3\u5fb7\u62c9\u8bf4\uff1a\u6211\u7231Linux\uff0c\u4f60\u89c9\u5f97\u8fd9\u4e8b\u513f\u9760\u8c31\u5417\uff1f\u4e0d\u5982\u5148\u884c\u8bd5\u7528\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/digi.163.com\/16\/1122\/06\/C6F2UC4F001680N8.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/gulass.cn\/power-shell-linux.html<\/a>\u7f16\u8f91\uff1a\u82cf\u897f\u4e91\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb PowerShell\u5168\u79f0Windows\u00a0PowerShell\uff0c\u5728\u5f00\u53d1\u4e4b\u521d\uff0c\u5fae\u8f6f\u5c06\u5176\u547d\u540d\u4e3a\u4ee3\u53f7Monad\u3002 […]<\/p>\n","protected":false},"author":63,"featured_media":41116,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-41109","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/41109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=41109"}],"version-history":[{"count":6,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/41109\/revisions"}],"predecessor-version":[{"id":265001,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/41109\/revisions\/265001"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/41116"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=41109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=41109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=41109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}