• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Think PowerShell

Think PowerShell

PowerShell for IT Pros

  • About
    • Who I Am
    • Why I Blog
    • Privacy Policy
  • Resources
    • More PowerShell Sites
    • Post Series Index
  • Get Help
  • Show Search
Hide Search

Aaron Rothstein

Use PowerShell to Monitor RSS/Atom Feed

Aaron Rothstein · November 30, 2017 · 4 Comments

An script for monitoring Digital Ocean feed.
An script for monitoring Digital Ocean feed.

Use PowerShell’s Invoke-WebRequest to retrieve and parse an RSS or Atom feed.

Status monitoring feeds aplenty

There are a lot of third party services that provide status monitoring updates through RSS/Atom feeds. Statuspage is a popular service that other companies use for providing this type of status monitoring feed, as well as a status page for web viewing.

For my case, I wanted to take advantage of monitoring one of these status feeds, but I wanted to do it using PowerShell so I could send email alerts and display status information within Solarwinds Orion. Here is how I used the Atom feed from DigitalOcean‘s Statuspage.

[Read more…] about Use PowerShell to Monitor RSS/Atom Feed

PSSnapin: The Original Way to Extend PowerShell

Aaron Rothstein · November 27, 2017 · Leave a Comment

Use Get-PSSnapin to see loaded snapins.
Use Get-PSSnapin to see loaded snapins.

PowerShell snap-ins (PSSnapin) were the 1.0 way of extending PowerShell’s functionality.

In this post of the series “PowerShell 1.0 – The First Cmdlets“, we will cover Get-PSSnapin , Add-PSSnapin , and Remove-PSSnapin , which encompass the cmdlets needed for managing PowerShell snap-ins.

[Read more…] about PSSnapin: The Original Way to Extend PowerShell

Get-Help: PowerShell’s Documentation Framework

Aaron Rothstein · November 25, 2017 · Leave a Comment

Get-Help for Get-Help!
Get-Help for Get-Help 🙂

Display documentation for PowerShell components using Get-Help.

This is the first post in the series PowerShell 1.0 – The First Cmdlets. In this post we will cover Get-Help , which was one of the Microsoft.PowerShell.Core  module cmdlets and a cmdlet we will use extensively in future posts. Note that though this cmdlet was first introduced in PowerShell 1.0, enhancements have been made through version releases and we will cover the latest features of the cmdlet.

Get-Help: What it is for

Get-Help  displays help documentation for PowerShell cmdlets and concepts. It is the method from within PowerShell that you can bring up details of how to use PowerShell components. This cmdlet will be a regular part of your daily PowerShell toolbox.

Examples: How to use it

Get documentation for a cmdlet

One of the most common ways you will use Get-Help  is to get documentation about how to use a specific cmdlet. You type Get-Help  followed by the cmdlet name you want documentation for, so an example would be Get-Help Get-Help . Run this from a PowerShell session to see the standard help displayed.

Specify level of documentation to display

There a few parameters to control the level of documentation to display, some being more verbose than others.

  • -examples  will show you the examples within the help file.
  • -detailed  will show a more complete documentation set, including examples as well as a breakdown of the Parameters.
  • -full  will show you everything included in -detailed as well as Input and Output information and general Notes.

Launch online documentation from docs.microsoft.com

One of my favorite new features is to use the -online  parameter to launch the help page for a given cmdlet or component that resides at docs.microsoft.com. The online help pages are well formatted and easy to navigate, so if you like to reference your documentation separate from where you are working or on a second screen (I personally do), this is a killer feature.

Get-Help Get-Help -online

See components with help available

Using Get-Help isn’t limited to cmdlets. There are multiple categories, including “About” topics (preceded with ‘about_’), functions, providers, and aliases. You can see what help options are available using wildcard searches or by specifying a category to filter:

# Wildcard search for anything beginning with about_ ("About" topics)
Get-Help -Name about_*

# Show Providers for which there is help information
Get-Help -Category Provider

Next Up: Get/Add/Remove-PSSnapin

In the next post of the series, we will cover the PSSnapin cmdlets, Get-PSSnapin , Add-PSSnapin , and Remove-PSSnapin .

Reference

  • Get-Help | docs.microsoft.com

PowerShell 1.0 – The First Cmdlets

Aaron Rothstein · November 25, 2017 · Leave a Comment

PowerShell 1.0 Cmdlets Table of Contents
PowerShell 1.0 Cmdlets Table of Contents

An introduction and explanation for a post series on the cmdlets of PowerShell 1.0.

[Read more…] about PowerShell 1.0 – The First Cmdlets

Fix “The trust relationship between this workstation and the primary domain has failed.”

Aaron Rothstein · November 24, 2017 · 23 Comments

The trust relationship between this workstation and the primary domain has failed.
The trust relationship between this workstation and the primary domain has failed.

Repair a computer’s corrupted domain trust relationship with PowerShell, no restart required.

[Read more…] about Fix “The trust relationship between this workstation and the primary domain has failed.”

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Interim pages omitted …
  • Page 12
  • Go to Next Page »

Primary Sidebar

Aaron

Think PowerShell

Copyright © 2025 · Monochrome Pro on Genesis Framework · WordPress · Log in