martes, 11 de junio de 2019

LINUX. Update - upgrade System

1. Privilege escalation or elevation

su - root  

or put sudo after commnands like 

sudo apt-get update

2. Execute updates:
apt-get update


3. Upgrade packatges

apt-get upgrade -y 



4. Upgrade distribution
apt-get dist-upgrade -y


5. If you need restart the system

reboot



Check Check Debian 9 / Ubuntu 18.04.02
by GoN | Published: Juny 11 2019 | Last Updated:

lunes, 8 de abril de 2019

domingo, 10 de marzo de 2019

WINDOWS. PS. DFS commands for share folders

Purpose

To know some power Shell DFS commands
and examples.

Steps

Command:

 $selected_dfs = Read-Host 'Write DFS Resource (EX: "\\domain.local\RECURSOS\IT" or "\\domain.local\RECURSOS\*") :'

Get-DfsnFolder $selected_dfs



Other example: "Get-DfsnFolder -Path "\\Contoso\AccountingResources\*""

Command:

Get-DfsnFolderTarget \\dominio.local\RECURSOS\it



Command:

Get-DfsnRoot



Command:

Get-DfsnFolder -path \\dominio.local\recursos\*  | Select-Object -Property path, description




Command:

dfsutil /root:\\dominio.local\recursos /View









Check Windows 2012R2
by GoN | Published: March 10 2019 | Last Updated: