I've created a few sites using this command,
> New-SPWeb -url "http://server" -Template "STS#0" -Name "test99" -Description "test99" -UseParentTopNav
The sites are appearing in the navigation bar as expected but not in the order I would like them.
With this page _layouts/AreaNavigationSettings.aspx under Navigation Editing and Sorting I can change the order they appear in, but is this possible using PowerShell?
I found this page - managing-quick-launch-current - which appears to do something similar with QuickLaunch. But it doesnt appear to manually set the sort order.