I like to look at a folder and know whether or not it is shared. In earlier Windows OS there was a hand overlay which shows you this information. In Server 2012, this indicator has been omitted. Set-SharedFolderIcons.ps1 lets you use the icon of your choosing to restore this hint that a folder is shared. There is a bit at the bottom of the script which you may edit:
#You can edit these values $dllFile = "c:\windows\system32\imageres.dll" $iconIndex = 169 $btest = $false #if False, will not be prompted for folder choice $bConfirmIconChoice = $true #End Edits
The icon is generated with the Icon Extractor, and is used to preview your choice like this:
The script will enumerate shares, skipping admin shares, and, on a domain controller, it skips Sysvol and NetLogon shares. The list goes to Out-Gridview, and selected shares get the new icon by editing the desktop.ini file.