Skip to content

Instantly share code, notes, and snippets.

@an2io
an2io / DisablingServicesOnServer2016wDE.ps1
Created Oct 15, 2018 — forked from hpaul-osi/DisablingServicesOnServer2016wDE.ps1
Disable unnecessary services that on Windows Server 2016 Desktop Experience (based on MS Security Blog recommendations)
View DisablingServicesOnServer2016wDE.ps1
# Disable extraneous services on Server 2016 Desktop Experience
# https://blogs.technet.microsoft.com/secguide/2017/05/29/guidance-on-disabling-system-services-on-windows-server-2016-with-desktop-experience/
Configuration DisablingServicesOnServer2016wDE
{
param(
[String]$ComputerName = "localhost",
[ValidateSet('ShouldBeDisabledOnly','ShouldBeDisabledAndDefaultOnly','OKToDisable','OKToDisablePrinter','OKToDisableDC')]
[String]$Level = 'OKToDisable'
)
@an2io
an2io / testio.yaml
Last active May 26, 2018
Test EBS Volume ext4 and xfs IO performance using dd and monitor performance using iostat
View testio.yaml
# -----
# Test EBS Volume ext4 and xfs IO performance using dd and monitor performance using iostat
#
# 1) Create InstanceProfile with RoleName
# 2) Create 10GB EBS Volume
# 3) Create EC2 instance with ephemeral storage, attach EBS volume and InstanceProfile
# 4) Create partitions and filesystems.
# 5) Perform tests and generate a report
# 6) Send report to SNS topic
#