In PI ACE Manager and PI System Management Tools you can get the status of Scheduler Location.
Is it possible to get the same status using PowerShell or cmd?
OSIsoft.PowerShell does not expose PI Module Database objects, so I wouldn't know of a direct or easy way to do this but impossible is nothing.
Can you indicate what you like to accomplish? There may be easier options e.g. using the Get-Process cmdlet or monitoring Windows Performance Counters of the PIACENetScheduler.exe process.
If I use a command Get-AFServer, I get this result
The problem is that there can only be one server Scheduler Location.
How to get it using PowerShell?
Apologies but I don't see the link between your previous post and your original question. How is the AF Server cmdlet related to getting the ACE scheduler location from the PI Module Database?
And what do you mean by there can only be one server location?? Those things that you pointed to are just the various aliases that the AF Server can use to be referred to.
Retrieving data ...