{"id":56,"date":"2014-10-24T00:20:06","date_gmt":"2014-10-23T21:20:06","guid":{"rendered":"http:\/\/yusufziyagulec.com\/?p=56"},"modified":"2014-11-26T15:15:29","modified_gmt":"2014-11-26T13:15:29","slug":"active-directory-ortamindaki-bilgisayar-isimlerini-listeleme","status":"publish","type":"post","link":"https:\/\/yusufziyagulec.com\/blog\/active-directory-ortamindaki-bilgisayar-isimlerini-listeleme\/","title":{"rendered":"Active Directory ortam\u0131ndaki bilgisayar isimlerini listeleme"},"content":{"rendered":"<p>Powershell ortam\u0131nda a\u015fa\u011f\u0131daki komut kullan\u0131larak domain&#8217;de bulunan t\u00fcm bilgisayarlar\u0131n isimleri bir metin dosyas\u0131na yazd\u0131r\u0131labilir:<\/p>\n<pre class=\"font-size:14 lang:default decode:true \">$computers = Get-ADComputer -Filter * | Format-table name\r\nwrite($computers) | Out-File -FilePath .\\computers.txt<\/pre>\n<p><strong>NOT:<\/strong> get-adcomputer komutunu kulland\u0131\u011f\u0131n\u0131zda &#8220;<strong><em>The term &#8216;Get-ADUser&#8217; is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again&#8221;\u00a0<\/em><\/strong>hatas\u0131 al\u0131rsan\u0131z Active Directory mod\u00fcl\u00fc PowerShell ortam\u0131nda bulunmuyor demektir. Bu durumda \u00f6ncelikle <strong>import-module activedirectory<\/strong> komutunu \u00e7al\u0131\u015ft\u0131rman\u0131z gerekir.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Powershell ortam\u0131nda a\u015fa\u011f\u0131daki komut kullan\u0131larak domain&#8217;de bulunan t\u00fcm bilgisayarlar\u0131n isimleri bir metin dosyas\u0131na yazd\u0131r\u0131labilir: $computers = Get-ADComputer -Filter * | Format-table name write($computers) | Out-File -FilePath .\\computers.txt NOT: get-adcomputer komutunu kulland\u0131\u011f\u0131n\u0131zda &#8220;The term &#8216;Get-ADUser&#8217; is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name,&#8230; <a class=\"more-link\" href=\"https:\/\/yusufziyagulec.com\/blog\/active-directory-ortamindaki-bilgisayar-isimlerini-listeleme\/\">Continue reading <span class=\"meta-nav\">&#8594;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[21,19,20],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-notlar","tag-active-directory","tag-bilgisayar-listeleme","tag-powershell"],"_links":{"self":[{"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/posts\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":1,"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":105,"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/posts\/56\/revisions\/105"}],"wp:attachment":[{"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yusufziyagulec.com\/blog\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}