Steps
- Start your windows PowerShell on your computer.
- Right click and select Run as administrator option.
- Paste the below script on the PowerShell window and click the enter button.
- Check your SharePoint site Feature will activated successfully.
- $Site = Get-SPSite http://gauti.sharepoint.com/sites
- $Webs = $Site.AllWebs
- foreach ($Web in $Webs)
- {
- foreach ($List in $web.Lists)
- {
- //Check if the Versioning is enabled or not.
- if($List.EnableVersioning)
- {
- $Item=$List.Items[0]
- foreach($Version in $Item.Versions)
- {
- Write-Host "Documen Library Name:" $List.Title "-" "Document Name:" $Item.Title $Version.VersionLabel
- }
- }
- }
- }
- $Web.Dispose()
- $Site.Dispose()
Run the script with the required administrator privilege. To verify that, Check the output window.
Thanks For reading.

Gowtham RajamanickamPosted Apr 6, 2016, 4:53 AM
catch me when ur free
Gowtham RajamanickamPosted Apr 6, 2016, 4:53 AM
why you have stopped to writing blogs
Gowtham RajamanickamPosted Apr 6, 2016, 4:53 AM
thanks vijya
Vijay SPosted Jun 17, 2015, 9:20 AM
Good one