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

Powershell

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: Set AD User Must Change Password At Next Logon

March 11, 2020March 24, 2015 by Morgan

We can set AD user property values using powershell cmdlet Set-ADUser. The Set-ADUser cmdlet modifies the properties of an Active …

Read more

Categories Active Directory, AD Management, CSV, Powershell

Powershell: Set AD Users Password Never Expires flag

March 11, 2020March 20, 2015 by Morgan

We can set Active Directory user property values using Powershell cmdlet Set-ADUser. The Set-ADUser cmdlet modifies the properties of an …

Read more

Categories Active Directory, AD Management, CSV, Powershell

The type or namespace name ‘automation’ does not exist in the namespace ‘system.management’

March 11, 2020March 20, 2015 by Morgan

I have added the reference Assembly System.Management.Automation in my C# application to run PowerShell scripts from C# project. but I …

Read more

Categories C#, Powershell

Export AD Users to CSV using PowerShell

March 11, 2020March 16, 2015 by Morgan

We can generate and export Active Directory users report to CSV file using Powershell cmdlets Get-ADUser and Export-CSV. Get-ADUser cmdlet …

Read more

Categories Active Directory, Active Directory Report, CSV, Powershell

Powershell – Get AD Users Password Expiry Date

March 12, 2020March 13, 2015 by Morgan

We can find and list the password expiry date of AD user accounts from Active Directory using the computed schema …

Read more

Categories Active Directory, CSV, LDAP Filters, Powershell

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
Older posts
Newer posts
← Previous Page1 … Page34 Page35 Page36 … Page39 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