Posts

How to find Windows License information after the installation

Image
 Hi, Requirement : We need to set up or move existing windows to server or OS to a newer environment, but at that moment we find that we do not have the Windows Genuine Keys. Login to the PC which keys need to be found Create a new notepad and paste following code block; function Get-WindowsKey {     ## function to retrieve the Windows Product Key from any PC     ## by Nedim Mehic     param ($targets = ".")     $hklm = 2147483650     $regPath = "Software\Microsoft\Windows NT\CurrentVersion"     $regValue = "DigitalProductId"     Foreach ($target in $targets) {         $productKey = $null         $win32os = $null         $wmi = [WMIClass]"\\$target\root\default:stdRegProv"         $data = $wmi.GetBinaryValue($hklm,$regPath,$regValue)         $binArray = ($data.uValue)[52..66]         $charsArray = "B","C","D","F","G","H","J","K","M","P","Q"

RAID5 Array configuration - and mount it to an Amazon EC2 instance as the additional storage (Raid 5 Configuration)

Image
  Create a RAID5 Array and mount it to an Amazon EC2 instance as the additional storage By: Udara Pathirage on 7 th Jan 2021 Create an EC2 instance using the AWS Console- using default settings. 2. SSH in to the instance     a) Check the current disk details               i) $df –h     b) List the currently attached Hard disk drives, $lsblk c) See the partition details; $fdisk –l 3. Create 3 volumes using the AWS Console; Magnetic is the cheapest to make the tests. a) Select the Availability Zone where the App Instances has hosted. Otherwise, it will not be able to mount b) For the RAID5, minimum of 3 hard disks required c) Clone settings of Volumes d) Give the name of ‘device’ as ‘sdb’, ‘sdc’, ‘sdd’ ,so on i) First check whether there are hard disks available in the names that we are going to create in the next steps - $fdisk –l e) RAID 5 Total capacity of RAID of having 1TB 3 HDD will give only 2TB due to keeping 1TB as a backup. Check how new hard disks have a

AWS Certified Solutions Architect-Associate Exam (SAA) preparation experience...

Image
Hi, Today I'm going to write an assistance article for those who preparing for the AWS Solutions Architect -Associate (SAA-C1 & C2). Because many friends and colleges are inquiring about this score. I faced the exam on 30th June 2020 and scored 926 out of 1000 marks, This is not a too much difficult exam, but preparation in theory, as well as practical, are necessary. I created my own handout for the exam which covers the whole areas.. I'm sure you can obtain more than 80% of my handouts... Herewith attached the Document for your all reference. ( Click Here ). Today it's a global trend of moving from physical infrastructures to the Cloud. You can check my score from here: ClickHere to Verify . I faced to the SAA 2 which expired on 30th June 2020. But there is no significant changes between old exam and the new exam. Exam Areas: Well-Architected Framework Route 53 S3 RDS, Redshift and ElastiCache EBS EFS ELB and Autoscaling SQS S