Enable NetBIOS in SharePoint

Enable NetBIOS in SharePoint
We need to enable NetBIOS for User Profile Service Application when Fully Qualified Domain Name is different than NetBIOS name.

To Enable NetBIOS follow the steps.

1) Delete the existing AD connections.
2) Enable the NetBIOS to true for your current user profile service application.
3) Create a new AD connection.

Using power shell we can enable the NetBIOS to import the NetBIOS domain users in to our SharePoint user profile.

By default this NetBIOS is set to disable false (0), using the PowerShell we are enabling to true (1).

Run the below PowerShell command to enable the NetBIOS.

Using the “Get-SPServiceApplication” we can bale to get all the SharePoint application services running in our farm.
Get-SPServiceApplication
Using “Get-SPServiceApplication –Identity GUID” is used to identify the user profile and get in the variable.
$up= Get-SPServiceApplication –Identity GUID
Enabling the NetBIOS using NetBiosDomainNamesEnabled property is setting to true (1)
$up.NetBiosDomainNamesEnabled = “1”
Update the changes.
$up.update()

We can also verify again NetBIOS is enabled or not

Using $up.NetBiosDomainNamesEnabled if it display True NetBIOS is in enabled mode only.


how to get list of site collection and sites last modified date in sharepoint using powershell

how to get list of site collection and sites last modified date in sharepoint using powershell
We having a requirement to know the last modified date for a web application, for the web application having so many site collection and sub sites under the web application doing it manually it will take lot of time, so we prepared a script to know the last modified date under the web application having the list of site collection and its sub sites with URL, Title and site last modified date.

Get-SPWebApplication – Is used to identify the web application URL.
Get-SPSite  – Is used to get the  site collections.
Get-SPWeb – Is used to get the sub sites.

Run the below Power Shell to get all sites last modified information form a particular web application command.

List of sites under Web Application last modified date.

Get-SPWebApplication http://dotnetsharepoint/ | Get-SPSite -limit all | Get-SPWeb -limit all | select url,Lastitemmodifieddate | sort-Object -Property LastItemModifiedDate  > lastmodifiedinformation.txt

Once the script completed, we can verify the list on sites information  in the text file.

In the same way if we want to get the last modified date only for a particular site collection and its sub sites run the below script.

List of sites under Site Collection last modified date.

Get-SPSite http://dotnetsharepoint/sites/SP/ | Get-SPWeb -limit all | select url,title,Lastitemmodifieddate | sort-Object -Property LastItemModifiedDate  > lastmodifiedsitecollectioninfo.txt



Change the site logo hyperlink URL in SharePoint

Change the site logo hyperlink URL in SharePoint
In SharePoint having the site logo I will indicates the link of the current siteURL, when we want to change the different URL we have to do modify in the master page level.

Locate and identify the currently using master page take a backup before modifying the master page.
Best use of modifying the master page using VS or SharePoint Designer.
Open the master page and search for SPSimpleSiteLink.

This is the exact code we can able to find.
     <SharePoint:SPSimpleSiteLink CssClass="ms-siteicon-a" runat="server" id="onetidProjectPropertyTitleGraphic" >
     <SharePoint:SiteLogoImage CssClass="ms-siteicon-img" name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/15/images/siteIcon.png?rev=23" runat="server"/>
      </SharePoint:SPSimpleSiteLink>

Replace the code with following changes with your URL.

  <SharePoint:SPLinkButton runat="server" CssClass="ms-siteicon-a"  NavigateUrl="http://dotnetsharepoint.com" id="onetidProjectPropertyTitleGraphic">     <SharePoint:SiteLogoImage CssClass="ms-siteicon-img" name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/15/images/siteIcon.png?rev=23" runat="server"/>
  </SharePoint:SPLinkButton>

SPLinkButton is the property to navigate the URL.

Save the master page and check the logo hyper link url has changed.


There was an error processing the request my site in SharePoint

We are having a My Site in our SharePoint environment,for every one having their own personal site,in that site when they  tried to edit SharePoint profile information we are getting issue

“There was an error processing the request my site in SharePoint”
                        

We are having multiple web applications and one Managed Meta data service application.

Web application 1: http://dotnetsharepoint.com -> connected to Managed Meta data service and all service applications connected with default proxy group.
Web application 2: http://mysite.dotnetsharepoint.com -> not connected to Managed Meta data service and all remaining service application connected with custom proxy group.

Navigate to Central admin->Application management ->Configure service application associations
There we can able to see all the web application connections connected to Application Proxy Default/Custom.

In my case “my site web application” is connected to “Custom proxy group”, click on the custom and check the check box of “Managed Meta data service application” and click ok.

Now navigate to my site and we can able to edit and update the profile information without issues.



Sorry, you're not set up to follow Unfortunately, it looks like your account hasn't been set up to follow documents or sites.


When we are trying to "follow" a document we are getting the error "Unfortunately, it looks like your account hasn't been set up to follow documents or sites."
Using the "Follow" link we can Follow the Sites,Documents,People and #Tags.
Once we are following these features we can keep track of all these changes.

First check weather My Site is Configured or not.

Also make sure that we are having required permissions to follow the content.

Navigate to ->Central Admin->Application Management->Manage service applications->Click on user on your "user profile service application"->Click on Manage User Permissions.
here we have to check the option as shown in the below screen shot.


Once we verified the permissions,now we can able to follow with out any issues.