Blog Archives

Office 365 – Delve Analytics

 

It’s an interesting application that is included in the Office E5 plan launched on December 1. Delve Analytics is also available as an add-on for the E1 and E3 plans for $4/month per user. It’s an attempt to bring big data analysis to the world of the office to understand how people interact with each other and use tools such as email.

Another description often trotted out positions Delve Analytics as the equivalent of “Fitbit for the office” because like a health tracker, you gain if you pay attention to what to what you learn. I guess “Microsoft Band 2 for the office” does not trip off the tongue quite so smoothly. Let’s discuss what Microsoft has done in Delve Analytics to gather and analyze data gathered from the activities of Office 365 users.

Take back your time with Delve Analytics 1

 

For more info:

https://blogs.office.com/2016/04/06/take-back-your-time-with-delve-analytics/#79qGogvuZRlU6Lw0.97

Thanks

Advertisements

Office 365 Connectors

Office 365 Connectors are a great way to get useful information and content into your Office 365 Group.

Any user can connect their group to services like MailChimp, Asana, GitHub, Stack Overflow, Aha, Zendesk, Salesforce, Twitter, UserVoice, etc., and get notified of the group’s activity in that service.

 

 

Introducing-Office-365-Connectors-3

 

For more info:

https://dev.outlook.com/Connectors

https://blogs.office.com/2016/03/25/introducing-office-365-connectors/

Thanks

SharePoint Foundation 2013 – Apply MasterPage on Site and SubSites – PowerShell Script

On SharePoint Foundation 2013 you can’t easily apply MasterPage on Subsites and Site because the Feature Site Publishing are not available.

So, if you what to do that, you can use powershell, using the script bellow:

SubSites: 

$site = Get-SPSite http://fcsharepoint:1000
$CustomMasterpage = "_catalogs/masterpage/CUSTOM.master"
foreach ($web in $site.AllWebs)
{
   $web.MasterUrl = $site.RootWeb.ServerRelativeUrl + $CustomMasterpage;
   $web.Update();
   $web.Dispose();
}

Listing / Installing / Uninstalling / Enabling / Disabling Features on Farm, Site Collection and Site – Sharepoint Powershell

Listing Features

Show all the features on the farm:

 Get-SPFeature | Sort -Property DisplayName

Show all the features on the Farm grouped by scope in a table use:

 Get-SPFeature | Sort -Property DisplayName, Scope | FT -GroupBy Scope DisplayName

Show all features for a Web Application:

 Get-SPFeature -WebApplication http://webapplication

Show all features for a Site Collection:

 Get-SPFeature -Site http://sitecollection

Show all features for a Site:

 Get-SPFeature -Web http://siteurl

Enabling and Disabling Features

To disable and enable features:

Disable-SPFeature

 Disable-SPFeature -Identity "NameOfFeature" -URL http://url

Enable-SPFeature

 Enable-SPFeature -Identity "NameOfFeature" -URL http://url

Installing and Uninstalling Features

To install and uninstalling a feature you need to specify the name of the folder that your feature contains:

Install-SPFeature
 Install-SPFeature "FeatureFolderName"
Uninstall-SPFeature
Uninstall-SPFeature "FeatureFolderName"

Change MasterPage of SharePoint Sites via PowerShell

On SharePoint Server, you can change MasterPage using Powershell Script.

First, you need check if your masterpage file that there you want apply is in a correctly library.

Go to Settings > Site Settings > Web Designer Galleries > Masterpage and Page Layout.

If you have the file on directory you just need run the script bellow.

      $web = Get-SPWeb siteurl
      $web.MasterUrl = “masterpagerelativeurl”
      $web.Update()
      $web.Dispose()

Examples:

foreach ($site in get-spsite -url http://fcsharepoint*) {
$web = Get-SPWeb $site
$web.CustomMasterUrl = “/_catalogs/masterpage/MasterPage.master”
$web.Update()
}
$web = Get-SPWeb http://fcsharepoint/sites/test
$web.MasterUrl = "/sites/test/_catalogs/masterpage/customMasterPage.master"
$web.Update()
$web.Dispose()

If something went wrong verify if Feature – SharePoint Server Publishing Infrastructure is Enable.

Powershell – Script to Deploy Solution on Sharepoint

Many times we need create a script to deploy solutions on SharePoint via Powershell.

So I would like to share my script.

You just need change the Solution Name and Web Application Url.

How to use it:

Save the script in a file with the extension .ps1 > Starts Windows Shell with Administration and run it.

Copy the script below or make download: http://1drv.ms/1HRNeHR

function WaitForJobToFinish([string]$SolutionFileName)
{ 
    $JobName = "*solution-deployment*$SolutionFileName*"
    $job = Get-SPTimerJob | ?{ $_.Name -like $JobName }
    if ($job -eq $null) 
    {
        Write-Host 'Timer job not found'
    }
    else
    {
        $JobFullName = $job.Name
        Write-Host -NoNewLine "Waiting to finish job $JobFullName"
        
        while ((Get-SPTimerJob $JobFullName) -ne $null) 
        {
            Write-Host -NoNewLine .
            Start-Sleep -Seconds 2
        }
        Write-Host "Finished waiting for job.."
    }
}

Add-PsSnapin Microsoft.SharePoint.PowerShell


#-------------------------VARIABLES START-----------------
#default Variables - Always needed
$CurrentDir= split-path -parent $MyInvocation.MyCommand.Definition
$solutionName="YOURSOLUTION.WSP"
$SolutionPath=$CurrentDir + "\"+$solutionName

#variable for dedicated WebApp solutions
$WebAppUrl="HTTP://WEBAPPLICATION:port"

#Only used case features need some Activation/Deactivation
$FeatureName="Feature"
#---------------------VARIABLES END-----------------

#---------------------Deploy Script START-----------------
#Write-Host 'Going to disable feature'
#disable-spfeature -identity $FeatureName -confirm:$false -url $WebAppUrl

#Write-Host 'Going to uninstall feature'
 #uninstall-spfeature -identity $FeatureName -confirm:$false -force
Write-Host 'Going to uninstall solution'
#Comment one of the next 2 script lines
 #1 - For global WSP
 #Uninstall-SPSolution -identity $solutionName -confirm:$false
#2 - For WebApp solutions, I.E. Webparts
Uninstall-SPSolution -identity $solutionName -confirm:$false -WebApplication $WebAppUrl

Write-Host 'Waiting for job to finish'
WaitForJobToFinish

Write-Host 'Going to remove solution'
Remove-SPSolution –identity $solutionName -confirm:$false

Write-Host 'Going to add solution'
Add-SPSolution $SolutionPath

Write-Host 'Going to install solution to all web applications'
#Comment one of the next 2 script lines
 #1 - For global WSP
 #Install-SPSolution –identity $solutionName –GACDeployment -force
 #2 - For WebApp solutions, I.E. Webparts
Install-SPSolution –identity $solutionName -WebApplication $WebAppUrl –GACDeployment -force

Write-Host 'Waiting for job to finish'
WaitForJobToFinish

#Write-Host 'Going to enable Feature'
#Enable-spfeature -identity $FeatureName -confirm:$false -url $WebAppUrl

Remove-PsSnapin Microsoft.SharePoint.PowerShell