Question: You want to use powershell to retrieve a list of users that are members of the Viewers group in a SharePoint site. Which command do you use?

  1. `Get -SPUserSettingsProviderManager -Web 'https://sharepoint.contoso.com' -Group 'Viewers'`
  2. `Get -SPUser 'https://sharepoint.contoso.com' -Group 'Viewers'`
  3. `Get -SPUserSettingsProvider -Web 'https://sharepoint.contoso.com' -Group 'Viewers'`
  4. `Get -SPUser -Web 'https://sharepoint.contoso.com' -Group 'Viewers'`

Answer: The correct answer of the above question is Option D:`Get -SPUser -Web 'https://sharepoint.contoso.com' -Group 'Viewers'`