Skip to content
MorganTechSpace
  • Home
  • Powershell
  • Office 365
  • Azure AD
  • Exchange Online
  • SharePoint Online
  • Active Directory
  • Contact

Powershell Tips

How to assign Date variable in PowerShell

October 19, 2022July 8, 2015 by Morgan

You can set a DateTime value to a variable by using the Get-Date cmdlet and we can also convert a …

Read more

Categories Powershell, Powershell Tips

Powershell: Find difference between two Dates

March 14, 2020July 7, 2015 by Morgan

We can easily find difference between two dates with powershell. We can get difference in Days, Hours, Minutes and Seconds. …

Read more

Categories Powershell, Powershell Tips

Enable Exchange Cmdlets in Powershell

March 16, 2020June 16, 2015 by Morgan

We can run Exchange Management Powershell cmdlets using Exchange Management Shell to get exchange related details. However, If you are …

Read more

Categories Exchange Server, Powershell, Powershell Tips

Control PowerShell ResultSize (First, Last and Between)

March 16, 2020June 13, 2015 by Morgan

PowerShell script may returns 1000 of records for a single command, viewing large amount of records in a single page …

Read more

Categories Powershell, Powershell Tips

PowerShell – List only Files or Folders by Recursively

March 16, 2020June 13, 2015 by Morgan

We can retrieve only list of Files or Folders by Recursively using the Powershell cmdlet Get-ChildItem. List Only Files Use …

Read more

Categories File System, Powershell, Powershell Tips

Create a Folder If Not Exists in PowerShell

March 16, 2020June 9, 2015 by Morgan

We can check if a folder exist or not by using the PowerShell cmdlet Test-Path and create a new folder …

Read more

Categories Powershell, Powershell Tips

Create a File If Not Exists via PowerShell

November 11, 2022June 8, 2015 by Morgan

We can check if a file exists or not by using the PowerShell cmdlet Test-Path and create a new file using the New-Item cmdlet. The below …

Read more

Categories Powershell, Powershell Tips

Check If Folder Exists or Not in PowerShell

March 16, 2020June 8, 2015 by Morgan

We can check and test if a folder exist or not by using the PowerShell cmdlet Test-Path. The below powershell …

Read more

Categories Powershell, Powershell Tips

Read or Import CSV File in PowerShell

March 16, 2020June 8, 2015 by Morgan

We can read text from CSV file using powershell’s Import-Csv cmdlet. The Import-Csv cmdlet provides a way to read in data …

Read more

Categories CSV, Powershell, Powershell Tips

Get and Set Execution Policy in PowerShell

March 16, 2020June 4, 2015 by Morgan

The powershell cmdlet Get-ExecutionPolicy tells you which of the four execution policies is currently enabled. The Windows PowerShell execution policies …

Read more

Categories Powershell, Powershell Tips
Older posts
Newer posts
← Previous Page1 … Page6 Page7 Page8 Page9 Next →

Categories

  • Powershell
  • Microsoft 365
  • Azure AD
  • SharePoint Online
  • Exchange Online
  • Microsoft Teams
  • Office 365 Groups
  • Active Directory
  • Microsoft Graph
  • PnP-PowerShell
  • CSOM

Recent Posts

  • Get Azure AD (Entra ID) App-Only Access Token with PowerShell
  • Working with REST API in PowerShell using Invoke-RestMethod
  • M365 User SignIn Activity – Neither tenant is B2C or tenant doesn’t have premium license
  • How to Join or Concatenate String and Number Using PowerShell
  • Find Location and County by IP Address with PowerShell
  • Microsoft 365
  • Azure AD
  • SharePoint Online
  • Exchange Online
  • Microsoft Teams
  • Microsoft 365 Groups
  • OneDrive for Business
  • Azure AD Authentication
  • Active Directory
  • Exchange Server
  • PowerShell
  • PnP PowerShell
  • Microsoft Graph
  • CSOM
  • VBScript

Follow us

  • Facebook
  • Twitter
DMCA.com Protection Status
  • Privacy-Policy
  • Disclaimer
  • TermsOfUse
  • About
Copyright © 2026 MorganTechSpace