Skip to content

New-LMGTFY

SYNOPSIS

Generate a Let Me Google That For You (LMGTFY) link.

SYNTAX

New-LMGTFY [-Data] <String> [-IncludeInternetExplainer] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This function generates a Let Me Google That For You (LMGTFY) link based on the provided query. It optionally includes an internet explainer in the generated link.

EXAMPLES

EXAMPLE 1

New-LMGTFY -Data "PowerShell functions"

Generates an LMGTFY link for the query "PowerShell functions".

EXAMPLE 2

New-LMGTFY -Data "How to write a script" -IncludeInternetExplainer

Generates an LMGTFY link for the query "How to write a script" with an internet explainer included.

PARAMETERS

-Data

The search query to include in the LMGTFY link.

Type: String
Parameter Sets: (All)
Aliases: LMGTFY, Query

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-IncludeInternetExplainer

A switch to include an internet explainer in the generated LMGTFY link.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES