Knowledgebase

PowerShell as a Language Print

  • programminglanguages, programming, errors, guide, howto, solution, zillionkinghost, hosting
  • 0

Automation on Windows and beyond.

WHAT IT IS

A shell and scripting language built around objects rather than text.

WHAT THAT MEANS

Commands pass structured objects to each other, not strings.

WHY THAT MATTERS

There is no parsing of output, which is where traditional shell scripts are fragile.

WHAT THAT LOOKS LIKE PRACTICALLY

Selecting, filtering and sorting by property, reliably.

WHAT DISTINGUISHES IT

A consistent verb and noun command naming convention Access to the platform's underlying frameworks Strong remote management capability Cross-platform availability

WHAT IT IS USED FOR

Windows administration Cloud resource management Deployment and configuration Reporting across many machines

WHAT TO BE AWARE OF

Execution policies restricting which scripts may run Differences between the Windows-only edition and the cross-platform one

WHAT TO USE

The cross-platform edition for new work, where possible.

WHAT TO ADOPT

Approved verbs for command names Comment-based help Error handling with proper terminating errors

WHO SHOULD LEARN IT

Anyone administering Windows environments.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot