This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\\Create an AWS IAM User Account | |
aws iam create-user --user-name Robert | |
\\Generates an Access & Secret Access Key for User Account | |
aws iam create-access-key --user-name Robert | |
\\Creates an IAM Security Group | |
aws iam create-group --group-name Administrators | |
\\Adds User account to IAM Group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stop the Windows Update service | |
Stop-Service -Name wuauserv | |
# Remove the registry key | |
Remove-Item HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate -Recurse | |
# Start the Windows Update service | |
Start-Service -name wuauserv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Dim objFileSystemObject, objParentFolder, objChildFolder, objFile | |
'Create an instance of the file System Object | |
Set objFileSystemObject = CreateObject("Scripting.FileSystemObject") | |
'Create Monthly report folder (Parent Folder) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Dim objDomain,objStudentOu,objCreativeMOU,objGamesOU,objMusicOU,objComputingOU | |
dim strStudents,strCreativeM,strMusic,strComputing,strGames | |
strStudents = "ou=Students" | |
strComputing = "ou=Computing" | |
strMusic = "ou=Music" | |
strGames = "ou=Games" | |
strCreativeM = "ou=CreativeMedia" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\\Creating an S3 Bucket | |
aws s3 mb s3://thisismybucket | |
\\Removing an S3 Bucket | |
aws s3 rb s3://thisismybucket | |
\\Removing an S3 Bucket containing files | |
aws s3 rb s3://thisismybucket --force | |
\\Copying a local file to an S3 Bucket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Gets List of Commands Containing "DNS" | |
Get-Command -Verb Get -Noun *DNS* | |
CommandType Name Version Source | |
----------- ---- ------- ------ | |
Alias Get-DnsServerRRL 2.0.0.0 DnsServer | |
Function Get-DAClientDnsConfiguration 3.0.0.0 RemoteAccess | |
Function Get-DhcpServerDnsCredential 2.0.0.0 DhcpServer | |
Function Get-DhcpServerv4DnsSetting 2.0.0.0 DhcpServer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create Folder where transcript files will be saved, | |
md C:\Transcripts | |
#This captures all of the console data and outputs it to a transcript file. | |
Start-Transcript -path .\Transcripts\Mytranscript.txt -append | |
# All Data inbetween these commands will be written to the trascript file. | |
#Stops recording Transcript input. |
OlderNewer