Skip to content

Instantly share code, notes, and snippets.

@NARKOZ
NARKOZ / db_backup.sh
Created October 23, 2010 18:15
MySQL backup shell script
#!/bin/bash
# Shell script to backup MySQL database
# Set these variables
MyUSER="" # DB_USERNAME
MyPASS="" # DB_PASSWORD
MyHOST="" # DB_HOSTNAME
# Backup Dest directory
DEST="" # /home/username/backups/DB
@davfre
davfre / IBM Tivoli 6.4.0 Installation on Ubuntu 12.10.md
Last active August 29, 2022 18:42
Installation procedure for the IBM Tivoli 6.4.0 client for Ubuntu 12.10.

The procedure below documents how to install the IBM Tivoli client on the Ubuntu linux distribution. The steps involve unpacking the distributed RPMs, removing and renaming a few files in the resulting folders, and editing and adding a few configuration text files, followed by packaging .deb files for installation.

Adapted from http://adsm.org/forum/showthread.php?21143-How-To-Install-TSM-Client-552-on-Ubuntu-10.04-amd64

Current versions: IBM Tivoli 6.4.0 Ubuntu 12.10

#requires -Version 3.0
<#
.SYNOPSIS
My Veeam Report is a flexible reporting script for Veeam Backup and
Replication.
.DESCRIPTION
My Veeam Report is a flexible reporting script for Veeam Backup and
Replication. This report can be customized to report on Backup, Replication,
@billpieper
billpieper / Install-Updates.ps1
Last active November 18, 2024 22:14
PowerShell script that will download and install all Microsoft (Windows) Updates on Windows 10 / Windows Server 2016
###############################################################################
###############################################################################
##### PowerShell Windows Update Script.
##### Leverages Microsoft Update provider to install all missing updates
###############################################################################
###############################################################################
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
Install-PackageProvider -Name NuGet -Force
Import-PackageProvider -Name NuGet
@pishangujeniya
pishangujeniya / Remote-IIS-Management.md
Created May 23, 2019 13:35
How to connect and manage remote IIS Web Server from another machine without using RDP Remote Desktop Connection

Remotely connect to IIS Web Server.

Whenever you want to perform any tasks related to IIS on server you might be starting mstsc aka Remote Desktop Connection RDP for those tasks, but using the facility of remotely managing IIS from client IIS, no need of RDP now and then.

Follow the simple steps on IIS Server and client IIS machine.

Process on Server IIS

  • Run the following commands in powershell on the remote IIS Server
  • Install-WindowsFeature Web-Server