en-US/pwshEmojiExplorer-help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Add-EmojiToText</command:name> <command:verb>Add</command:verb> <command:noun>EmojiToText</command:noun> <maml:description> <maml:para>Enhances text by adding emojis based on key words.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Add-EmojiToText function is designed to enrich your text with emojis by identifying key words and appending relevant emojis. It scans the input text for words that can be associated with emojis and inserts an emoji next to each identified word. This function employs a "best effort" approach to match words with emojis, providing a fun and light-hearted way to spruce up messages or texts. Note that the function's ability to find and match emojis is based on simple logic, and it may not always find a perfect match for every word.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Add-EmojiToText</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>Text</maml:name> <maml:Description> <maml:para>Specifies the text to be processed by the function.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Replace</maml:name> <maml:Description> <maml:para>Specifies whether the function should replace the word with the emoji or add the emoji after the word. The default value is $false, which means that the emoji is added after the word. If the value is set to $true, the word is replaced with the emoji.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="1" aliases="none"> <maml:name>Text</maml:name> <maml:Description> <maml:para>Specifies the text to be processed by the function.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Replace</maml:name> <maml:Description> <maml:para>Specifies whether the function should replace the word with the emoji or add the emoji after the word. The default value is $false, which means that the emoji is added after the word. If the value is set to $true, the word is replaced with the emoji.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>Author: Jake Morrison - @jakemorrison - https://www.techthoughts.info/ This function is experimental and intended for casual use to add a fun element to text processing.</maml:para> <maml:para>This function uses the Public data set from the Unicode Data Files and adheres to the Unicode Terms of Use: https://www.unicode.org/copyright.html https://www.unicode.org/license.txt</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title> <dev:code>$sampleText = "Spending the day debugging some code and optimizing algorithms. Later, planning a virtual meeting with my team to discuss cloud computing and data security. Can't forget to update my blog on the latest AI trends. In the evening, it's time to unwind with a sci-fi movie and maybe some online gaming. Proud to be a part of the ever-evolving digital era!" $enhancedText = Add-EmojiToText -Text $sampleText Write-Output $enhancedText</dev:code> <dev:remarks> <maml:para>This example demonstrates how Add-EmojiToText can be used to add a playful touch to a given text by inserting emojis. Emojis related to words like 'cloud', 'AI', 'movie', and 'time' are added next to the corresponding words in the text.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title> <dev:code>$sampleText = "I am going to the airport tomorrow to fly on a plane to Spain. Before I take off I'm going to eat some food. I've heard they have good restaurants at the terminal. Hopefully they have something spicy. You know how much I like hot food! I'm so excited to see you! Can't wait to see you! Love you!" Add-EmojiToText -Text $sampleText</dev:code> <dev:remarks> <maml:para>This example demonstrates how Add-EmojiToText can be used to add a playful touch to a given text by inserting emojis. Emojis related to words like 'airport', 'plane', 'Spain', and 'food' are added next to the corresponding words in the text.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 3 --------------------------</maml:title> <dev:code>$sampleText = "Morning coffee, followed by a workout and a quick check of the news. Work involves writing code, attending meetings, and brainstorming. Lunchtime is for catching up on social media. The evening is for relaxation, maybe with some music, a good book, or a movie. Ending the night by setting the alarm and dreaming about the beach." $enhancedText = Add-EmojiToText -Text $sampleText -Replace Write-Output $enhancedText</dev:code> <dev:remarks> <maml:para>This example demonstrates how Add-EmojiToText can be used to transform a text into a fun, emoji-centric version by replacing key words with their corresponding emojis. The -Replace switch is used to substitute these everyday activities and concepts with relevant emojis, creating an engaging and visually expressive rendition of the text. This playful transformation is perfect for adding a bit of whimsy to messages or social media posts.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>https://pwshEmojiExplorer.readthedocs.io/en/latest/Add-EmojiToText/</maml:linkText> <maml:uri>https://pwshEmojiExplorer.readthedocs.io/en/latest/Add-EmojiToText/</maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>https://www.unicode.org/license.txt</maml:linkText> <maml:uri>https://www.unicode.org/license.txt</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-AllEmoji</command:name> <command:verb>Get</command:verb> <command:noun>AllEmoji</command:noun> <maml:description> <maml:para>Retrieves all emojis.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Get-AllEmoji function retrieves a comprehensive list of emojis. By default, the function returns only 'fully-qualified' emojis, which are the most common and widely supported versions. If you need to include 'minimally-qualified' and 'unqualified' emojis, which might not be as widely supported or are variations of the standard emojis, use the IncludeAll switch.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-AllEmoji</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>PSEmoji</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>Author: Jake Morrison - @jakemorrison - https://www.techthoughts.info/ Qualification levels: - Fully-qualified - a complete, standard emoji - Minimally-qualified - a basic form of an emoji, often lacking detail - Unqualified - a raw, unrefined form of an emoji</maml:para> <maml:para>This function uses the Public data set from the Unicode Data Files and adheres to the Unicode Terms of Use: https://www.unicode.org/copyright.html https://www.unicode.org/license.txt</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title> <dev:code>Get-AllEmoji</dev:code> <dev:remarks> <maml:para>Retrieves all 'fully-qualified' emojis.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title> <dev:code>Get-AllEmoji -IncludeAll</dev:code> <dev:remarks> <maml:para>Retrieves all emojis, including both 'fully-qualified' and 'minimally-qualified'/'unqualified' emojis.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>https://pwshEmojiExplorer.readthedocs.io/en/latest/Get-AllEmoji/</maml:linkText> <maml:uri>https://pwshEmojiExplorer.readthedocs.io/en/latest/Get-AllEmoji/</maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>https://www.unicode.org/license.txt</maml:linkText> <maml:uri>https://www.unicode.org/license.txt</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-Emoji</command:name> <command:verb>Get</command:verb> <command:noun>Emoji</command:noun> <maml:description> <maml:para>Retrieves a specific emoji or a list of emojis based on various search criteria.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>The Get-Emoji function allows users to retrieve emojis by specifying one or more search criteria such as Emoji, Group, SubGroup, ShortCode, HexCodePoint, Decimal, or a general SearchTerm. The function supports both exact and relaxed search terms. Exact search terms provide quick and efficient results, while relaxed search terms perform a more comprehensive search across relevant fields.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-Emoji</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Emoji</maml:name> <maml:Description> <maml:para>Specifies the emoji character to retrieve. Use an exact emoji character for a direct match.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-Emoji</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Group</maml:name> <maml:Description> <maml:para>Specifies the group of emojis to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-Emoji</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SubGroup</maml:name> <maml:Description> <maml:para>Specifies the subgroup of emojis to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-Emoji</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ShortCode</maml:name> <maml:Description> <maml:para>Specifies the shortcode of the emoji to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-Emoji</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>HexCodePoint</maml:name> <maml:Description> <maml:para>Specifies the hexadecimal code point of the emoji to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-Emoji</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Decimal</maml:name> <maml:Description> <maml:para>Specifies the decimal code of the emoji to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Get-Emoji</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SearchTerm</maml:name> <maml:Description> <maml:para>Specifies a general search term to find emojis. Searches across group, subgroup, and description fields using a relaxed search approach.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Emoji</maml:name> <maml:Description> <maml:para>Specifies the emoji character to retrieve. Use an exact emoji character for a direct match.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Group</maml:name> <maml:Description> <maml:para>Specifies the group of emojis to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SubGroup</maml:name> <maml:Description> <maml:para>Specifies the subgroup of emojis to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ShortCode</maml:name> <maml:Description> <maml:para>Specifies the shortcode of the emoji to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>HexCodePoint</maml:name> <maml:Description> <maml:para>Specifies the hexadecimal code point of the emoji to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Decimal</maml:name> <maml:Description> <maml:para>Specifies the decimal code of the emoji to retrieve.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>SearchTerm</maml:name> <maml:Description> <maml:para>Specifies a general search term to find emojis. Searches across group, subgroup, and description fields using a relaxed search approach.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>IncludeAll</maml:name> <maml:Description> <maml:para>Includes all emojis in the output, regardless of their qualification status. By default, only 'fully-qualified' emojis are returned.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues> <command:returnValue> <dev:type> <maml:name>PSEmoji</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>Author: Jake Morrison - @jakemorrison - https://www.techthoughts.info/ Qualification levels: - Fully-qualified - a complete, standard emoji - Minimally-qualified - a basic form of an emoji, often lacking detail - Unqualified - a raw, unrefined form of an emoji</maml:para> <maml:para>This function uses the Public data set from the Unicode Data Files and adheres to the Unicode Terms of Use: https://www.unicode.org/copyright.html https://www.unicode.org/license.txt</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- EXAMPLE 1 --------------------------</maml:title> <dev:code>Get-Emoji -Emoji '😀'</dev:code> <dev:remarks> <maml:para>Retrieves the emoji specified by the direct emoji character.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 2 --------------------------</maml:title> <dev:code>Get-Emoji -Group 'Food & Drink'</dev:code> <dev:remarks> <maml:para>Retrieves all emojis under the exact 'Food & Drink' group.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 3 --------------------------</maml:title> <dev:code>Get-Emoji -Group 'food'</dev:code> <dev:remarks> <maml:para>Performs a relaxed search and retrieves all emojis in groups containing the word 'food'.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 4 --------------------------</maml:title> <dev:code>Get-Emoji -SubGroup 'food-vegetable'</dev:code> <dev:remarks> <maml:para>Retrieves all emojis under the exact 'food-vegetable' subgroup.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 5 --------------------------</maml:title> <dev:code>Get-Emoji -SubGroup 'vegetable'</dev:code> <dev:remarks> <maml:para>Performs a relaxed search and retrieves all emojis in subgroups containing the word 'vegetable'.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 6 --------------------------</maml:title> <dev:code>Get-Emoji -ShortCode ':smiling_face_with_hearts:'</dev:code> <dev:remarks> <maml:para>Retrieves the emoji with the exact shortcode ':smiling_face_with_hearts:'.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 7 --------------------------</maml:title> <dev:code>Get-Emoji -ShortCode 'smiling'</dev:code> <dev:remarks> <maml:para>Performs a relaxed search and retrieves all emojis with shortcode containing 'smiling'.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 8 --------------------------</maml:title> <dev:code>Get-Emoji -HexCodePoint '1F600'</dev:code> <dev:remarks> <maml:para>Retrieves the emoji with the hexadecimal code point '1F600'.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 9 --------------------------</maml:title> <dev:code>Get-Emoji -Decimal 128512</dev:code> <dev:remarks> <maml:para>Retrieves the emoji with the exact decimal code '128512'.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 10 --------------------------</maml:title> <dev:code>Get-Emoji -Decimal '127812', '8205', '129003'</dev:code> <dev:remarks> <maml:para>Retrieves emojis that match all the specified decimal codes.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 11 --------------------------</maml:title> <dev:code>Get-Emoji -SearchTerm 'fork'</dev:code> <dev:remarks> <maml:para>Performs a general search and retrieves all emojis where 'fork' is found in the group, subgroup, or description.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 12 --------------------------</maml:title> <dev:code>Get-Emoji -SearchTerm 'plane' -IncludeAll</dev:code> <dev:remarks> <maml:para>Performs a general search and retrieves all emojis where 'plane' is found in the group, subgroup, or description. Includes all emojis in the output, regardless of their qualification status.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 13 --------------------------</maml:title> <dev:code></dev:code> <dev:remarks> <maml:para></maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- EXAMPLE 14 --------------------------</maml:title> <dev:code>Get-Emoji -SearchTerm 'fork' | Where-Object {$_.Group -eq 'Food & Drink'}</dev:code> <dev:remarks> <maml:para>This example shows how to retrieve all emojis with 'fork' in their group, subgroup, or description, and then filters the results to include only those in the 'Food & Drink' group.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>https://pwshEmojiExplorer.readthedocs.io/en/latest/Get-Emoji/</maml:linkText> <maml:uri>https://pwshEmojiExplorer.readthedocs.io/en/latest/Get-Emoji/</maml:uri> </maml:navigationLink> <maml:navigationLink> <maml:linkText>https://www.unicode.org/license.txt</maml:linkText> <maml:uri>https://www.unicode.org/license.txt</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems> |