Skip to content

ShellGeek

  • Home
  • PowerShell
  • PowerShell Tips
  • About Us
  • Contact

PowerShell Global Variables

by shelladmin

PowerShell global variables are essential in scripts, functions, or modules. They can store data that can be accessible across scripts, and code. Use the $global: …

Read more

Working With PowerShell Date Variable

by shelladmin

Date and Time are essential for scheduling, file management, and logging in PowerShell scripts. The Get-Date cmdlet is used to create a date variable in …

Read more

PowerShell Create Variable

by shelladmin

Variables are an essential component to store, manage and share data in PowerShell scripts. To create a PowerShell variable, use the $ (dollar sign) symbol. …

Read more

PowerShell JSON – Guide with Examples

by shelladmin

JSON (Javascript Object Notation) is a lightweight data-interchange format used to easily store, read and write data. Use the @{} notation to create JSON variables …

Read more

Powershell Use Variable in Command

by shelladmin

PowerShell variables store values for flexible use in commands. Substitution, concatenation, and inline usage of a variable in command help dynamic command creation. In this …

Read more

Check If Variable contains String in PowerShell

by shelladmin

Using the -like and -match operators and the Contains method, you can check if variable contains string in PowerShell. It is essential and often needed …

Read more

PowerShell Variable Assignment

by shelladmin

PowerShell variable assignment is an essential concept in scripting to store and manipulate data. Variable stores the data of different types such as strings, numbers, …

Read more

PowerShell Variable Expansion

by shelladmin

In PowerShell variable expansion allows you to embed the value of a variable within a string. Double-Quotes enable variable expansion. Variable expansion in string enables …

Read more

Write PowerShell Variable to File

by shelladmin

PowerShell variables can store values of different types of data, such as strings, objects, and numbers. Saving PowerShell variables to file can help with logging, …

Read more

PowerShell Variable in Single Quotes

by shelladmin

Working with strings is an essential part of the PowerShell script. Variables are used to store values such as strings or numbers, and quotes (single …

Read more

Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page39 Next →

Recent Posts

  • Run Batch File in PowerShell
  • PowerShell – Enable-PSRemoting for Remote Commands
  • Install Software with PowerShell Script Remotely

Footer

  • Home
  • About Us
  • Contact
  • Privacy Policy
  • Terms and Conditions
Copyright © 2023 ShellGeek All rights reserved