Get D365ExternalIP - FH-Inway/d365fo.tools GitHub Wiki
Get the external IP address
Get-D365ExternalIP [-SaveToClipboard] [<CommonParameters>]
Get the external IP address by calling an external webpage and interpret the result from that
Get-D365ExternalIP
Will call the external page, interpret the output and display it as output.
A result set example:
40.113.130.229
Get-D365ExternalIP -SaveToClipboard
Will call the external page, interpret the output and display it as output. It will save/copy the IP address into the clipboard.
A result set example:
40.113.130.229
Instruct the cmdlet to copy the IP address directly into the clipboard, to save you the trouble
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tags: DEV, Tier2, DB, Database, Debug, JIT, LCS, Azure DB, IP
Author: Mötz Jensen (@Splaxi)