March 13, 2018
Prank your friends and colleagues!
Fake Update Script
This script open Internet Explorer in screen and display a fake windows update/fake install a new system.
Save as FakeUpd.bat
mode con: cols=50 lines=20
title Fake Update by Haim Cohen
ECHO( Fake Update Script
ECHO( Prank your friends and collagues !
ECHO( Yeah I know, I'm evil
Echo( ______________________________________Ver 1.1
ECHO 1. Windows update Win 98
ECHO 2. Windows update Win XP
ECHO 3. Windows update Win Vista
ECHO 4. Windows update Win 7
Echo 5. Windows update Win 8
Echo 6. Apple update
Echo 7. Install Windows 10
Echo 8. Install Linux Ubuntu 12
Echo 9. Ransomware (Static)
Echo 10. Ransomware (Dynamic)
Echo 11. Petya
Echo X. Exit
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...