Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 241 Bytes
# this script replaces any older list icon references (e.g. used in older versions of SharePoint) to the current .png version
$list = Get-PnPList "Tasks"
$list.ImageUrl = $list.ImageUrl -replace ".gif",".png"
$list.Update()
Invoke-PnPQuery
You can’t perform that action at this time.