Blog
Other

Notepad++, Add Text at Start and End of Each Line, Remove Empty Lines, Replace all lines starting with …

Notepad++ is a very useful text editor for every programmer, sadly its not yet available on the Mac OSX, Add Text at Start and End of Each Line If you are in a situation where you want to put some text at the start of each line in your text, …

Read More
Active Directory

Preseed Files for DFS Replication using Robocopy

Use Robocopy to Preseed Files for DFS Replication I’ll write this here first, since it’s important: The folder in which you are robo-copying (ex c:\test) must not exist on the destination server (ex. f:\test). If you create the folder manually on the destination server, the file-hashes will not match and DFSr will …

Read More
Scripting

Powershell Alias

Familiar looking commands like Dir or Ls are in fact Powershell aliases of Get-Childitem. There are many built-in aliases in Powershell and you can even create your own, using the New-Alias  cmdlet eg.

  To get a list of aliases on your system run:

  The default Aliases …

Read More
Scripting

List Windows Server Roles and Features with PowerShell

I’m sure for anyone who administers Microsoft Windows Server the Server Manager console is an all too familiar place. It does make it easy to add/remove roles and features however PowerShell is another great option that can really speed things up at times. So – what can we do with …

Read More
Other

Windows Run Commands Reference

Handy Reference for windows Run Commands To access just Windows Key + R               This will bring up the run command window             In this we type the commands. Commands are not case sensitive. Reference    

Read More
Deployment

How MDT uses XML to install Applications

Have you ever thought about what actually happens when you import applications into your MDT environment? How does the task sequence know what application to install? How does it know what command-line arguments to specify during the application install process? Technically, as a user, all that is required of us …

Read More
Amazon Web Services

Copy All files from an S3 Bucket to your PC

This powershell script copies the contents of an S3 bucket to your pc.

  Source

Read More
Amazon Web Services

Common AWS EC2 CLI commands

The AWS GUI console is a basic way to manage AWS EC2 instances. If you are performing repetitive tasks on multiple instances then using the CLI is a better way to manage. All these commands assume you have the necessary permissions to run. This is some more common CLI examples: …

Read More
Amazon Web Services

Using multiple IAM profiles through AWS CLI

We have several different environments hosted in different Amazon accounts so need to create IAM accounts for each. So switching between different IAM accounts is very useful. The AWS CLI allows you to store different profiles. If you haven’t installed the CLI already, then follow Amazon’s guide here. Configuring Multiple …

Read More
Amazon Web Services

How to Increase the Size of an AWS EBS Cloud Volume attached to a Windows Instance

The Amazon Elastic Block Store (Amazon EBS) offers persistent storage for Amazon EC2 instances through EBS volumes. Amazon EBS provides the ability to create point-in-time consistent snapshots of the volumes, which are then stored in Amazon S3. These snapshots are also replicated across multiple Availability Zones automatically. Snapshots play an …

Read More