GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PoshWeb/OpenGraph: Get OpenGraph with PowerShell

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Build
Build
 
 
Commands
Commands
 
 
Types/OpenGraph
Types/OpenGraph
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
OpenGraph.psd1
OpenGraph.psd1
 
 
OpenGraph.psm1
OpenGraph.psm1
 
 
OpenGraph.types.ps1xml
OpenGraph.types.ps1xml
 
 
README.md
README.md
 
 
README.md.ps1
README.md.ps1
 
 

Repository files navigation

OpenGraph

OpenGraph

Get OpenGraph with PowerShell

Installing and Importing

You can install OpenGraph from the PowerShell gallery

Install-Module OpenGraph -Scope CurrentUser -Force

Once installed, you can import the module with:

Import-Module OpenGraph -PassThru

You can also clone the repo and import the module locally:

git clone https://github.com/PoshWeb/OpenGraph
cd ./OpenGraph
Import-Module ./ -PassThru

Functions

OpenGraph has 1 function

Get-OpenGraph

Gets Open Graph metadata for a given URL.

Gets Open Graph metadata for a given URL.

Open Graph is a protocol that enables any web page to become a rich object in a social graph.

It is used many social networks to display rich content when links are shared.

This function retrieves the Open Graph metadata from a given URL and returns it as a custom object.

Parameters
Name Type Description
ArgumentList PSObject[] A list of any arguments.
This allows the command to take natural input.
Url String The URL that may contain Open Graph metadata
Html String Any HTML that may contain open graph metadata.
Data IDictionary A dictionary of additional Open Graph metadata to include in the result
Force SwitchParameter If set, forces the function to retrieve the Open Graph metadata even if it is already cached.
InputObject PSObject[] Any number of input objects
Examples
Example 1
Get-OpenGraph -Url https://abc.com/
Example 2
'https://thebulwark.com/' | Get-OpenGraph
Example 3
OpenGraph https://posh.pckt.blog/static-sites-are-simple-6u51kgj

Types

OpenGraph

Members

Name MemberType
ToString ScriptMethod
get_HTML ScriptProperty

(c) 2025-2026 Start-Automating

LICENSE

About

Get OpenGraph with PowerShell

Topics

opengraphpowershellpowershell-moduleseoweb-standards

Resources

Readme
MIT license
Activity
Custom properties

Stars

3 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.