Resolve-MsIdAzureIpAddress
SYNOPSIS
Lookup Azure IP address for Azure Cloud, Region, and Service Tag.
SYNTAX
InputObject
Resolve-MsIdAzureIpAddress [-InputObjects] <Object[]> [-Clouds <String[]>] [-ForceRefresh]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
IpAddress
Resolve-MsIdAzureIpAddress [-IpAddresses] <IPAddress[]> [-Clouds <String[]>] [-ForceRefresh]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
{{ Fill in the Description }}
EXAMPLES
EXAMPLE 1
$IpAddress = Resolve-DnsName login.microsoftonline.com | Where-Object QueryType -eq A | Select-Object -First 1 -ExpandProperty IPAddress
PS > Resolve-MsIdAzureIpAddress $IpAddress
Lookup Azure IP address for Azure Cloud, Region, and Service Tag.
EXAMPLE 2
Resolve-MsIdAzureIpAddress graph.microsoft.com
Lookup Azure IP address for Azure Cloud, Region, and Service Tag.
PARAMETERS
-InputObjects
DNS Name or IP Address
Type: Object[]
Parameter Sets: InputObject
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-IpAddresses
IP Address of Azure Service
Type: IPAddress[]
Parameter Sets: IpAddress
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Clouds
Name of Azure Cloud. Valid values are: Public, Government, Germany, China
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @('Public', 'Government', 'Germany', 'China')
Accept pipeline input: False
Accept wildcard characters: False
-ForceRefresh
Bypass cache and download data again.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
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.