I need to do scripts to set navigation for my publish sharepoint Online using CSOM PowerShell: Navigation Settings mean the same as Native Navigation Settings:
Global Navigation:(chose the top-level site,Managed Navigation and Structural Navigation)
Current Navigation:(chose the top-level site,Managed Navigation, Structural Navigation and Structural Navigation: Display only the navigation items below the current site)
and the same as Managed Navigation: Term Set
with c# I use this logic
webNavigationSettings.GlobalNavigation.Source = StandardNavigationSource.InheritFromParentWeb;
webNavigationSettings.GlobalNavigation.Source = StandardNavigationSource.PortalProvider;
webNavigationSettings.GlobalNavigation.Source = StandardNavigationSource.Unknown;
webNavigationSettings.CurrentNavigation.Source = StandardNavigationSource.Unknown;
pubWeb.Navigation.CurrentIncludeSubSites = false;
pubWeb.Navigation.CurrentIncludePages = false;
pubWeb.Navigation.CurrentDynamicChildLimit = 20;
but with powershell seems to be not the same. Any one know how?
