This commit is contained in:
Frank Bischof 2022-11-23 10:25:42 +01:00
parent 08f9f8cc79
commit 9c8a8f31ee

3
ist-soll.ps1 Normal file
View File

@ -0,0 +1,3 @@
Get-ADUser -Filter '*' -Properties * |
Select-Object DisplayName, Description, SamAccountName, Enabled, CanonicalName, @{l="Member oF";e={[string]$_.memberof}}, @{n='LastLogon';e={[DateTime]::FromFileTime($_.LastLogon).ToString('yyyy-MM-dd HH:mm')}} |
Export-Csv 'ist-soll.csv' -NoType