SharePoint powershell doubt

sns 9,236 Reputation points
2020-08-07T10:59:27.123+00:00

I would like to know how to use below highlighted one in the screenshot.
what is the purpose of it. Please explain. Thank you.
16376-capture.png

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,961 questions
{count} votes

Accepted answer
  1. ChelseaWu-MSFT 6,326 Reputation points
    2020-08-10T02:29:07.73+00:00

    The dialog returned by show-command gives you an instruction on what parameters are supported.
    The symbol "*" suggests that this parameter is demanded while getting the related results.
    Detailed information on the Get-SPSite command can be found in this document: Get-SPSite.

    Please see the sample commands and explaination below:

    1. AllSitesInWebApplication: Can be used to return sites in a provided web application
      Get-SPWebApplication " http://intranet.crescent.com" | Get-SPSite | Select URL
    2. AlllSitesInContentDB: Can be used to return sites in a provided Content Database
      Get-SPSite -ContentDatabase "WSS_CONTENT"
    3. AllSitesInIdentity: Can be used to return sites using the Identity (URL or GUID)
      Get-SPSite -Identity "https://localserver/(my|personal)/sites" -Regex
    4. AllSitesInSiteSubscription: Can be used to return sites using provided Site Subscription (URL or GUID)
      Get-SPSite -SiteSubscription <SPSiteSubscriptionPipeBind>

    16480-annotation-2020-08-10-100741.png

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Sharath Kumar Aluri 3,071 Reputation points
    2020-08-09T20:57:01.43+00:00

    Agree with Trevor, what you are trying to accomplish ?

    Thanks & Regards,

    0 comments No comments

  2. Sharath Kumar Aluri 3,071 Reputation points
    2020-08-09T20:57:01.623+00:00

    Agree with Trevor, what you are trying to accomplish ?

    Thanks & Regards,

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.