Count the number of MySites
If you want to get the number of MySites just drop the following cmdlet ind your PowerShell console:
(get-spsite -webapplication https://my.contoso.com -limit all).count
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
If you want to get the number of MySites just drop the following cmdlet ind your PowerShell console:
(get-spsite -webapplication https://my.contoso.com -limit all).count