Ir al contenido principal

Entradas

Mostrando las entradas etiquetadas como SharePoint 2013

PowerShell - SharePoint - How to get SPO site created date

You can get SPO site collection date by using below PowerShell script Get-SPSite -Limit All | % { $root = $_ . rootweb; $date = $root . created . toShortDateString();   Write-Host " $( $root . url) was created on $( $date ) " }    Fuente: https://www.c-sharpcorner.com/forums/how-to-get-spo-site-created-date 

PowerShell - SPOnPremise - Calculate and Set Distributed Cache Size

#calculation from:  http://technet.microsoft.com/en-us/library/jj219613.aspx $membanks = get-wmiobject Win32_PhysicalMemory $sum = 0 $i = 1 foreach ( $membank in $membanks ) {   write-host "Capacity Memory $i = " ( $membank . capacity / 1024 / 1024 )   $sum = ( $membank . capacity / 1024 / 1024 ) + $sum   $i = $i + 1 } write-host "Sum of Memory = " $sum $cachesize = ( $sum - 2048 ) / 2 if ( $cachesize > 16384 )   {   $cachesize = 16384 #not more than 16GB   } write-host "Distributed Cachesize will be updated to: " $cachesize #Update-SPDistributedCacheSize -CacheSizeInMB $cachesize Fuente: https://blogs.technet.microsoft.com/sp/?p=213 

PowerShell - Get Database Size for all SharePoint DBs via PowerShell

Get Database Size for all SharePoint DBs via PowerShell Add-PSSnapin microsoft.sharepoint.powershell $size = 0 foreach ( $db in Get-SPContentDatabase ) {     $size = $size + $db . DiskSizeRequired } $cdbs = "{0:N2}" -f ( $size / 1gb ) $ssa = Get-SPEnterpriseSearchServiceApplication $topo = $ssa | Get-SPEnterpriseSearchTopology   -Active $indexcomponent = ( Get-SPEnterpriseSearchComponent -SearchTopology $topo | ? { $_ . name -like "*index*" }) [ 0 ] $folder = $indexcomponent . RootDirectory $indexsize = "{0:N2}" -f (( Get-ChildItem $folder -Recurse | Measure-Object -sum   Length ) . sum / 1GB ) $dbs = Get-SPDatabase cls write-host "--------------------------------------------------------------------------------------" -fore green Get-Date write-host "" write-host "--------------------------------------------------------------------------------...

[IIS] Delete IIS Logs Using Task Scheduler

Deletes IIS log files that are more than "n" days old with Task Scheduler - Without VB and PS Scripts.Run Task Scheduler using the Windows interface Click the Start button. Click Control Panel . Click System and Maintenance . Click Administrative Tools . Double-click Task Sche Deletes IIS log files that are more than  n  days old with Task Scheduler - Without VB and PS Scripts. Run Task Scheduler using the Windows interface Click the  Start  button. Click  Control Panel  . Click  System and Maintenance  . Click  Administrative Tools  . Double-click  Task Scheduler  . To Run Task Scheduler from the Command Line Open a command prompt. To open a command prompt, click  Start  , click  All Programs  , click  Accessories  , and then click  Command Prompt  . At the command prompt, type  Taskschd.msc  . Create new Task and specify"Start a program" in Actions ...

WSP no se implementa en todos los servidores de una granja de SharePoint 2013

Se tienen 2 servidores (servidor1, servidor2) en nuestra granja. El archivo WSP se implementa solo en 'Server2' y el estado se muestra como 'No implementado'.  El servicio de aplicación web de SharePoint, temporizador y el servicio de administración de SharePoint funciona bien.  La Administración Central se ejecuta  en el 'Servidor1' donde nuestra solución no se implementa.  Los siguientes fueron los pasos ejecutados:  Administrador central habilitado en ambos servidores.  Servicio de temporizador y servicio de administración SP se reiniciaron.   Se borró la memoria caché de SharePoint y se reiniciaron las máquinas.  Traté de usar "Install-SPSolution" con el parámetro '-local' en el servidor emitido (Server1). Esta solución de tiempo se implementó solo en Server1 y el estado se muestra como Implementado.  Cuando elimino el parámetro '-local' y hago "Install-SPSOlution", nuevamente se implementa e...

SharePoint 2013 Prerequisites fails with MSI Installer error code 1603 while installing AppFabric 1.1

Fuente : https://blogs.technet.microsoft.com/praveenh/2013/02/21/sharepoint-2013-prerequisites-fails-with-msi-installer-error-code-1603-while-installing-appfabric-1-1/  Al instalar requisitos previos de SharePoint 2013 en Windows Server 2008 R2, Windows Server 2012 el instalador de requisitos previos falla con el siguiente error La instalación de Appfabric falló porque el instalador MSI retornó con el código de error: 1603 Este es un mensaje de error MSI genérico y no proporciona ninguna indicación sobre cómo solucionar el problema.  Desinstalar o reinstalar solo lo empeora. El problema puede deberse a lo siguiente: La ruta al ejecutable de PowerShell que se necesita para la instalación de AppFabric es incorrecta. En algunos casos, la desinstalación repetida y la reinstalación no solucionan el problema.  Esto se debe a que el instalador no elimina la entrada  PSModulePath  en  Variables de entorno  durante la desinstalación y la ins...