{"id":114837,"date":"2020-06-08T16:01:52","date_gmt":"2020-06-08T08:01:52","guid":{"rendered":"http:\/\/4563.org\/?p=114837"},"modified":"2020-06-08T16:01:52","modified_gmt":"2020-06-08T08:01:52","slug":"office%e5%ad%90%e5%8f%b7%e6%89%b9%e9%87%8f%e8%a7%a3%e9%99%a4%e9%98%bb%e6%ad%a2%e7%99%bb%e5%bd%95","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=114837","title":{"rendered":"Office\u5b50\u53f7\u6279\u91cf\u89e3\u9664\u963b\u6b62\u767b\u5f55"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>hjvn2211445<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>Office\u5b50\u53f7\u6279\u91cf\u89e3\u9664\u963b\u6b62\u767b\u5f55<\/h3>\n<p>  \t\thttps:\/\/docs.microsoft.com\/zh-cn\/office365\/enterprise\/powershell\/block-user-accounts-with-office-365-powershell<\/p>\n<p>  \u4e0b\u9762\u90a3\u4e2a\u4f7f\u7528\u7528\u4e8e Windows PowerShell \u7684 Microsoft Azure Active Directory \u6a21\u5757\u3002<\/p>\n<p>  \u82e5\u8981\u89e3\u9664\u963b\u6b62\u8be5\u6587\u672c\u6587\u4ef6\u4e2d\u5217\u51fa\u7684\u5e10\u6237\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>  Get-Content &quot;C:My DocumentsAccounts.txt&quot; | ForEach { Set-MsolUser -UserPrincipalName $_ -BlockCredential $false }<\/p>\n<p>  \u8865\u5145<br \/>  \u8981\u5148\u5b89\u88c5\u597d\u6a21\u5757\uff0cPowerShell\u7248\u672c\u89815\u4ee5\u4e0a<br \/>  #\u4e0b\u8f7d\u5b89\u88c5\u5b98\u65b9\u63d0\u4f9b\u7684Azure Active Directory Connection http:\/\/connect.microsoft.com\/site1164\/Downloads\/DownloadDetails.aspx?DownloadID=59185<br \/>  #\u8bf7\u5728\u672c\u5730\u7528\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00PowerShell\uff0c\u5e76\u8fd0\u884c\u547d\u4ee4 Install-Module -Name AzureAD<br \/>  #\u4e0b\u8f7d\u5b89\u88c5\u5b98\u65b9\u63d0\u4f9b\u7684Microsoft Online Service Sign-in Assistant for IT Professionals https:\/\/go.microsoft.com\/fwlink\/p\/?LinkId=286152<\/p>\n<p>  #\u8fde\u63a5\u5230MSOL<br \/>  Connect-MsolService<br \/>  #\u5217\u51fa\u6240\u6709\u88ab\u7981\u7528\u6237\uff08\u624b\u52a8\u64cd\u4f5c\u4e00\u4e0b\uff0c\u653e\u8fdbAccounts.txt\uff09<br \/>  Get-MsolUser -ALL-EnabledFilter DisabledOnly<br \/>  #\u89e3\u9664<br \/>  Get-Content &quot;C:My DocumentsAccounts.txt&quot; | ForEach { Set-MsolUser -UserPrincipalName $_ -BlockCredential $false }  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hjvn2211445<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u53f6\u5b50 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-6-8 16:07<br \/>  \u540e\u53f0\u7ba1\u7406\u754c\u9762\u7b5b\u9009\u963b\u6b62\u7528\u6237\u53ef\u4ee5\u6279\u91cf\u8bbe\u7f6e<\/p>\n<p> haha,\u4ee5\u524d\u6ca1\u7559\u610f\u5462<\/p>\n<p>  https:\/\/s3.jpg.cm\/2020\/06\/08\/X1Wbf.pnghttps:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5c0f\u6ca8<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t:lol. \u5728\u51fa\u4e2a \u6279\u91cf\u5f00\u5b50\u8d26\u6237\u7684\u5c31\u597d\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5e08\u592a<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5c0f\u6ca8 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-6-8 16:04<br \/>  . \u5728\u51fa\u4e2a \u6279\u91cf\u5f00\u5b50\u8d26\u6237\u7684\u5c31\u597d\u4e86<\/p>\n<p> \u65e9\u5c31\u6709\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u98d8\u4e91<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u611f\u8c22\u5206\u4eab\u4e86\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5c0f\u6ca8<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5e08\u592a \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-6-8 16:05<br \/>  \u65e9\u5c31\u6709\u4e86<\/p>\n<p> \u6c42\u5206\u4eab\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u53f6\u5b50<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u540e\u53f0\u7ba1\u7406\u754c\u9762\u7b5b\u9009\u963b\u6b62\u7528\u6237\u53ef\u4ee5\u6279\u91cf\u8bbe\u7f6e\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5e08\u592a<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5c0f\u6ca8 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-6-8 16:07<br \/>  \u6c42\u5206\u4eab<\/p>\n<p> https:\/\/www.zxd.win\/16.html\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5c0f\u6ca8<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5e08\u592a \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-6-8 16:08<br \/>  https:\/\/www.zxd.win\/16.html<\/p>\n<p>  \u8fd9\u4e2a\u6628\u5929\u8bd5\u4e86\u4e00\u4e0b \u9519\u8bef \u989d\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>longmao<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tyc019t\u8fd8\u662f\u5609\u4f6c\u4f1a\u6298\u817e\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>hjvn2211445 \u5927\u4f6c\u6709\u8bdd\u8bf4&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/114837"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=114837"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/114837\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=114837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=114837"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=114837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}