Category: Powershell

Connecting to SFB Online Powershell in Hybrid

Hi, Just a friendly reminder for all. If You have any kind of MS-Hybrid solution, You will always bind autodiscover, lyncdiscovery to Onpremises AD SCP. And then You have problems connecting to Cloud Based powershell instances. Well with this one…

Continue Reading Connecting to SFB Online Powershell in Hybrid

Public folders in Hybrid Screnario

Hi all, Public Folders and Hybrid mode. Not really a hybrid mode cause all mailboxes reside in the Cloud, also PF Mailboxes. First set Default PF for all mailboxes.

When sending email from outside organization sender will get. 550…

Continue Reading Public folders in Hybrid Screnario

Sharepoint Online recursive permissions.

Hi, When You migrate from a local fileshare, You will have a problem with recursive permissions from parent object. Here is script that can scan thru large library (5000+ items) and reset recursive permissions to them.

Orginal source for…

Continue Reading Sharepoint Online recursive permissions.

O4B Bulk Provisioning.

Hi, Just wanted to share this one to make it easier for others. Check currently activated Onedrive sites from a tenant: >Onedrive share<

And Bulk provision users based on a text file.

Links for instructions. https://support.office.com/en-us/article/create-a-list-of-all-onedrive-locations-in-your-organization-8e200cb2-c768-49cb-88ec-53493e8ad80a?ui=en-US&rs=en-US&ad=US https://support.office.com/en-us/article/Pre-provision-OneDrive-for-users-in-your-organization-ceef6623-f54f-404d-8ee3-3ce1e338db07

Continue Reading O4B Bulk Provisioning.

Sharepoint Config cache reset.

Hi, Today I found this excellent script for the job. All the credit goes to http://jasonwarren.ca/clearspconfigcache/

Continue Reading Sharepoint Config cache reset.

Office 365 Group and alias email-address.

If You want to archive this You have to use Powershell. Connect to Exchange Online Powershell and use the command below:

Happy Powershelling,

Continue Reading Office 365 Group and alias email-address.

Sharepoint 2013/16 and WSS_Logging DB

Sharepoint gathers usage and health data to database called WSS_Logging. By Default retention period is 14 days. If You want to make it lower, lets say 2 days use the below oneliner for it.

And then just a quick…

Continue Reading Sharepoint 2013/16 and WSS_Logging DB

Direct Access and reporting out-put in Powershell.

If You have to get something out to a csv-file from Direct Access Reporting. You have to use powershell. For the last 30 days use below script.

Continue Reading Direct Access and reporting out-put in Powershell.

Customize W10 Start-Menu Start Tiles & Taskbar

Customizing Windows 10 Start-Menu and Taskbar is quite simple, all you need is a reference machine and some Powershell skills. First thing you want to do is to set up your reference machine with the customizations you want to create….

Continue Reading Customize W10 Start-Menu Start Tiles & Taskbar

Lync/SfB Server: Event 41026, LS Data MCU after May 2017 .NET Framework update

Hi, Today a customer call me and said that they cannot connect to meeting. In the Blog below is the fix. https://blogs.technet.microsoft.com/uclobby/2017/05/24/lyncsfb-server-event-41026-ls-data-mcu-after-may-2017-net-framework-update/ And script that does this for You. https://gallery.technet.microsoft.com/LyncSfB-Server-Disable-EKU-dab6cb88

Continue Reading Lync/SfB Server: Event 41026, LS Data MCU after May 2017 .NET Framework update