15 49.0138 8.38624 1 0 4000 1 https://vladtalkstech.com 300 1
theme-sticky-logo-alt

How to configure SharePoint Outgoing Email Settings Using PowerShell

0 Comments
Here is a little script that lets you configure SharePoint Outgoing Email Settings using Power Shell. #Vlad Catrinescu  www.vladcatrinescu.com$SMTPServer = “192.168.1.20”$EmailAddress = “svcfarm@vlad.loc”$ReplyToEmail = “svcfarm@vlad.loc”Try{ Write-Host -ForegroundColor White ” – Configuring Outgoing Email…” $loadasm = [System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) $SPGlobalAdmin = New-Object Microsoft.SharePoint.Administration.SPGlobalAdmin $SPGlobalAdmin.UpdateMailSettings($SMTPServer, $EmailAddress, $ReplyToEmail, 65001)}Catch{ Write-Host “Failed”} Say Thanks if it helped 🙂

How to Disable IE Enhanced Security Using PowerShell

4 Comments
Here is a little script on how to Disable IE Enhanced Security Using PowerShell #Vlad Catrinescu  www.vladcatrinescu.comWrite-Host -ForegroundColor White ” – Disabling IE Enhanced Security…”Set-ItemProperty -Path “HKLM:SOFTWAREMicrosoftActive SetupInstalled Components{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}” -Name isinstalled -Value 0Set-ItemProperty -Path “HKLM:SOFTWAREMicrosoftActive SetupInstalled Components{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}” -Name isinstalled -Value 0Rundll32 iesetup.dll, IEHardenLMSettings,1,TrueRundll32 iesetup.dll, IEHardenUser,1,TrueRundll32 iesetup.dll, IEHardenAdmin,1,True If (Test-Path “HKCU:SOFTWAREMicrosoftActive SetupInstalled Components{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}”)  { Remove-Item -Path...Read More

SharePoint sends emails to users but doesn’t send emails to Distribution Groups

8 Comments
There are some rare SharePoint cases where your SharePoint can send alerts to Users but doesn’t want to send anything to Distribution Groups. If your SharePoint sends emails to users it means that your SharePoint outgoing email is well configured. The problem actually comes from Exchange. Go into Exchange Management Console>  Recipient Configuration > Distribution Groups. Right-click...Read More

Sharepoint 2010 Features Names and their GUID for Powershell

0 Comments
In case you need to enable features in SharePoint 2010 and  you don’t want to spend a lot of time looking for the GUID, here are all the Sharepoint Features, names and GUID’s. Here is how you enable them: $mainurl = “http://vlad.test.loc”   Write-Host -ForegroundColor White ” – Enabling SharePoint Server Publishing Infrastructure   …” -NoNewline...Read More