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
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
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 […]