PowerShell module containing convience or platform-specific cmdlets for macOS.
Install-Module PSmacOS
to install from PSGallery
Look in the docs folder.
-
Get-Clipboard - get clipboard content as a string and return to the pipeline
-
Set-Clipboard - set clipboard content
-
Show-MessageBox - show a message/alert box
-
Out-GridView - show a searchable table of objects from the pipeline
-
Start-Process
or equivalent that knows about macOS app bundles [like theopen
command but powershelly] -
Invoke-AppleScript
- why not?