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.
Categoría: PowerShell
Cambiar el Logo de SharePoint de todos los Sites
Podemos cambiar el típico logo azul de SharePoint (situado arriba a la izquierda) de todos nuestros sites con el siguiente comando a través de Power Shell: (get-spsite http://mySite.com.AllWeb)s | foreach { $_.SiteLogoUrl = "/_layouts/15/images/NewLogo.jpg"; $_.Update()}
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
Mount VHD from Command Prompt
Mount VHD: DISKPART SELECT VDISK FILE="D:MyVHDDisk.vhd" ATTACH VDISK Dismount VHD: DETACH VDISK
SharePoint 2013: Error occurred in deployment step ‘Add Solution’: An object in the SharePoint administrative framework, «SPSolutionLanguagePack
Error Error occurred in deployment step 'Add Solution': An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=XXXXXXXXXX.wsp", depends on other objects which do not exist. Ensure that all of the objects dependencies are created and retry this operation. Solution 1. Go to Services and Stop SharePoint Timer Service 2. Open C:ProgramDataMicrosoftSharePointConfig(GUID folder). 3. …
SharePoint 2013: Configure Search Application Topology
You can configure your Search Application Topology through your servers and manage all its parts separately, or (like in my case) you only need to configure it all in one server. Using PowerShell I've only need to run this following commands:1. Get the Search Service Instance of my server into a variable (The second command …
Sigue leyendo SharePoint 2013: Configure Search Application Topology
SharePoint 2013: Stop Crawls using PowerShell
Run this Script in PowerShell to stop all your Crawls: Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object {$_.StopCrawl()} You could also start full Crawls on every Content Source changing the StopCrawl command like this: Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service Application" | ForEach-Object {$_.StartFullCrawl()}