PowerShell Cheat Sheet for Exam 70-411: Administering Windows Server 2012

sharing-caring.png

I have finished 70-410 and now working on the 70-411. And this time I will be making an PowerShell Cheat sheet as well. I’m sure I’m missing some command especially the Hyper-v once

CmdletDescription
Add-WsusComputerAdds a specified client computer to a specified target group
Approve-WsusUpdateApproves an update to be applied to clients
Get-WsusClassificationGets the list of all WSUS classifications currently available in the system.
Get-WsusComputerGets the WSUS computer object that represents the client
Read More

Programming Concepts: A Guide to Loops, Arrays, and File Handling

Programming Control Do-While Loops

Private Sub btnConvert_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConvert.Click

Dim num As Integer

num = 1

txtResult.Clear()

Do While num <= 7

txtResult.AppendText(CStr(num) & vbCrLf)

num = num + 1

Loop

End Sub

Do-Until Loops

Private Sub btnConvert_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConvert.Click

Dim num As Integer

num = 6

txtResult.Clear()

Do

txtResult.AppendText(CStr(num) & vbCrLf)

num = num

Read More

Partitioning Disks and Creating Swap Space in Linux

Partitioning Disks in Linux

In Linux, we can use various command-line tools for partitioning disks. One such tool, capable of handling both MBR and GPT partitioning, is parted. We’ll primarily focus on its interactive mode.

Identifying Connected Disks

Before partitioning, let’s list the disks connected to our computer. We can do this using the parted command in command-line mode:

sudo parted -l

This command displays information about connected disks, including their size and partition tables. For instance,

Read More

A Comprehensive Guide to Petroleum Refining Processes and Properties

How to Measure the Severity of the Visbreaking Process

1. Viscosity Measurements: Compare the viscosity of the oil before and after visbreaking; a greater reduction indicates higher severity.

2. Temperature: Higher temperatures during the process usually result in more significant viscosity reduction.

3. Yield and Composition of By-Products: A higher yield of lighter fractions suggests a more severe visbreaking process.

Why Multi-Grade Oils are Preferred Lubricants for Modern Motors

Each oil has two

Read More

How to Partition a Disk in Linux Using Parted

In Linux, there are a few different partitioning command line tools we can use. One that supports both MBR and GPT partitioning is the parted tool.

Parted can be used in two modes. The first is interactive, meaning we’re launched into a separate program, like when we use the less command. The second is command line, meaning you just run commands while still in your shell. We’re going to be using the interactive mode for most of this lesson. Before we do that let’s run a command to show what disks

Read More

Evaporators in Refrigeration Systems: Types, Design & Defrosting

EVAPORATORS

Introduction

Evaporators are heat exchangers designed to evaporate liquid refrigerant. The boiling temperature of the coolant is less than the temperature of the environment you want to cool. Refrigerant evaporates at low pressure, although higher than atmospheric pressure. The cooling efficiency of the liquid-vapor mixture depends on the liquid content in the mixture.

Types of Evaporators by Feeding Method

  • Dry expansion
  • Flooding

This classification is based on whether the facility contains

Read More