PowerShell - Get-ADObject
Hi,
mit ist gerade aufgefallen, dass man mit
offenbar nicht alle Objekte aller Klassen zurückgeliefert bekommt.
Diese Abfrage
liefert nur u.g. Objektklassen, nicht aber z.B. "msExchActiveSyncDevice"
Wie kann ich solche Objekte abfragen?
E.
mit ist gerade aufgefallen, dass man mit
Get-ADObject
Diese Abfrage
(Get-ADObject -server server1 -LDAPfilter "(objectClass=*)" -SearchScope Subtree -properties *).objectClass | sort-object -unique
Wie kann ich solche Objekte abfragen?
E.
builtinDomain
classStore
computer
contact
container
dfsConfiguration
domainDNS
domainPolicy
fileLinkTracking
foreignSecurityPrincipal
group
groupPolicyContainer
infrastructureUpdate
intellimirrorSCP
linkTrackObjectMoveTable
lostAndFound
msDFS-NamespaceAnchor
msDFS-Namespacev2
msDFSR-Content
msDFSR-ContentSet
msDFSR-GlobalSettings
msDFSR-LocalSettings
msDFSR-Member
msDFSR-ReplicationGroup
msDFSR-Subscriber
msDFSR-Subscription
msDFSR-Topology
msExchDynamicDistributionList
msExchSystemObjectsContainer
msImaging-PSPs
msWMI-Som
nTFRSSettings
organizationalUnit
packageRegistration
rIDManager
rIDSet
rpcContainer
samServer
trustedDomain
user
classStore
computer
contact
container
dfsConfiguration
domainDNS
domainPolicy
fileLinkTracking
foreignSecurityPrincipal
group
groupPolicyContainer
infrastructureUpdate
intellimirrorSCP
linkTrackObjectMoveTable
lostAndFound
msDFS-NamespaceAnchor
msDFS-Namespacev2
msDFSR-Content
msDFSR-ContentSet
msDFSR-GlobalSettings
msDFSR-LocalSettings
msDFSR-Member
msDFSR-ReplicationGroup
msDFSR-Subscriber
msDFSR-Subscription
msDFSR-Topology
msExchDynamicDistributionList
msExchSystemObjectsContainer
msImaging-PSPs
msWMI-Som
nTFRSSettings
organizationalUnit
packageRegistration
rIDManager
rIDSet
rpcContainer
samServer
trustedDomain
user
Please also mark the comments that contributed to the solution of the article
Content-Key: 363061
Url: https://administrator.de/contentid/363061
Printed on: April 18, 2024 at 08:04 o'clock
11 Comments
Latest comment
Gib mal den GlobalCatalogServer an -Server server1:3268
Gruß snap
Gruß snap
Hm, hier aber schon. Welche Umgebung? EX und AD?
Das tue ich auch nicht.
http://microlinc.homeip.net/index.php?lev1=7&lev2=15&id=298
DC 2016 - Domain Level 2016 - Forest Level 2008 R2 (muss vorerst so bleiben)
Exchange 2010
Dann muss das bei dir an Berechtigungen liegen, siehe auch hier das es gehen mussExchange 2010
http://microlinc.homeip.net/index.php?lev1=7&lev2=15&id=298
Die PowerShell muss voll eleviert sein. So ein Blödsinn ....
Och nö, echt jetzt?! Ich schick dir einen Latthammer zum Nagel ziehen
Vermutlich beschränkt die Shell bei dem CMDLet bei dir auf 1000 Objects, setze mal -ResultSetSize $null.
Hier geht es auf jeden Fall auch damit egal ob elevated oder nicht.
Hier geht es auf jeden Fall auch damit egal ob elevated oder nicht.