Quantcast
Viewing all articles
Browse latest Browse all 31638

NoObjectInGetMember Error when issuing (Get-ADReplicationSite -Identity "My-Site-Name").ReplicationSchedule | Get-Member

I need help.

I am running PowerShell v 5.1

Image may be NSFW.
Clik here to view.

Reading the following link, I should be able to output the current AD NTDS schedule for all my AD sites. However, I get an error.

Making Sense of Replication Schedules in PowerShell

When I run the following PowerShell command, I get the correct out.

Get-ADReplicationSite -Identity "My-Site-Name"

Image may be NSFW.
Clik here to view.

So, I ran the following command.  I also received the correct output.

Get-ADReplicationSite -Identity "My-Site-Name" | Get-Member

Image may be NSFW.
Clik here to view.

However, when I run the following command, I get an error.

Command:

(Get-ADReplicationSite -Identity "My-Site-Name").ReplicationSchedule | Get-Member

Error:

Image may be NSFW.
Clik here to view.

Any help would be appreciated

Thank you,


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>