Getting site contents twice in treeview-sharepoint2013

While selecting tree view getting “site content” and “site contents” in left side navigation. How to remove site contents from treeview.if I hide tag in master page it will effect to quick lunch also. Please advise how to remove or hide "site contents"
in treeview-sharepoint2013

Hi,
According to your description, there are two “Site Contents” in the tree view.
What if disable the tree and then enable again?
As I can’t reproduce your issue in my environment, a suggestion is that you can use CSS code to hide one of them if there is a “Site Contents” always stays in a fixed position
in the tree view.
About how to use CSS selectors to find the specific element on a page:
http://www.w3schools.com/cssref/css_selectors.asp
http://css.maxdesign.com.au/selectutorial/
Feel free to reply if there are still any questions.
Best regards,
Patrick
Patrick Liang
TechNet Community Support

Similar Messages

  • Getting "Site contents" 2 times

    Getting “Site contents” 2 times after migration from MOSS 2007 to SP2013 for few site collections. Please guide me on this.

    Hello
    Can't you remove one of the link via the navigation menu?
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Using Site Content and Structure unable to move documents,pages and getting weird error message

    Hi ,
    earlier we are moving a page ,document from one site to another sub site with in the Site Collection.
    Now,we are getting a un-readable format error.
    After selecting the destination we are getting the error.
    and the file can't move.
    What might me be the error.
    Expecting answers related to my question.
    1.As we can do using Internet Explorer,
    2. Using Send To also we can move.
    Using this Site Content and structure we can maintain Versoining also.
    If any one face the same issue then we can easily find out the solution.
    Regards ,
    Prathap 
    SP Developer
    Specify the destination to move the items you selected.

    Hi,
    Using Site Content and Structure unable to move documents,pages and getting weird error message
    We are getting Below error:
    When Moving Document items from one site to another site in the same site collection using Site content and structure(But it's working in same site,we can move documents from one library to another library)
    1576|/wEWwwECuLLErw0Cy+nFYwK84baBAgK6zNqsAgLs0Le0BQK1s8uaCAL5qrm3CAKk7K6pDwKo9a0GArm+xr4NApKe9KUKAoajpK4CAqqU/2sChJXBtAIC052rYQKS+LTPAgLe+7uQAwLO0re/BwLgoaw2AojAlIMOApSO4JoNAuvW7MoKAojz2P4OAuOMt9EGAv/ns1wC64qI7gEC0LymmAcCro3lnQkCj7viwAsC8Met9QEC3a/DHALg4ZO6AQKAn8ebCALvr72DAwKm/NGmAgKN4aayCQLmmczsCgL+46qSAQKH7paCDgLouOHjDwKGuNCBCQKwuob2CQKP78n3BwLQ7vSYCALxlcvIBALRuajXAwK6/vr4AwKx8YasCQLti5igAQKay7JZAta625IFAuTy6rUKAvnC7eQKApvB3ugPAoTBua8BAoyajvgMAsGdloEJAvH+2KECAua7k9AGAv3Lzd8HAtPD3ocOAuX7hM4GAqO1g9sIAtn65sgFAuDkr9QEAt7I1KkMAryhltsIAtizx/kBAvzS7IcBAr+YhK4PAsO3rtADAvea+sADAsvc4IgKAp/1vIoMApelp3ICl+PqiwwC/KX1gwUC3fv58gIC7ZG/pwIC4cnupQgCq7mdlgYCjciR+AwC8/ue4gkC4YWJywUCs+rviAECpuyJigECkfr5rgkC08rHoQ0C+erayQUCjMqStQkCpIuKtwEC+dG5ngICoZ3/og0CspXoxwwC+pzgmwwCkoD5mAYCn/qH2AcC/N/pvAcCv5OtwAICuZquqgcC0/OFnwkC2/2wzQMCrJrO9woC69G52ggC64nunggCtLOIsQEC9LyC7gUC0ry/zgIC1ZDvgQ0C98OfMgL4kaj3CQKXhebCCwKi3bjPBQKYuojTCAKc4+fxCAKyjLfoBALVxO8SAsXSyuQLAqyvkNIPApDV5PgDAtufwJwEAu2BsoYLAs3Oqd8PAo6i+YMDAsy706oCAsLjx7kLApu3+9gKAuLnvMoIAtWywo8OAv6MjvIHAtSDhJwNArXRmL0LAraZvUcC5cGygQoCz5HN7A0C+YzY9AMCmtWQ6AUC/oHF8w4CxeTgmg8CgszujQECss22vgYCp6HBuggCkfm+FAKngqb5BgKkuIzAAQKPspKCCQLu+eDvCwKf5YrEBQKl0M3ACgKm85DvDALCu/nfCwLbwO38DgLoz5eyDQLfr9XLCwL20/eUDgL7hpr3DAKh1tfbCgL48OuNBwK4tuKaCALpgbn5CgLC4dKvBgKKlu76CwKfhKLJAQLurPTIAwLG0o+hAgKI5Y6dDALq+OOlCQKxjuuICAK8yrLHBwLcrOSSAwLoiJfQCwKKyvrtBALXkbCBCgKt4bG9BQLr6qnxCwLC2pz2DQKQ7OuZBALt7t+DDAKR47b8CAKi6pPGCQKLl4r3CQK5yfj+AwLgzYvjDwKUjerODQK7mOPTCQL9qP3qBgKYiOL9AgLA8pSaBwKay8fBDQLqw93DCgKkjpf/CwLsyquQCwKtpbGsDALMtKmxBwKPpvCmBOAFHtmBuG3iNmIT9fQ8Z1TWMpjZ122|cccccccccnncnnnnn|

  • All "Site Content and Structure" default views incorrectly showing "There are no items to show in this view"

    Hi All,
    On my SharePoint Online site (Office 365) all my “Site Content and Structure” default views are showing “There are no items to show in this view”. For example the “Checked out To Me” view shows “There are no items to show in this view” (shown in screenshot
    below). I know this is incorrect and should show at least ten items that have been checked out to me for over two months. I am also a member of the Site Collection Administration and Owner groups.
    What I am trying to do is view all the "Checked Out items" within a Site Collection including it's sub-sites.
    Is there a feature that needs to be activated to get the correct information from the “Site Content and Structure” default views?
    I hope you can help
    Colin

    Hi Colin,
    As I understand, all “Site Content and Structure” default views are showing “There are no items to show in this view” in your SharePoint online site.
    Check things below:
    1. Go to site content and structure logs in site setting to check if there is correct information.
    2. Create a new site collection to check if there are items in Site Content and Structure.
    3. Switch another computer to check if it can work.
    If the issue still exists, I recommend you to post it in the O365 forum.
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How do you get your content in front of the right people?

    "Outbound Content Marketer of the Year, Joe Chernov (VP of content at HubSpot) told me: Marketers always ask me how to make more or better content, and it’s almost always the wrong question. The right question is: “How do I get my content in front of the right people?” - Forrester's Ryan Skinner
    Forrester published a very interesting report in October called "Put Distribution at the Heart of Content Marketing" (here's the related Forrester blog post). My VP shared the report with me and asked me to review and research a key content distribution strategy potentially leveraging the key technologies that are listed in the report. These technologies focus on helping identify influencers, publish content on targeted media properties and publish content if it ranks highly. I have to admit, this is somewhat new territory for me - I've yet to really focus on content distribution strategies across the entire buyer/customer lifecycle and although I've used one or two of these technologies personally, others I've only heard of and some I just flat-out had to Google.
    In true intrapreneurial spirit, I starting working through the research phase - I'm actually still working through it - and as I do, I can't help but to start mentally creating a blueprint of sorts... Imagining our technology roadmap interwoven with a content distribution strategy to create and drive a valuable buyer/customer experience (to acquire, keep and grow, of course). Ideally, we'd be able to accomplish all of the above points to significantly - and intelligently - extend our reach moving forward. So, back to the the Forrester report... To help more holistically drive content distribution, Forrester recommends creating a "distribution boss" and linking that person to content creation. I like it. To even further boost success of content marketing initiatives, Forrester suggests: (and I'm paraphrasing liberally here):
    1. Your distribution boss needs to be a left-brained analyst with a right-brained way with words
    2. Borrow some $$ from your content creation budget for some content promotion
    3. Encourage a BFF relationship between your PR and media teams and your content marketing teams
    Bottom (or should I say "top") line? I'm looking forward to our organization developing a more scientific content distribution strategy in 2014. Can I get an "amen!"? So, what are you and your teams doing to take a more scientific approach to content distribution in 2014? Or what are you currently doing? I look forward to Topliners feedback!
    Cheers!
    Kristin
    P.S. Technologies currently under review:
    - Include your influencers in a distribution strategy: Little Bird, Klout, PeerIndex
    - Look to specific vendors to push content on publisher’s sites: Outbrain, Sharethrough, Taboola
    - Identify social content winners and invest to amplify reach on the networks that work: SimpleReach
    - Keep an eye on emerging technologies for content visibility and distribution: TrendSpottr
    - Others: Parse.ly
    CC: marilyncox

    Alessia,
    I agree! In our current blog consolidation project, we're implementing Google Authorship for all our bloggers and we're currently evaluating how to best leverage Deltek's Google+ channel w/in our content strategy. Our PR/Social Director is not a fan - I'm working on, I mean with, her to see the possibilities.

  • How to I add options to the Context Menu for html files under Site Content

    Currently in Web Page Composer...  if a developer wants to get the Target URL to an html page in a WPC site (i.e. under the Site Content folder) they have to take several steps...   Content Menu -> Details -> Settings -> Properties -> Access Links -> copy the Target URL.  I would like to add this ability (i.e. to copy the target URL to clipboard) as a option to the "context menu" of each html file.  Does anyone know if this is possible and if so how it can be done?   It can be a global change if necessary.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Also check the Mouse driver settings in the Control Panel.

  • Infopath 2007 "Updating Site Content Failed"

    I get this error for just about everything I do with the forms we are publishing via Infopath 2007.  I believe it is because our forms have a fair amount of Promoted fields in them (more than 30 each).
    I've seen this article and think that maybe it will alleviate the problem: http://support.microsoft.com/default.aspx/kb/958139
    The problem is the hotifx that this references is not available for public download and when I try to go through the great new Microsoft Support site (piece of absolute ____) I am unable to get a phone number to call, submit an e-mail or anything without giving them a credit card for payment.  I do not intend to pay money to get the right to download or be sent a hotfix.
    Does anyone know if there is a way I can test to verify that I indeed "need" this hotfix before I spend money out of my pocket? 
    The forms I have published to form libraries in MoSS 2007 Enterprise have many promoted fields.  I can create a new content type in the site collection via Infopath if I keep the promoted fields under about 25, however once I publish it I can no longer change the content type (get the "Updating Site Content Failed" message) and have to create a new content type to make changes to any form I have.  As you can imagine this is a problem as I have to constantly change the template url on my libraries and constantly re-link all of the saved forms in the libraries.
    Does anyone have any ideas how to realistically fix this outside of the hotfix?
    I've tried every method I can find on the internet, but nothing seems to work.

    A little more information.  On the server itself I don't show any indication or problem in the Event logs related to this issue.
    However, on the workstation that I am attempting to publish from (Same subnet, local Gigabit Connection) I get 4 MSSOAP Errors:
    Event Type: Error      Event Soruce MSSOAP
    Event Category: Generic   Event ID: 16
    Description: Soap error: Connection Time out
    I get two of those and two of these:
    Event Type: Error   Event Source: MSSOAP
    Event Category: General  Event ID: 16
    Description: Unspecified HTTP error.
    I went into the sharepoint central admin and changed the timeout value (which was 30 seconds) in the infopath forms section to 120 seconds and it hasn't made any difference.
    Edit:  Yes I have tried from multiple workstations.  We don't load office on the server itself or I would try from there as well.

  • Get media content now

    Received my Lumia 920 a week ago, I have been fighting with Vodacom in South Africa for 5 days now around getting MMS working. Vodacom say its Nokia who have to provide me with the MMS settings but I cannot find any solution to getting MMS working on the Vodacom network. If I try send a MMS, I get an error saying my message cannot be sent and when I receive a message it says "Get media content now", if I click on the message, the phone reports "getting media content" it plays a sound but nothing further happens, I then receive repeated notifications saying "Get media content now" about 10 or 15 times over a period of an hour, any help would be appreciated

    Did you check the Settings>access point?  In many cases the correct settings are in the app database an will setup automatically. You might want to do a search on these forums as this has been covered many times before. If this app is missing scan the QR code below on your phone to get it.
    On the vodacom site they only offer sending a settings SMS or using USSD, both are not supported by WIndows phone (you could try the SMS option though). These setting are carrier dependent and so should be provided by the carrier.
    A quick look at settings for the Nokia C7 I found this and that should translate pretty well to settings for Lumia:
    Connection name: Vodacom
    Internet APN
    Accesspoint name: internet
    Proxy address: 169.006.128.012
    Proxy port: 8080
    Username: [blank]
    Password: [blank]
    MMS APN
    MMS Access point name: mms.vodacom.net
    Proxy address: 169.006.128.013
    Proxy port: 8080
    Username: [blank]
    Password: [blank]
    MMSC address: mmsc.vodacom4me.co.za
    They should have the settings available for manual entry just like any other carrier has. If the above does not work contact them again and demand to speak to a manger as they should have these settings and it seems you ran into a clueless agent here. As this is basically Vodafone you might try and shoot their HQ a message to complain on this.
    And lastly remember; Google is your best friend in these matters..
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..
    Attachments:
    qrcode.png ‏1 KB

  • Prevent Site Members to view Site Contents Page in SharePoint 2013

    I created SharePoint 2013 Site and it has 5 variation sub sites as well. Each site has several pages. I have end users added to Site Members group who should access all the Custom pages. Customer has raised a security issue, end users are able to access
    Site Contents page by supplying the link in the URL. I tried adding these end user to site visitors but unfortunately they are not able to access variations sub sites custom pages.
    Kindly help me how to solve this.

    Little confuse. 
    You want to stop users from viewing page or you want them to to be able to view pages
    Which pages are they able to view. 
    Just follow below steps to prevent users form accessing application pages
    http://blog.mastykarz.nl/preventing-authenticated-visitors-browsing-system-pages/
    You can even try this powershell
    param (
        $WebApplicationUrl
    $wa = Get-SPWebApplication $WebApplicationUrl
    $wa.PolicyRoles.Add("Deny System Pages",
    "", "EmptyMask", "ViewFormPages")
    $wa.Update()
    $claimType = "http://schemas.microsoft.com/sharepoint/2009/08/claims/identityprovider"
    $claimValue = "AspNetMembership"
    $claim = New-Object Microsoft.SharePoint.Administration.Claims.SPClaim($claimType,
    $claimValue, "http://www.w3.org/2001/XMLSchema#string", [Microsoft.SharePoint.Administration.Claims.SPOriginalIssuers]::GetIssuerType("SecurityTokenService"))
    $encodedClaim = $claim.ToEncodedString()
    $policies = $wa.ZonePolicies("Default")
    $policy = $policies.Add($encodedClaim
    , "Authenticated visitors")
    $policy.PolicyRoleBindings.Add($wa.PolicyRoles["ViewFormPagesLockDown"])
    $wa.Update()
    If you want restrict users to access some specific page, the you need to remove inheritance of the site 
    If this helped you resolve your issue, please mark it Answered

  • Get web Content into array

    Hello, I am trying to retrieve the content of a web site into an array so that i can compare it to itself later to see if it has changed. I am trying to make get the content into an array then get the content into a different array later and compare the two arrays to look for the change. I am having some trouble with the reading the content and putting that content into the arrays. Is a buffered reader/imputstream reader the best way to do this? Any help would be greatly appreciated :).

    Look into this code, this will store url contents into Hashtable and you can compare them by retrieving them from this Hashtable.
    import java.util.*;
    import java.io.*;
    import java.net.*;
    class ContentReader {
         private Hashtable urlContent;
         public ContentReader() {
              urlContent = new Hashtable();
         public void addContent(String url) {
              try {
                   URL res = new URL(url);
                   URLConnection uc = res.openConnection();
                   uc.connect();
                   InputStream is = uc.getInputStream();
                   DataInputStream bs = new DataInputStream(is);
                   String line="";
                   ArrayList al = new ArrayList();
                   while((line=bs.readLine()) != null) al.add(line.trim());
                   urlContent.put(url,al);
                   Object[] content = al.toArray();
                   for(int i=0;i<content.length;i++) System.out.println(content);
              } catch(Exception e) {
                   e.printStackTrace();
         public boolean compareURLs(String url1,String url2) {
              boolean ret=false;
              //You can code your comparison here.
              return ret;
         //This method is for testing the above code
         public static void main(String args[]) {
              ContentReader cr = new ContentReader();
              String url1="some_url1";
              String url2="some_url2";
              cr.addContent(url1);
              cr.addContent(url2);
              cr.compareURLs(url1,url2);
    Hope this give you an idea. Don't forget dukes if it helps you.
    Sudha

  • Retrieving iweb site content from server?

    Hi y'all.
    I was working on my iweb site and everything was going dandy. Then my comp crashed and the only way to get it too work was to re-install the entire system. Unfortunately, I didn't get around to backing up my iweb stuff but I did publish it before the crash so its on the server. Is there anyway possible to get the content back from the server to my comp? kind of like reverse-publishing (if that makes any sense) I'd rather not go back and have to do the site over from scratch if there's a way around it.
    any suggestions would be appreciated...

    It does exist on your iDisk because the site is still active and online. Have you setup iDisk syncing to your Mac creating a duplicate locally? If so is that the iDisk that you are looking at or tried to delete from?
    While in the Finder select the Go menu and go to the iDisk ➙ My iDisk... option. That will mount your iDisk where you can go to the iDisk/Web/Sites folder and look for your web site folder.
    OT

  • Under Site Contents - Where is the add a Page or Web Part Page option.

    It seems the only way to add a page to a site is to create a document library first.

    Where is the SitePages Document Library.
    Up next to SkyDrive I click Sites. I select "My Child Site" It is a brand new site. Under the Cog there is Shared With, Edit Page, Add an app, view site contents and getting started. On the left I have Home, Site contents. If I go into Site contents I have
    the option of Lists, Libraries and other Apps or the option to create a new subsite. 
    Just to be sure I clicked Create a new Subsite". Once it is up I still don't have an option to create a page. And under the Cog I have the same settings as before.
    It seems like I have to create a document library app, create a page in the library, Add the app as a web part to the home page and then have a lot of clutter from the document library app. e.g. +new document or drag files here, current view... As opposed to
    a list of links to the pages. 
    It seems like a site should also be a document library or list to begin with. 
    I could swear in 2010 when you were in a new site you could could click create a page from the home page.

  • Site Content and Structure Move

    When i am trying to use site content and structure move from one document library to another i get error . It states Attempt to move fail and 
    <error><customData>d6b2cf5f-c9ab-4769-b36e-b7408321f1a8: Only farm admin can enable or disable throttling.</customData></error>
    What can be done by farm side to make this work? 
    Thanks
    Adit

    Hi
    You might have list items more than expected.You have to disable throttling for that list or library.
    $Site = Get-SPWeb -Identity <SiteURL>
    $List = $Site.Lists[“List Name”]
    $List.EnableThrottling = $false
    $List.Update()
    Amit Kotha

  • Moving pages using Manage Site content and structure is corrupting the version history

    Hi,
    I am using share point 2010 manage site content and structure feature to move pages from one sub site to other. After doing several edits and check ins of a page and if I try to move the page using manage site content and structure , the version history
    is corrupted in the destination site (i.e., all the versions are not showing).
    Note: Sometimes content is also getting replicated after performing move operation.
    Is it a Bug/ Known issue in SharePoint?
    Any info on this issue is very helpful to us.
    Thanks in advance!!

    Hi,
    Using Site Content and Structure unable to move documents,pages and getting weird error message
    We are getting Below error:
    When Moving Document items from one site to another site in the same site collection using Site content and structure(But it's working in same site,we can move documents from one library to another library)
    1576|/wEWwwECuLLErw0Cy+nFYwK84baBAgK6zNqsAgLs0Le0BQK1s8uaCAL5qrm3CAKk7K6pDwKo9a0GArm+xr4NApKe9KUKAoajpK4CAqqU/2sChJXBtAIC052rYQKS+LTPAgLe+7uQAwLO0re/BwLgoaw2AojAlIMOApSO4JoNAuvW7MoKAojz2P4OAuOMt9EGAv/ns1wC64qI7gEC0LymmAcCro3lnQkCj7viwAsC8Met9QEC3a/DHALg4ZO6AQKAn8ebCALvr72DAwKm/NGmAgKN4aayCQLmmczsCgL+46qSAQKH7paCDgLouOHjDwKGuNCBCQKwuob2CQKP78n3BwLQ7vSYCALxlcvIBALRuajXAwK6/vr4AwKx8YasCQLti5igAQKay7JZAta625IFAuTy6rUKAvnC7eQKApvB3ugPAoTBua8BAoyajvgMAsGdloEJAvH+2KECAua7k9AGAv3Lzd8HAtPD3ocOAuX7hM4GAqO1g9sIAtn65sgFAuDkr9QEAt7I1KkMAryhltsIAtizx/kBAvzS7IcBAr+YhK4PAsO3rtADAvea+sADAsvc4IgKAp/1vIoMApelp3ICl+PqiwwC/KX1gwUC3fv58gIC7ZG/pwIC4cnupQgCq7mdlgYCjciR+AwC8/ue4gkC4YWJywUCs+rviAECpuyJigECkfr5rgkC08rHoQ0C+erayQUCjMqStQkCpIuKtwEC+dG5ngICoZ3/og0CspXoxwwC+pzgmwwCkoD5mAYCn/qH2AcC/N/pvAcCv5OtwAICuZquqgcC0/OFnwkC2/2wzQMCrJrO9woC69G52ggC64nunggCtLOIsQEC9LyC7gUC0ry/zgIC1ZDvgQ0C98OfMgL4kaj3CQKXhebCCwKi3bjPBQKYuojTCAKc4+fxCAKyjLfoBALVxO8SAsXSyuQLAqyvkNIPApDV5PgDAtufwJwEAu2BsoYLAs3Oqd8PAo6i+YMDAsy706oCAsLjx7kLApu3+9gKAuLnvMoIAtWywo8OAv6MjvIHAtSDhJwNArXRmL0LAraZvUcC5cGygQoCz5HN7A0C+YzY9AMCmtWQ6AUC/oHF8w4CxeTgmg8CgszujQECss22vgYCp6HBuggCkfm+FAKngqb5BgKkuIzAAQKPspKCCQLu+eDvCwKf5YrEBQKl0M3ACgKm85DvDALCu/nfCwLbwO38DgLoz5eyDQLfr9XLCwL20/eUDgL7hpr3DAKh1tfbCgL48OuNBwK4tuKaCALpgbn5CgLC4dKvBgKKlu76CwKfhKLJAQLurPTIAwLG0o+hAgKI5Y6dDALq+OOlCQKxjuuICAK8yrLHBwLcrOSSAwLoiJfQCwKKyvrtBALXkbCBCgKt4bG9BQLr6qnxCwLC2pz2DQKQ7OuZBALt7t+DDAKR47b8CAKi6pPGCQKLl4r3CQK5yfj+AwLgzYvjDwKUjerODQK7mOPTCQL9qP3qBgKYiOL9AgLA8pSaBwKay8fBDQLqw93DCgKkjpf/CwLsyquQCwKtpbGsDALMtKmxBwKPpvCmBOAFHtmBuG3iNmIT9fQ8Z1TWMpjZ122|cccccccccnncnnnnn|

  • Powershell script to get Site Collection. Site Owner, Title

    Hi,
    I am new to SharePoint, currently I have given one task to create the powershell script which contains the below fields from our two farms. Could you please help me out with the same.
    The script to list out below items:
    Site Collections:
    Site Collection Name:
    Site Collection Owners:
    Last Activity and the size of site collections.
    Many Thanks & Best Regards,
    Naren

    To get all Site Collections:
    If all you want is a list of all site collections in the farm, all you have to do is open a PowerShell window, load the SharePoint Snapin, if you haven't (Add-PSSnapin
    Microsoft.SharePoint.PowerShell), and type Get-SPSite.
    If you want to return the list of site collections for a specific web application, the easiest way is to just pipe it as Get-SPWebApplication
    http://intranet | Get-SPSite
    To get Site Collection Owners:
    Add-PSSnapin "Microsoft.SharePoint.Powershell" -ErrorAction SilentlyContinue
    Get-SPWebApplication "http://mySharePointSite.com"|
    Get-SPSite| foreach-object{ Write-host$_.Url - $_.Owner.Email}
    To get Size of all Site Collections:
    Get-SPSite | select url, @{label"Size in MB";Expression={$_.usage.storage/1MB}} | Sort-Object
    -Descending -Property "Size in MB" | ConvertTo-Html -title "Site Collections sort by size" | Set-Content sc.html
    Regrading the retrieving the last activity I am not sure to what exactly you are looking for but I assume you are concern about getting users last logon time and date using PowerShell.
    For this refer here: Get Users Last Logon Time and Date using PowerShell
    Please remember to upvote if it helps you or
    click 'Mark as Answer' if the reply answers your query.

Maybe you are looking for

  • Issue in New Asset Accounting

    Hi Experts, We have activated the new Asset accounting Datasource (0FI_AA_20) delivered as a part of EHP4 reporting financials. Now ee have replicated the datasource in BW and the model is activated. The model contains 2 cubes: 1 Basic(C20) and 1 Vir

  • How do I find out what year my iPad is from if the screen is broken so I can get it repaired?

    I can't see the middle of my screen where you enter the password to unlock my ipad. So I can't enter the password because it tells me to try again in 15 minutes. I need to find out the year and other details about it so I can't get it repaired. How c

  • TDS at the time of MIRO

    Dear All, I am done miro at that time my mistake i could not tag the TDS for the vendor now only i realised that i have to deduct the TDS to that vendor now the MM period is closed i cannot do the reversal and TDS i have to remittee with in 7th of ne

  • Please help!! Newbie here really need help. Numlock, divers, backup, recovery disk

    Hi everyone I finally found where to post I really wish someone could or would help me I have a lenovo g550 for about 4-5 years And I was happy with it few days go I cleaned installed windows Ii got a friend to help infests he put it on the d drive t

  • Urgent: Maintain std cost for plants under different company codes

    Hi all, Company code(s)/Plant(s): C1/P1, C2/P2, ..., CnPn BOMs and Routings are maintained under P1. I believe that unlike BOM routing can't be made available across plants. So how does one maintain std cost across plants under different company code