the Sysadmin Channel
Menu Close
  • Home
  • Powershell
  • Office365
    • Exchange Online
    • OneDrive
    • Teams
  • Azure
  • VMware
  • SCCM
  • Active Directory
    • DNS
    • Group Policy
  • YouTube Channel

don’t use alias in scripts

0

Why Its A Bad Idea To Use Shortcode Or Alias’ In Scripts

Last Updated August 13, 2018 by Paul Contreras
Get-Alias use Shortcode

Seriously.. So I’m trying to teach a co-worker some Powershell techniques and skills to help him automate some of his work and he comes across | ? {bla bah}. Before he asks me what this exactly means he goes on… Continue Reading →

Powershell bad idea to use shortcode in scripts, bad practice powershell scripting, don't use alias in scripts

Search

Trending Now

  • Get Per-User MFA Status using PowerShellGet Per-User MFA Status using PowerShell
  • Get Synced OU Configuration in Azure AD Connect GUIGet Synced OU Configuration in Azure AD Connect PowerShell
  • How To Restart Exchange Services with PowerShellRestart Exchange Services with PowerShell
  • Add users to groups Azure AD Using Powershell - FeatHow To Add Users To An Azure AD Group Using Powershell
  • Error creating VMware datastore[Solved] Call “HostDatastoreSystem.QueryVmfsDatastoreCreateOptions” for object “ha-datastoresystem” …
  • Get Exchange Cumulative Update Version Using Powershell-v2Get Exchange Version and Build Numbers Using PowerShell
  • Forward Email in Office 365How To Forward Email in Office 365
  • Get Azure AD Last Login Date And Sign-In Activity - FeatGet Azure AD Last Login Date And Sign-In Activity
  • Get Direct Reports in Active Directory Using Powershell (Recursive)Get Direct Reports in Active Directory Using Powershell (Recursive)
  • Download Azure Portal Desktop Application For WindowsDownload Azure Portal Desktop Application For Windows
© 2025 the Sysadmin Channel. All rights reserved.
Hiero by aThemes