<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PnP PowerShell Archives : Binary Bits</title>
	<atom:link href="https://blog.binarybits.net/tag/pnp-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.binarybits.net/tag/pnp-powershell/</link>
	<description>Bits &#38; Pieces - A blog by Kannan Balasubramanian</description>
	<lastBuildDate>Wed, 23 May 2018 03:57:59 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>Enable tree view in current navigation within SharePoint</title>
		<link>https://blog.binarybits.net/enable-tree-view-in-current-navigation-within-sharepoint/</link>
					<comments>https://blog.binarybits.net/enable-tree-view-in-current-navigation-within-sharepoint/#respond</comments>
		
		<dc:creator><![CDATA[Kannan]]></dc:creator>
		<pubDate>Wed, 23 May 2018 03:57:59 +0000</pubDate>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[PnP PowerShell]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<category><![CDATA[Tree View]]></category>
		<guid isPermaLink="false">https://blog.binarybits.net/?p=985</guid>

					<description><![CDATA[<p>Sometime we need to enable tree view in current navigation to help navigate within document libraries. Traditional Way: Site Settings -&#62; Look and Feel: Navigation Elements -&#62; Check &#8216;Enable Tree View&#8217; Programmatic way using PnP Powershell: try { $web = Get-PnPWeb -Includes TreeViewEnabled Write-Host "Setting options to enable tree view..." $web.TreeViewEnabled = $true $web.Update() Invoke-PnPQuery Write-Host [&#8230;]</p>
<p>The post <a href="https://blog.binarybits.net/enable-tree-view-in-current-navigation-within-sharepoint/">Enable tree view in current navigation within SharePoint</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometime we need to enable tree view in current navigation to help navigate within document libraries.</p>
<p><strong>Traditional Way:</strong></p>
<blockquote><p>Site Settings -&gt; Look and Feel: Navigation Elements -&gt; Check &#8216;Enable Tree View&#8217;</p></blockquote>
<p><b>Programmatic</b><strong> way using PnP Powershell:</strong></p>
<pre class="lang:ps decode:true" title="Sisable 'Allow items from this site to be downloaded to offline clients' in SharePoint">try {
    $web = Get-PnPWeb -Includes TreeViewEnabled
    Write-Host "Setting options to enable tree view..."
    $web.TreeViewEnabled = $true        
    $web.Update()
    Invoke-PnPQuery
    Write-Host "Completed."
}
catch {
    $ErrorMessage = $_.Exception.Message
    Write-Host "Error enabling tree view. $ErrorMessage"
}
</pre>
<p>The post <a href="https://blog.binarybits.net/enable-tree-view-in-current-navigation-within-sharepoint/">Enable tree view in current navigation within SharePoint</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.binarybits.net/enable-tree-view-in-current-navigation-within-sharepoint/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Disable &#8216;Allow items from this site to be downloaded to offline clients&#8217; in SharePoint</title>
		<link>https://blog.binarybits.net/disable-allow-items-from-this-site-to-be-downloaded-to-offline-clients-in-sharepoint/</link>
					<comments>https://blog.binarybits.net/disable-allow-items-from-this-site-to-be-downloaded-to-offline-clients-in-sharepoint/#respond</comments>
		
		<dc:creator><![CDATA[Kannan]]></dc:creator>
		<pubDate>Wed, 23 May 2018 03:52:17 +0000</pubDate>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[PnP PowerShell]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<guid isPermaLink="false">https://blog.binarybits.net/?p=979</guid>

					<description><![CDATA[<p>Sometime we need to disable the &#8220;Sync&#8221; button in SharePoint document libraries and that can be done by the following methods. Traditional Way: Site Settings -&#62; Search: Search and offline availability -&#62; Set &#8216;Allow items from this site to be downloaded to offline clients?&#8217; to &#8220;No&#8221; Programmatic way using PnP Powershell: try { $web = Get-PnPWeb [&#8230;]</p>
<p>The post <a href="https://blog.binarybits.net/disable-allow-items-from-this-site-to-be-downloaded-to-offline-clients-in-sharepoint/">Disable &#8216;Allow items from this site to be downloaded to offline clients&#8217; in SharePoint</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometime we need to disable the &#8220;Sync&#8221; button in SharePoint document libraries and that can be done by the following methods.</p>
<p><strong>Traditional Way:</strong></p>
<blockquote><p>Site Settings -&gt; Search: Search and offline availability -&gt; Set &#8216;Allow items from this site to be downloaded to offline clients?&#8217; to &#8220;No&#8221;</p></blockquote>
<p><b>Programmatic</b><strong> way using PnP Powershell:</strong></p>
<pre class="lang:ps decode:true" title="Sisable 'Allow items from this site to be downloaded to offline clients' in SharePoint">try {
    $web = Get-PnPWeb -Includes ExcludeFromOfflineClient
    Write-Host "Setting options to disable 'Allow items from this site to be downloaded to offline clients'..."
    $web.ExcludeFromOfflineClient = $true        
    $web.Update()
    Invoke-PnPQuery
    Write-Host "Completed."
}
catch {
    $ErrorMessage = $_.Exception.Message
    Write-Host "Error disabling offline clients. $ErrorMessage"
}</pre>
<p>The post <a href="https://blog.binarybits.net/disable-allow-items-from-this-site-to-be-downloaded-to-offline-clients-in-sharepoint/">Disable &#8216;Allow items from this site to be downloaded to offline clients&#8217; in SharePoint</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.binarybits.net/disable-allow-items-from-this-site-to-be-downloaded-to-offline-clients-in-sharepoint/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: blog.binarybits.net @ 2026-05-28 21:01:57 by W3 Total Cache
-->