Add user with commandline
Add usernet user test test123 /add
Add user to group administratorsnet localgroup administrators test /add
Delete usernet user test /del
Enable usernet user test /active:no
net user test /active:yes
...
Add user with commandline
Add usernet user test test123 /add
Add user to group administratorsnet localgroup administrators test /add
Delete usernet user test /del
Disable usernet user test /active:no
Enable usernet user test ...
Achtergrond wijzigen van de Microsoft Deployment Workbench
Controleer eerst waar de orginele file staat,De locatie bij een standaard installatie is C:\Program Files\Microsoft Deployment Toolkit\SamplesHier staat een BMP file met de naam Background.bmpMaak ...
After update Warning message like below
Edit the .htaccess file in the root of the GLPI installation and the the lines below.# Special lines for PHP cookie sessionsphp_value session.cookie_secure 1php_value ...
Archive a file
# Create-NewFileAfterArchive.ps1
# Full path of the file$file = 'c:\temp\important_file.txt'
#Full path to the archiving folder$archiveFolder = "c:\temp\archive_$(get-date -Format 'dd-MMM-yyyy_hh-mm-ss-tt')\"
# If the file exists, move it to ...
Add content to a file
# Update-FileContents.ps1
#Full path of the file$file = 'c:\temp\important_file.txt'
# If the file exists, append a new GUID value in the file.if ([System.IO.File]::Exists($file)) {try {$newValue = ((New-Guid).Guid)Add-Content ...
Add Private key to Ubuntu server
Generate key with putty key generatorSave the private keySaving with or whitout Key passphrasecopy the public key from the screenMake sure there is a .ssh ...