When executing get-adcomputer on Windows Server 2016 in Powershell 7.3.0 using a [DateTime] variable as a filter, variable expansion fails. I contact Microsoft, opened a ticket, and troubleshot this ...
# $Computers = Get-ADComputer -Filter * -properties Name, OperatingSystem, OperatingSystemVersion, LastLogonDate, whenCreated $Computers = Get-ADComputer -Filter ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する