Sunday, 5 February 2023

Top 15 PowerShell interview questions with answers

Or, Top 15 PowerShell interview questions

Or, Powershell interview questions for beginners

Descriptions:

PowerShell is one of the most commonly scripting shell scripting language used by Windows Operating systems, and widely available to be used in many cloud platforms now a days.

In this KB, you would know about some beginner level scenarios and questions that are essential to know for any PowerShell administrators or engineer.

Here are questions and their answers – top 15

What is PowerShell?

PowerShell is a command-line shell and scripting language used by Windows operating system.

What are the benefits of using PowerShell?

It allows automation of repetitive tasks, provides better control over Windows systems, and enables easier management of remote systems.

How to start a PowerShell session?

By clicking on the Start menu, typing "PowerShell" in the search bar, and then clicking on the PowerShell app.

What are the different execution policies in PowerShell?

Restricted, AllSigned, RemoteSigned, Unrestricted.

What is a PowerShell cmdlet?

It is a lightweight command used in PowerShell to perform a specific action.

How to list all the available cmdlets in PowerShell?

By using the "Get-Command" cmdlet.

How to get help in PowerShell?

By using the "Get-Help" cmdlet.

What is the difference between CMD and PowerShell?

CMD is a basic command-line interface while PowerShell is an advanced version with more features, commands and scripting capabilities.

How to create a variable in PowerShell?

By using the "$" symbol followed by the variable name, for example: "$myVariable = 10".

What is the difference between single and double quotes in PowerShell?

Single quotes treat the enclosed string as a literal, while double quotes allow for expression substitution.

What is pipeline in PowerShell?

It is a way to pass the output of one cmdlet as the input to another cmdlet.

What are the different ways to run a PowerShell script?

WMI stands for Windows Management Instrumentation and is a way to access information about Windows systems.

What are the different profile files in PowerShell?

The different profile files are: Microsoft.PowerShell_profile.ps1, Microsoft.PowerShellISE_profile.ps1, and Microsoft.VSCode_profile.ps1.

How to exit a PowerShell session?

By using the "Exit" command or "Ctrl + C".

 

Cheers, please write me back if you have any queries or feedback!

ChatGPT Demo - experience it, before using ChatGPT

Or, How to try ChatGPT without signup?

Or,  Where to find complete Demo of ChatGPT?

Description:

There are lots of talks around ChatGPT disruption, impact, usage, security, privacy and many more... Just to make you test ChatGPT even without Signing in for this, I am sharing the complete Demo of ChatGPT, how it works.

Please refer to the below Video demonstration  about ChatGPT and share your views, queries or feedback.




Friday, 3 February 2023

Monitoring AWS Backup Jobs - Get Email Alerts

Or, Can we monitor AWS Backup jobs from CloudWatch?

Or, How can we monitor AWS Backup jobs in AWS Cloud?

Or, How can we get email alerts for Backup job status monitoring in AWS Cloud?


Descriptions:

Yes, its possible to monitor AWS Backup jobs without coding and writing complex JSON programs.

You can achieve this from CloudWatch rule.

Watch this useful video from YouTube for detailed steps and walkthrough.


 Cheers, write me back if you have any feedback or queries.



Thursday, 9 June 2022

IaaS, PaaS, SaaS, and On-Premises – all you need to know!

Or, IaaS, PaaS, SaaS, and On-Premises - explained with examples, usage scenario, and consumer details

Or, what are the various differences between On-Premises, IaaS, PaaS, and SaaS?

Or, what are the definitions of parameters used in the shared responsibility model in the cloud?

Or, Explain IaaS, PaaS, SaaS, and On-Premises models with Examples, Target Consumers, and Usage & Purposes.


Descriptions: In this article we will be learning about differences, use cases, responsibilities, and various others about the different cloud models offerings (e.g. IaaS, SaaS, PaaS), including the bonus learning about understanding how On-Premises infrastructure is different than these cloud offerings.

 

Lets begin with the full forms (as given below):

IaaS: Infrastructure as a Services

PaaS: Platform as a Service

SaaS: Software as a Service


Comparison based on responsibilities (Shared Responsibility Model)


 

Brief about the parameters used in the comparison table:

Applications: Applications are used by end users. An application can be simply a web browser, a media player, or a program designed to perform some specific tasks.

Data: Data is collection of information in the form of files, media, software etc. The most common data used by users are in the form of pdf files, documents files, images, videos etc…

Runtime: When a program is in running or executing state, this state of the computer is known as Runtime. When you open or execute a program, the Runtime starts, and when you close the program, the Runtime ends.

Middleware: A middleware is software which exists between an operating system and the application running on the operating system. All the middleware software performs communication functions between operating systems and applications running on it.

Database middleware, applications middleware, web-based middleware, and message-based middleware are some most commonly knows middleware software.

OS (Operating Systems): An operating system is system software that manages the computer’s hardware (e.g. CPU, Input/Output Devices, Memory, Ethernets etc…). Most commonly knows operating systems are, Windows, Linux, and Mac.

Virtualization: One of the most commonly used technology now a days which is playing a vital role in cloud computing environment too. Virtualization usage software to simulate the functionalities of hardware which helps running multiple type of operating systems virtually on the single hypervisor operating systems.

Most commonly used virtualization platforms/technologies are VMware vSphere, Microsoft Hyper-V, and Citrix Hypervisors.

Virtualization is not limited to just hardware as it also support many verities of applications virtualizations.

Servers: A server is combination of computer hardware and software that provides accessibility of services, over the network connection with the help of applications or in-build roles, to the end users. Most commonly servers are database servers, file servers, front-end servers, web servers etc…

Storage: Almost all the applications produces data that is processed when needed, and stored for further reference and processing. The storage systems are capable of storing any type of data in various forms such as simple block storage, SAN, NAS, Files, Disks, Database tables etc..

Networking: Networking is one of the most critical pillar of cloud or on-premises infrastructure. Without networking, we can’t imagine this whole system to work collaboratively by being tightly integrated with each other. Networking helps two or more applications or servers to talk to each other and share the information or data to serve the users requests.

 

Examples, Target Consumers, and Use Cases / Purposes:


Cheers! Write me back if you have queries or feedback!