1. Abrir SharePoint Management Shell 2. Ejecutar: Get-SPFeature -Limit ALL | Where-Object {$_.DisplayName -like "*FEATURE_NAME*"} 3. Copiamos el ID de la Feature que queremos activar. 4. Ejecutar: Enable-SPFeature -Identity "ID_FEATURE_COPIED" -URL http://SITE_TO_DEPLOY -Force
Etiqueta: enable
Activar/Desactivar HyperV
Podemos activar y desactivar HyperV (si por ejemplo queremos ejecutar VMs de VirtualBox y no nos deja porque tenemos HyperV) con estos comandos desde la Command Prompt: Desactivar bcdedit /set hypervisorlaunchtype off Activar bcdedit /set hypervisorlaunchtype auto Deberemos reiniciar la máquina para aplicar el cambio correctamente.
Stop-Start SharePoint Services On Server using Management Shell and their Names
We can start and stop SharePoint server services using SharePoint Management Shell and this Scripts: get-spserviceinstance | ? {$_.Typename -eq "YOURSERVICENAME"} | Stop-SPServiceInstance get-spserviceinstance | ? {$_.Typename -eq "YOURSERVICENAME"} | Start-SPServiceInstance We don't have to know the service GUID, we only need its name. For example: get-spserviceinstance | ? {$_.Typename -eq "User Profile Service"} | Stop-SPServiceInstance …
Sigue leyendo Stop-Start SharePoint Services On Server using Management Shell and their Names
How To: Activate ASP.NET Session (HttpContext.Current.Session is null)
Follow this steps to activate the ASP.NET Session in your Server: 1. Open the SharePoint Management Shell. 2. Execute the following command: Enable-SPSessionStateService –DefaultProvision 3. You've to change the parameter "enableSessionState" to true on each web application you have: pages enableSessionState="true" enableViewState=.....