Bijay Kumar
Blogs, Articles, and Posts
Foreach vs Foreach-Object in PowerShell
(spguides.com)
The foreach statement and the ForEach-Object cmdlet, while similar in function, difference in form,
By: Bijay Kumar submitted:Mar 8 2024
The foreach statement and the ForEach-Object cmdlet, while similar in function, difference in form,
execution context, and performance implications. They are both designed for iterating over collections, executing a block of script code for each object in the collection. In this PowerShell tutorial, we will explain everything about the Foreach vs Foreach-Object in PowerShell.
By: Bijay Kumar submitted:Mar 8 2024
How to Add Quotes in PowerShell (Single & Double Quotes)
(spguides.com)
Many a time, you might need to add quotes in PowerShell, like single and double quotes. In this
By: Bijay Kumar submitted:Mar 8 2024
Many a time, you might need to add quotes in PowerShell, like single and double quotes. In this
PowerShell tutorial, I will explain how to add quotes in PowerShell. In PowerShell, when a string is enclosed within double quotes, it is subject to interpretation by the parser.
By: Bijay Kumar submitted:Mar 8 2024
How to Check if a Variable is Null or Empty in PowerShell?
(spguides.com)
While working on a PowerShell script, I got a requirement to check if a PowerShell variable in null
By: Bijay Kumar submitted:Feb 9 2024
While working on a PowerShell script, I got a requirement to check if a PowerShell variable in null
or empty. In this PowerShell tutorial, we'll explore how to check if a variable is null or empty in PowerShell using various methods. To check if a variable in PowerShell is null or empty, you can use ... read more...
By: Bijay Kumar submitted:Feb 9 2024
How to Convert Multiline String to Array in PowerShell?
(spguides.com)
Do you need to convert multiline strings into arrays in PowerShell? In this PowerShell tutorial, I
By: Bijay Kumar submitted:Feb 2 2024
Do you need to convert multiline strings into arrays in PowerShell? In this PowerShell tutorial, I
will explain to you different methods to convert a multiline string into an array in PowerShell. To convert a multiline string into an array in PowerShell, you can use the -split operator with a newline character as the delimiter.
By: Bijay Kumar submitted:Feb 2 2024
How to Get Current Function Name in PowerShell?
(spguides.com)
Do you want to get the current PowerShell function name? In this PowerShell tutorial, I will explain
By: Bijay Kumar submitted:Jan 19 2024
Do you want to get the current PowerShell function name? In this PowerShell tutorial, I will explain
how to get the current function name in PowerShell. Get the Current Function Name in PowerShell A function in PowerShell is a block of code with a name that performs a specific task.
By: Bijay Kumar submitted:Jan 19 2024
How to Get-Date Without Time in PowerShell?
(spguides.com)
Do you want to get-date without time in PowerShell? In this PowerShell tutorial, I will explain
By: Bijay Kumar submitted:Jan 12 2024
Do you want to get-date without time in PowerShell? In this PowerShell tutorial, I will explain
different "PowerShell get-date without time" methods with examples. PowerShell get-date without time Here are different ways to get-date without time in PowerShell. Using Get-Date with DisplayHint Parameter PowerShell provides the Get-Date cmdlet, which is a versatile command used to retrieve the
By: Bijay Kumar submitted:Jan 12 2024
PowerShell get file size
(spguides.com)
Do you want to check file size in PowerShell? In this PowerShell tutorial, I will explain everything
By: Bijay Kumar submitted:Dec 8 2023
Do you want to check file size in PowerShell? In this PowerShell tutorial, I will explain everything
about PowerShell get file size with various methods and examples. To check the file size using PowerShell, you can use the Get-Item command followed by the .Length property.
By: Bijay Kumar submitted:Dec 8 2023
Powershell Global Variable: Mastering Scope and Usage with Examples
(spguides.com)
PowerShell global variables are an essential aspect of scripting in Windows PowerShell. They offer a
By: Bijay Kumar submitted:Dec 15 2023
PowerShell global variables are an essential aspect of scripting in Windows PowerShell. They offer a
way to store and manipulate data across functions, scripts, and cmdlets. In this tutorial, I will explain to you how to define, set, and use global variable in PowerShell.
By: Bijay Kumar submitted:Dec 15 2023
Replace String Containing Special Characters in PowerShell
(spguides.com)
There might have been scenarios where you want to replace a string containing special characters in
By: Bijay Kumar submitted:Jan 26 2024
There might have been scenarios where you want to replace a string containing special characters in
PowerShell. In this tutorial, I will explain to you different examples of how to replace strings containing special characters in PowerShell. To replace a string containing special characters in PowerShell, you can use the -replace operator with an escape character
By: Bijay Kumar submitted:Jan 26 2024
SharePoint Management Shell [How to use]
(spguides.com)
Do you want to know how to use the SharePoint management shell? In this PowerShell tutorial, I will
By: Bijay Kumar submitted:Oct 27 2023
Do you want to know how to use the SharePoint management shell? In this PowerShell tutorial, I will
explain how to connect with SharePoint sites from Microsoft PowerShell. I will show you how to use the SharePoint Online management shell to connect with SharePoint Online sites and also how to work with SharePoint on-premises sites.
By: Bijay Kumar submitted:Oct 27 2023