Tag: shell

1. Abrir SharePoint Management Shell. 2. Crear el Pool: $AppPool = New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account DOMAINuser 3. Crear la App: $App = New-SPSubscriptionSettingsServiceApplication -ApplicationPool $appPool -Name SettingsServiceApp -DatabaseName SettingsServiceDB 4. […]
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" […]
1. Abrimos la SharePoint Management Shell. 2. Ejecutamos el comando que nos obtiene la app, ya sea por nombre o por identificador: $app = Get-WmiObject -Class Win32_Product -Filter "Name='MY APP NAME'" […]
Para cambiar la MasterPage de SharePoint por PowerShell tan solo debemos abrir la consola de SharePoint (SharePoint Management Shell) como administradores y ejecutar: $web = Get-SPWeb http://MY_SITE.com $web.CustomMasterUrl = "/_catalogs/masterpage/MY_MASTER.master" […]
En ocasiones podemos encontrarnos con situaciones en las que no se nos actualizan las DLL de la GAC y no podemos borrarlas. Nuestro primer intento sería utilizar el comando GACUTIL: http://idttechblog.wordpress.com/2014/09/25/borrar-dll-de-la-gac/ […]
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 […]
Para crear un punto de acceso Wifi en nuestro PC y poder conectarnos desde el móvil, tablet, etc. debemos abrir la ventana de comandos (Command Prompt) como administrador y seguimos […]
Mount VHD: DISKPART SELECT VDISK FILE="D:MyVHDDisk.vhd" ATTACH VDISK Dismount VHD: DETACH VDISK
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 […]