Categories
PowerShell Basic

Basic scripting powershell for beginners

PowerShell is a powerful scripting language and automation tool for Windows systems. Here are some fundamental concepts and examples to help you begin your journey with PowerShell scripting: Editor To create scripts and run them, you need an editor and I use Visual Studio Code. Works with notepad and the powershell command window as well, […]

Categories
Bash Linux

Bash script basics

Bash (short for “Bourne Again SHell”) is a popular command-line shell and scripting language in Unix-like operating systems. Here are some basics of writing Bash scripts: These are some fundamental concepts to get you started with Bash scripting. You can build more complex scripts by combining these elements and using various command-line utilities. If this […]

Categories
PowerShell Basic

Powershell command Get-ChildItem

The Get-ChildItem cmdlet in PowerShell is used to retrieve a list of items (files and folders) in a specified directory. Here’s the basic syntax and some common usage examples: Syntax: Parameters: Examples: These are just some basic examples of how you can use the Get-ChildItem cmdlet in PowerShell. It’s a versatile command that you can […]

Categories
Linux

Linux command mkdir

The mkdir command in Linux is used to create directories (folders) within the file system. You can use it to create a new directory with a specified name in the current working directory or specify a full path to create a directory at a specific location. Here’s the basic syntax of the mkdir command: Here, […]

Categories
Linux

Top 10 useful linux commands

Linux offers a wide range of commands to perform various tasks. Here are ten essential Linux commands that can be very useful for day-to-day operations: These are just a few of the many Linux commands available. To learn more about each command and their various options, you can use the man command followed by the […]

Categories
PowerShell Basic

Top 10 powershell commands

PowerShell is a powerful command-line shell and scripting language for managing and automating tasks on Windows systems. Here are ten commonly used PowerShell commands and cmdlets: These are just a few of the many PowerShell cmdlets available for various tasks. PowerShell is highly versatile, and you can use it for a wide range of system […]

Categories
PowerShell Basic

PowerShell scripting variables

In PowerShell scripting, variables are used to store and manipulate data. Here’s a basic overview of how to work with variables in PowerShell: Variable Naming Rules: Variable Assignment:To assign a value to a variable, use the assignment operator =. Variable Types:PowerShell is a dynamically typed language, meaning you don’t need to declare the data type […]

Categories
PowerShell Basic

PowerShell basics

PowerShell is a powerful and versatile command-line shell and scripting language developed by Microsoft for managing and automating Windows operating systems. It provides a wide range of features and functionalities for system administration, configuration management, and automation tasks. Here are some PowerShell basics to get you started: These basics should help you get started with […]

Categories
PowerShell Basic

Powershell and the absolute best command

Get-Help By far the best command available in powershell, the first time you run it, you may encounter that you are missing help files and then need to download them. This is done by running update-help. EX: PS c:\Temp\> How it works It is based on the syntax commando (Get-Help) which command you want help […]

Categories
PowerShell Basic

PowerShell the absolute basics

command-line shell PowerShell is a command-line shell scripting language that runs various commands in the terminal or creates more complex scripts to execute. In 2006, PowerShell was introduced into the Windows operating system and has become a very popular tool for automating Windows tasks. Although PowerShell focuses on Windows administration, it can now be installed […]