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

Powershell Tips

How to check PowerShell Version

March 16, 2020June 4, 2015 by Morgan

We can use $PSVersionTable.PSVersion to determine what version of PowerShell is installed on a computer. If the variable does not …

Read more

Categories Powershell, Powershell Tips

PowerShell – Testing if a String is NULL or EMPTY

March 16, 2020April 16, 2015 by Morgan

Checking if a string is NULL or EMPTY is very common requirement in Powershell script. If we do not checked …

Read more

Categories Powershell, Powershell Tips

PowerShell – Convert Ticks to DateTime and Vise Versa

March 16, 2020April 8, 2015 by Morgan

You can convert Date to Ticks and Ticks to Date Time using the PowerShell Get-Date cmdlet. Convert Ticks to DateTime …

Read more

Categories Powershell, Powershell Tips

PowerShell – Convert Large Integer value to DateTime string

March 11, 2020April 8, 2015 by Morgan

If you are working with Active Directory, you should have come across the attributes like LastLogonTimestamp. This LastLogonTimestamp attribute is …

Read more

Categories Powershell, Powershell Tips

Test Remote Powershell Management is Enabled or Not

March 11, 2020March 31, 2015 by Morgan

We can check whether the powershell remoting is configured or not in a particular remote computer using the powershell cmdlet …

Read more

Categories Powershell, Powershell Remoting, Powershell Tips, Remote Administration

Execute Remote PowerShell Commands

March 11, 2020March 30, 2015 by Morgan

We can run powershell commands on remote computer using the powershell cmdlet Invoke-Command. Syntax of Invoke-Command: Invoke-Command -ComputerName COMPUTER -ScriptBlock …

Read more

Categories Powershell, Powershell Remoting, Powershell Tips, Remote Administration

Enable Remote PowerShell and Run Commands

March 11, 2020March 28, 2015 by Morgan

You can enable powershell remoting on computers running Windows 7 and later versions which includes WinRM 2.0 or later. The …

Read more

Categories Powershell, Powershell Remoting, Powershell Tips, Remote Administration

Powershell – Check If File Exists or Not

March 12, 2020March 12, 2015 by Morgan

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

Read more

Categories File System, NTFS, Powershell, Powershell Tips

Powershell – Delete File If Exists

March 12, 2020March 12, 2015 by Morgan

We can test and check if a file exist or not by using the PowerShell cmdlet Test-Path and we can …

Read more

Categories File System, NTFS, Powershell, Powershell Tips

Get NTFS File Permissions with PowerShell script

November 15, 2021March 11, 2015 by Morgan

We can read the owner and permissions of a file, folders and registry keys with Powershell’s Get-Acl cmdlet. In this …

Read more

Categories File System, NTFS, NTFS Persmission, Powershell, Powershell Tips
Older posts
Newer posts
← Previous Page1 … 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 © 2025 MorganTechSpace