PowerShell Set-Variable Tutorial

PowerShell is complete programming or scripting language which provides different types of variables. The Set-Variable is used to set variable values or create a variable if it does not exist. Set Variable The Set-Variable can be used to set or create a variable easily. The -Name attribute is used to specify the variable name and … Read more

How To Format DateTime In PowerShell?

PowerShell provides the Get-Date command in order to print or display date and time information. The GetDate command print or display the current date and time in .Net or Unix format. But the Get-Date command supports a lot of different date and time formats which will be explained in this tutorial. Default DateTime Format When … Read more

PowerShell Write-Output Command

PowerShell provides the Write-Output command in order to print objects, variables, and values to the console. It is very similar to the Linux echo command. To make things easier the echo an alias can be used instead of the Write-Output command to make Linux users comfortable. The Write-Output command can be used with the other … Read more

PowerShell Wait (Start-Sleep) Tutorial

PowerShell provides the Start-Sleep command in order to wait for the command line interface for the specified time. The wait time can be milliseconds, seconds, minutes, hours, etc. The Start-Sleep command simply accepts seconds or milliseconds as parameters but they can be used to express minutes and hours. In this tutorial, we examine how to … Read more

PowerShell Format-Table Tutorial

PowerShell Format-Table Tutorial

PowerShell is a very featureful command line interface that provides the Fromat-Table command which can be simply used to format tables which are generally the output of the executed commands. The Format-Table command can be used to select specific properties, group tables, hide headers, etc. In this tutorial, we examine different features of the Format-Table. … Read more

Arp Command In Windows

Arp Command In Windows

Windows operating systems provide the arp command in order to list arp cache content with related IP address and MAC address matches. The ARP or Address Resolution Protocol is used to translate IP addresses to the MAC addresses or reverse. This resolution operation is stored in a table named ARP table. The arp command simply … Read more

How To Run chkdsk In Windows?

How To Run chkdsk In Windows?

Windows operating systems provide the chkdsk command in order to scan hard disks to fine file system errors and fix them accordingly. The file system is used by the operating systems in order to store data like files and folders in storage like a hard disk drive. The chkdsk command is generally used via the … Read more

Prompt User Input In PowerShell

Prompt User Input In PowerShell

PowerShell is complete scripting and programming language which provides the user input command Read-Host . The Read-Host can get the user input in different ways like a prompt, secure password, or mask input. In this tutorial, we examine how to use different attributes of the Read-Host command. User Input with Read-Host Command The Read-Host command … Read more

How To Format External Hard Drive In Windows 10?

How To Format External Hard Drive In Windows 10?

External hard drives are used to store data like files, movies, music, etc., and move them to another system. In order to use an external hard drive, it should have a proper file system and format which can be used for both source and destination systems. Windows operating systems generally use NTFS and FAT as … Read more