Currently Browsing: Tips

Why SharePoint doesn’t send alerts to Distribution Groups?

If your SharePoint Server doesn’t want to send Alerts to Distribution Groups than they could be configured not receive emails from non authorized sources. The easiest way is to turn this property to $false. Get-DistributionGroup "Group Name" | Set-DistributionGroup...

Get a List of SharePoint 2010 Site Collections sorted by Size

#getting a list of all site collections Get-SPSite -Limit ALL | ` #selecting objects URL and creating second column with size of site collection Select-Object URL, @{label="Size(MB)";Expression={$_.usage.storage/1MB}} | ` #sorting by second property - size Sort-Object -Descending -Property "Size(MB)"...

CmdLet from Module in PowerShell 3.0

In Windows PowerShell 3.0, there is no need to import cmdlet module into the Windows PowerShell session before running cmdlets that are part of the module. A module is automatically imported the first time you run a cmdlet that is part of the...