SOLUTION :
1. Get-AcctIdentityPool to get the identity pool name
2. To change the "start count" to the number you want in this example the startcount will change to X
New-AcctAdAccount -IdentityPoolName "%IdentityPoolName%" -Count 1 -StartCount X where X is the number do you need to start
Thursday, November 10, 2016
Tuesday, October 11, 2016
Citrix Certified Associate - Virtualization (CCA - V) - Managing Citrix XenDesktop 7.6 Solutions
Nueva titulación superada!
1Y0-201 - Managing Citrix XenDesktop 7.6 Solutions
Thursday, March 31, 2016
HOW TO Configure same Bookmark for all users logged in a Windows Server
I use ADM & ADMX templates for Google Chrome in my Windows.
To download ADM or ADMX templates: https://support.google.com/ chrome/a/answer/187202?hl=es
and to put BookMarks follow this guide https://www.chromium.org/ administrators/complex- policies-on-windows but this is an example from below link:
[ { "name": "ASA 5505-X", "url": "https://192.168.30.200/" },{ "name": "PALO ALTO 2050", "url": "https://192.168.30.201/" },{ "name": "Fortigate 60D", "url": "https://192.168.30.202/" },{ "name": "WLC 2500", "url": "https://192.168.42.100/" },{ "name": "MX64", "url": "http://192.168.42.220/" },{ "name": "MS220-8P", "url": "https://192.168.42.221/" },{ "name": "MR32", "url": "https://192.168.42.222/" },{ "name": "MR26", "url": "http://192.168.42.223/" },{ "name": "CISCO ISE", "url": "https://192.168.42.210/" },{ "name": "CISCO PRIME", "url": "https://192.168.42.211/" },{ "name": "OPENVAS", "url": "https://192.168.42.230/login/ login.html" }]
The next image show you how to configure Local Computer Policy with Google Chrome ADM
Here I enable Bookmark Bar
And final result
Thanks a lot !!
Thursday, November 12, 2015
HOW TO - Install Hyper-V over vmware ESXi
Yes, it's possible.
When you try to install Hyper-V role in a VM running Windows Server 2012 R2 over VMWARE you will have this error.
To solve it :
- You need to turn off your VM Windows Server 2012 R2
- Browse DataStore and download file *.vmx from your VM Windows Server 2012 R2
- Edit the file with notepad and add the next lines
hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"
vhv.enable = "TRUE"
When you try to install Hyper-V role in a VM running Windows Server 2012 R2 over VMWARE you will have this error.
To solve it :
- You need to turn off your VM Windows Server 2012 R2
- Browse DataStore and download file *.vmx from your VM Windows Server 2012 R2
- Edit the file with notepad and add the next lines
hypervisor.cpuid.v0 = "FALSE"
mce.enable = "TRUE"
vhv.enable = "TRUE"
The first line solve the previous error and all other lines, solve this error:
Now, you need to modify line guestOS = "ServerOSname" to guestOS = "winhyperv"
Once modified the file, upload it to the same MV and edit settings to change processor type:
Change to Automatic to Intel VT-x/AMD-V ...
Clic ok and run VM and try install hyper-V role.
I hope to help you.
Wednesday, August 19, 2015
How to install an HP branded Windows OS as a virtual server
Hi!
If you try to install Windows with ROK licence (Reseller Option Kit) on top of a hypervisor (Virtual scenaario), after loading, the installatios shows you this error:
If you try to install Windows with ROK licence (Reseller Option Kit) on top of a hypervisor (Virtual scenaario), after loading, the installatios shows you this error:
This error is because Windows Server does not recognize the "hardware" as a Proliant server.
To solve this problem:
VMWARE
After creating a VM, with the VM powered off, go to Edit Settings / Options / General and select "Configuration Parameters".
Add a new row with this name smbios.reflecthost and with this value TRUE and try again . ;)
HYPER-V
The trick for Hyper-V environments is the addition of a registry key to the VM.
– Execute the following command from the command prompt if the guest operating system is HP-branded Windows Server® 2008 R2: Reg Add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization” /v BiosLockString /t REG_SZ /d “Hewlett-Packard ”
NOTE: In the following command line after the word “Hewlett-Packard” there are 17 blank spaces before the quotation mark that must be entered as part of the command.
– Execute the following command from the command prompt if the guest operating system is HP-branded Windows Server 2012: Reg Add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization” /v BiosLockString /t REG_SZ /d “HP ”
NOTE: In the following command line after the word “HP” there are 30 blank spaces before the quotation mark that must be entered as part of the command.
NOTE: In the following command line after the word “HP” there are 30 blank spaces before the quotation mark that must be entered as part of the command.
Friday, August 14, 2015
How to Solve - [Cont] is not configured for secure management with TLS - NetApp
Hi,
Here the commands to obviate this message when you login to Controller on NetApp OnCommand System Manager:
options tls.enable on
options httpd.admin.ssl.enable on
options ftpd.implicit.enable on
options ftpd.explicit.enable on
options ldap.ssl.enable on
If first command returns you this message: 'Could not set option for https/ftps traffic. Try again' Run this command secureadmin setup -f ssl, you can press ENTER all the questions. Finally run options tls.enable on again.
See you later!
Here the commands to obviate this message when you login to Controller on NetApp OnCommand System Manager:
options tls.enable on
options httpd.admin.ssl.enable on
options ftpd.implicit.enable on
options ftpd.explicit.enable on
options ldap.ssl.enable on
If first command returns you this message: 'Could not set option for https/ftps traffic. Try again' Run this command secureadmin setup -f ssl, you can press ENTER all the questions. Finally run options tls.enable on again.
See you later!
Thursday, August 6, 2015
HOW TO – Exportar en txt ficheros superiores a 20MB
Muchas veces nos quedamos sin espacio en los servidores de
ficheros y con el comando FORFILES podemos realizar búsquedas como por ejemplo:
listar ficheros superiores a 20 MB (el ejemplo está al final).
FORFILES [/P
nombre de ruta] [/M máscara de búsqueda] [/S]
[/C comando] [/D [+ | -] {dd/MM/yyyy |
dd}]
Descripción:
Selecciona un archivo (o conjunto de
archivos) y ejecuta un comando en ese archivo. Esto es útil para trabajos por
lotes.
Lista de
parámetros:
/P
nombre de ruta: Indica la ruta de acceso para iniciar la
búsqueda. La carpeta
predeterminada es el
directorio de trabajo
actual (.).
/M
máscara de búsqueda Busca
archivos de acuerdo con una máscara de
búsqueda. La máscara de búsqueda
predeterminada es '*'.
/S Indica a forfiles que realice
recursividad en
subdirectorios. Como
"DIR /S".
/C
comando Indica el comando
que se va a ejecutar para
cada archivo. Las
cadenas de comandos deben
estar entre comillas
dobles.
El comando
predeterminado es "cmd /c eco
@file". Se pueden
usar las siguientes
variables en la cadena
de comandos:
@file - devuelve el nombre del archivo.
@fname - devuelve el nombre de archivo sin
extensión.
@ext - devuelve sólo la extensión del
archivo.
@path - devuelve la ruta de acceso completa
del archivo.
@relpath - devuelve la
ruta de acceso relativa
del archivo.
@isdir - devuelve "TRUE" si un tipo de
archivo es
un directorio y "FALSE"
para
archivos.
@fsize - devuelve el tamaño del archivo en
bytes.
@fdate - devuelve la última fecha de
modificación
del archivo.
@ftime - devuelve la última hora de
modificación del
archivo.
Para incluir caracteres
especiales en la línea
de comandos, use el
código hexadecimal del
carácter en formato
0xHH (ejemplo, 0x09 para
tabulador). Interno
comandos CMD.exe deben
estar precedidos por
"cmd /c".
/D
fecha Selecciona archivos
con última fecha de
modificación posterior
o igual a (+), o
anterior o igual a (-),
la fecha especificada
usando el formato
"dd/MM/yyyy"; o selecciona
archivos con última
fecha de modificación
posterior o igual a (+)
la fecha actual más
"dd" días, o
anterior o igual a (-) la fecha
actual menos
"dd" días. Un número de días "dd"
puede ser cualquier
número del intervalo
0-32768. "+"
se toma como signo predeterminado
si no se especifica.
/? Muestra este mensaje de
ayuda.
Ejemplos:
FORFILES /?
FORFILES
FORFILES /P
C:\WINDOWS /S /M DNS*.*
FORFILES /S
/M *.txt /C "cmd /c type @file | more"
FORFILES /P
C:\ /S /M *.bat
FORFILES /D
-30 /M *.exe
/C "cmd /c echo @path 0x09 se
cambió hace 30 días"
FORFILES /D 01/01/2001
/C "cmd /c echo @fname es
nuevo desde el 1 de enero de 2001"
FORFILES /D +6/8/2015 /C "cmd /c echo
@fname es nuevo hoy"
FORFILES
/M *.exe /D +1
FORFILES /S
/M *.doc /C "cmd /c echo @fsize"
FORFILES /M
*.txt /C "cmd /c if @isdir==FALSE notepad.exe @file"
Para nuestro caso, hemos utilizado los siguientes parámetros:
SET HOST=%COMPUTERNAME%
FORFILES /P E: /S /M *.* /C "cmd /c if @fsize gtr
20971520 echo @fsize @path" >>C:\list\%HOST%.txt
Espero os ayude.
Subscribe to:
Posts (Atom)