Listar content
databases y su tamaño (en MB), ordenadas por tamaño
Get-SPDatabase | Sort-Object disksizerequired -desc | Format-Table Name, @{Label ="Size in MB"; Expression = {$_.disksizerequired/1024/1024}}
Get-SPDatabase | Sort-Object disksizerequired -desc | Format-Table Name, @{Label ="Size in MB"; Expression = {$_.disksizerequired/1024/1024}}
Listar site
collections y sus tamaños
Get-SPSite | select url, @{label="Size in MB";Expression={$_.usage.storage/1MB}} | Sort-Object -Descending -Property "Size in MB" | Format-Table –AutoSize
Get-SPSite | select url, @{label="Size in MB";Expression={$_.usage.storage/1MB}} | Sort-Object -Descending -Property "Size in MB" | Format-Table –AutoSize
Listar site
collections por content database
Get-SPContentDatabase | %{Write-Output "- $($_.Name)”; foreach($site in $_.sites){write-Output $site.url}}
Get-SPContentDatabase | %{Write-Output "- $($_.Name)”; foreach($site in $_.sites){write-Output $site.url}}
Listar
solutions deployadas en una webapplication
específica
Get-SPSolution | ForEach-Object {if ($_.LastOperationDetails.IndexOf("http://webapp") -gt 0) {$_.DisPlayName}}
Get-SPSolution | ForEach-Object {if ($_.LastOperationDetails.IndexOf("http://webapp") -gt 0) {$_.DisPlayName}}
Listar features activadas a nivel site collection
Get-SPFeature -Site http://sitecollectionurl | Sort DisplayName | FT DisplayName,Id
Listar
features activadas a nivel web
Get-SPSite http://sitecollectionurl | Get-SPWeb -Limit ALL | %{ Get-SPFeature -Web $_ } | Sort DisplayName -Unique | FT DisplayName,Id
Get-SPSite http://sitecollectionurl | Get-SPWeb -Limit ALL | %{ Get-SPFeature -Web $_ } | Sort DisplayName -Unique | FT DisplayName,Id
Gracias Emma, me fue muy util la informacion.
ResponderEliminarDe nada Adri, si necesitas algo avisa y lo buscamos. Saludos.
ResponderEliminar