{"id":797,"date":"2024-03-22T09:18:58","date_gmt":"2024-03-22T08:18:58","guid":{"rendered":"https:\/\/www.tippex.net\/?p=797"},"modified":"2024-03-22T09:20:13","modified_gmt":"2024-03-22T08:20:13","slug":"powershell-anzahl-ad-computer-herausfinden","status":"publish","type":"post","link":"https:\/\/www.tippex.net\/?p=797","title":{"rendered":"Powershell: Anzahl AD Computer herausfinden"},"content":{"rendered":"\n<p>Die Anzahl der Workstations, die sich innerhalb der letzten 30 Tage am AD gemeldet haben, l\u00e4sst sich mit diesem Powershell Befehl herausfinden.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$Date = &#91;DateTime]::Today.AddDays(-30)\r\nGet-ADComputer -Filter { OperatingSystem -like 'Windows 10*' -or OperatingSystem -like 'Windows 11*' -and Passwordlastset -ge $Date} -Properties PasswordLastSet | Measure-Object<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Die Anzahl der Workstations, die sich innerhalb der letzten 30 Tage am AD gemeldet haben, l\u00e4sst sich mit diesem Powershell Befehl herausfinden.<\/p>\n","protected":false},"author":1,"featured_media":57,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,15,5,39,53],"tags":[90,51],"class_list":["post-797","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein","category-anleitung","category-windows","category-windows-server","category-wissen","tag-get-adcomputer","tag-powershell","wpbf-post"],"_links":{"self":[{"href":"https:\/\/www.tippex.net\/index.php?rest_route=\/wp\/v2\/posts\/797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tippex.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tippex.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tippex.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tippex.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=797"}],"version-history":[{"count":1,"href":"https:\/\/www.tippex.net\/index.php?rest_route=\/wp\/v2\/posts\/797\/revisions"}],"predecessor-version":[{"id":798,"href":"https:\/\/www.tippex.net\/index.php?rest_route=\/wp\/v2\/posts\/797\/revisions\/798"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tippex.net\/index.php?rest_route=\/wp\/v2\/media\/57"}],"wp:attachment":[{"href":"https:\/\/www.tippex.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tippex.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tippex.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}