August 10, 2017
PowerShell Module Browser
Microsoft is announcing the release of the PowerShell Module Browser, an easy, predictable way to search all Microsoft PowerShell modules and cmdlets.
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!
Zabbix Template for TSM Client Scheduler Service
Read more at https://share.zabbix.com/cat-app/backup/tsm
Zabbix Template for TSM Journal Service
Read more at https://share.zabbix.com/cat-app/backup/tsm-journal-service
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...
July 26, 2017
Installing IIS 8.5 on Windows Server 2012 R2
by IIS Team
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...
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.
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...
March 14, 2017
Only 2 lines you need to enter in your script to secure password;
$password = read-Host -Prompt 'Enter password' -AsSecureString
$password = ::PtrToStringAuto(::SecureStringToBSTR($password))
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
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 "\"
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...
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 126.96.36.199455, 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.
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
del *.* /Q
#3 Copy ZabbixAgent version 3.x
Copy relevant files:
A predefined file that include:
LogFile=c:\Program Files\Zabbix Agent\zabbix_agentd.log
#4 Append Computer...