Tech Blog – Scripts

Contents:
# SQL Server
# PowerShell
# Linux
# AWS CLI
# Redshift


SQL Server


PowerShell

Operational
# Count Rows within a .CSV File.
# Check a Port is Open.
# Disk Management.
# Set IP Address.
# Create Windows Firewall Rule.
# Map Network Drive.
# Compress & Password Protect Files.
# Send an Email.


Linux

# General Info.
# Hardware Info.
# Performance Info.
# User & Group Management.
# Directories & File Manipulation.


AWS CLI

# List Security Groups
# List S3 Buckets
# List Cloudformation Stacks
# List IAM Users
#
# List Glue Jobs
# Delete EBS Snapshots by Date
# Copy a Local Folder to S3
# Copy a File to and from S3
# Copy a S3 Bucket to Another Region
# Delete S3 Files, Folders & Buckets
# List Sizes of all S3 Buckets
# List IAM Users & Roles by ARN


RedShift

# Show all Tables, Views & External Tables
# Show Users & Groups
# Show Running Queries
# Show Queued Queries
# Show Top Tables by Size
# Show Table Diagnostic Info
# Show Objects Owned by Users
# Show Definition of Views & Materalized Views
# Copy Command
# IAM Role Table Permissions