< Back
Get-AzureDatacenterIPOrNo
Post
NAME Get-AzureDatacenterIPOrNo
SYNOPSIS
This cmdlet lets you verify if IP address is Azure datacenter
IP Address or no. This information is based from publicly available
document: Microsoft Azure Datacenter IP Ranges
from: https://www.microsoft.com/en-us/downloa ... x?id=41653
SYNTAX
Get-AzureDatacenterIPOrNo [-IP] <String> [-UpdateCache] [<CommonParameters>]
DESCRIPTION
Use this cmdlet for verifying if IP address is from known Azure
datacenter IP address space.
NOTE: This script uses "IPInRange" function from PSMailTools repository:
https://github.com/omniomi/PSMailTools
Original source url:
https://raw.githubusercontent.com/omnio ... nRange.ps1
PARAMETERS
-IP <String>
IP address to check if it's part of the know Azure Datacenter IP Ranges.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UpdateCache [<SwitchParameter>]
Fetch updated IP address range file from internet.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AzureDatacenterIPOrNo -IP 40.82.192.123
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AzureDatacenterIPOrNo -IP 40.82.192.123 -UpdateCache
RELATED LINKS
https://www.microsoft.com/en-us/downloa ... x?id=41653
SYNOPSIS
This cmdlet lets you verify if IP address is Azure datacenter
IP Address or no. This information is based from publicly available
document: Microsoft Azure Datacenter IP Ranges
from: https://www.microsoft.com/en-us/downloa ... x?id=41653
SYNTAX
Get-AzureDatacenterIPOrNo [-IP] <String> [-UpdateCache] [<CommonParameters>]
DESCRIPTION
Use this cmdlet for verifying if IP address is from known Azure
datacenter IP address space.
NOTE: This script uses "IPInRange" function from PSMailTools repository:
https://github.com/omniomi/PSMailTools
Original source url:
https://raw.githubusercontent.com/omnio ... nRange.ps1
PARAMETERS
-IP <String>
IP address to check if it's part of the know Azure Datacenter IP Ranges.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-UpdateCache [<SwitchParameter>]
Fetch updated IP address range file from internet.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AzureDatacenterIPOrNo -IP 40.82.192.123
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AzureDatacenterIPOrNo -IP 40.82.192.123 -UpdateCache
RELATED LINKS
https://www.microsoft.com/en-us/downloa ... x?id=41653