FREE Microsoft eBook !

July 27, 2017

FREE Microsoft eBook   Largest FREE Microsoft eBook Giveaway! MILLIONS of FREE Microsoft eBooks again, including: Windows 10, Office 365, Office 2016, Power BI, Azure, Windows 8.1, Office 2013, SharePoint 2016, SharePoint 2013, Dynamics CRM, PowerShell, Exchange Server, System Center, Cloud, SQL Server and more! Source  
no comments

Installing Windows Server Backup on Windows Server 2012 R2

Installing Windows Server Backup on Windows Server 2012 R2     Windows Server Backup is not installed by default. You can use the Add Features Wizard in Server Manager to install it. After you use install Windows Server Backup, you can click Windows Server Backup on the Administrative Tools menu to manage backup operations, and you can use Wbadmin.exe to run backup commands from the command line. You must also install the Windows PowerShell feature on the same computer to run Windows Server Backup command-line tools. If the Windows PowerShell feature is not installed when you select Command-line Tools during Windows Server Backup installation, you are prompted to install...
no comments

Installing IIS 8.5 on Windows Server 2012 R2

July 26, 2017

Installing IIS 8.5 on Windows Server 2012 R2 by IIS Team Introduction This document describes how to install Internet Information Services (IIS) 8.5 on Windows Server® 2012 R2. IIS is the Web server role in Windows Server 2012 R2. The Windows Server 2012 R2 operating system has all the IIS features needed to support the hosting of Web content in production environments. Windows 8 also includes IIS features, but feature availability depends on the operating system version. Note: You can use the procedures in this document to install IIS 8.0 or IIS 8.5. The Web server has a modular design that enables you to...
tags:
no comments

Bash: autocomplete doesn’t work properly – FIX

July 24, 2017

Bash: Autocomplete doesn't work properly   bash completion extends bash's standard completion behavior to achieve complex command lines with just a few keystrokes. This project was conceived to produce programmable completion routines for the most common Linux/UNIX commands, reducing the amount of typing sysadmins and programmers need to do on a daily basis.   Installation Step 1: Install bash-completion $ sudo apt-get install bash-completion And some times it works if we re-installed it by the follwing command: $ sudo apt-get install --reinstall bash-completion Step 2: Enable bash-completion in your .bashrc file Open your gedit ~/.bashrc and if these content doesn't exist there, add them at the end of it and save it. # enable bash completion...
tags: ,
no comments

PowerCLI: Export VM Guest Logs files to Local Computer

Last week I needed to export vmware.log files. In the normal way you can read using putty client or download log using Datastore Browser. But you also can download logs using PowerCLI. to do it, we using cmdlet Copy-DatastoreItem  cmdlet Syntax: Copy-DatastoreItem <Object> <Object>]   To find the location of a virtual machine run this script: get-vm MyVirtualMachine| Get-Datastore |Select name   Connect to Datastore using New-PSDrive cmdlet and change location to VM folder using Set-Location cmdlet. New-PSDrive -Location $datastore -Name ds -PSProvider VimDatastore -Root "\" Set-Location ds:\ cd $vm To display list log files, simple run ls *.log       At this point we can begin copy files from Datastore to local computer: Copy-DatastoreItem -Item *.log -Destination...
no comments

SCRIPT: Upgrade Zabbix_Agent 2.x to 3.x

July 18, 2016

Upgrading Zabbix_Agent 2.x to 3.x via batch script This topic will show one method to upgrade Zabbix agent version 2.x to 3.x #1 Check if last version installed. Zabbix agent version 3.0.0.58455, file size is 433,644 bytes. So in this case, we check if current file size  Equal to 433,644 bytes,  If do - nothing to do. c: cd\ cd "Program Files\Zabbix Agent" dir | find "433,664 zabbix_agentd.exe" IF %errorlevel% ==0 GOTO END #2 Remove old ZabbixAgent version 2.x Remove old version in three stages: stop Zabbix agent service delete relevant files delete old files zabbix_agentd.exe -x zabbix_agentd.exe -d del *.* /Q #3 Copy ZabbixAgent version 3.x Copy relevant files: zabbix_agentd.exe zabbix_agentd.win.conf   A predefined file that include:   Server=My.Zabbix.Server ServerActive=My.Active.Zabbix.Server LogFile=c:\Program Files\Zabbix Agent\zabbix_agentd.log LogFileSize=10 DebugLevel=3 HostMetadata=Windows #4 Append Computer...
tags:
no comments