segunda-feira, 14 de setembro de 2020

ZENworks Backup Error

 Problem

The error below appears when trying to back up ZENworks. 

# zman zenserver-backup /root/zone_backup.bak 

“Failed to back up the configuration files. Ensure that you have the necessary permission to the folders under /etc/opt/novell/zenworks directory on Linux.

 ERROR: 11”

 Solution

1) Go to the "/vastorage/etc/opt/novell/zenworks/preboot" folder.

2) Remove the links “novell-proxydhcp.conf” and “novell-tftp.conf”.

unlink novell-proxydhcp.conf

unlink novell-tftp.conf

3) Backup.

zman zenserver-backup /root/zone_backup.bak

4) Recreate the links.

ln -s /etc/opt/novell/novell-proxydhcp.conf

ln -s /etc/opt/novell/novell-tftp.conf





terça-feira, 21 de julho de 2020

terça-feira, 7 de abril de 2020

Comando MSIEXEC


Comando MSIEXEC


Exemplos

msiexec.exe /i netfx.msi

start /wait msiexec.exe /i netfx.msi


Opções de Instalação
  • /i

Opções de Exibição
  • /quiet - não mostra janela.
  • /passive
  • /qn - não mostra janela.
  • /qb
    • /qb-
    • /qb+ - mostra mensagem ao concluir a instalação.
    • /qb! - não mostra o botão cancelar.
  • /qr
  • /qf
Exemplo /passive










Exemplo /qb










Exemplo /qr


















Opções de Reinicialização
  • /norestart
  • /promptrestart
  • /forcerestart

Opções de Log

  • msiexec.exe /i example.msi /qb /l*v "c:\log\example.log"


terça-feira, 31 de março de 2020

Tail usando o PowerShell


Get-Content -Path 'C:\arquivo.log' -Tail 10

Get-Content -Path 'C:\arquivo.log' -Tail 10 -Wait

segunda-feira, 16 de março de 2020