<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>automate public ip address powershell Archives - the Sysadmin Channel</title>
	<atom:link href="https://thesysadminchannel.com/tag/automate-public-ip-address-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/tag/automate-public-ip-address-powershell/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Wed, 27 Mar 2019 05:53:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
<site xmlns="com-wordpress:feed-additions:1">144174110</site>	<item>
		<title>Find Your Public IP Address Using Powershell</title>
		<link>https://thesysadminchannel.com/find-your-public-ip-address-using-powershell/</link>
					<comments>https://thesysadminchannel.com/find-your-public-ip-address-using-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Thu, 07 Feb 2019 06:47:36 +0000</pubDate>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[automate public ip address powershell]]></category>
		<category><![CDATA[Find Public IP Address Using Powershell]]></category>
		<category><![CDATA[get public ip powershell]]></category>
		<category><![CDATA[ipinfo.io]]></category>
		<category><![CDATA[Public IP Address Using Powershell]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=1382</guid>

					<description><![CDATA[<p>Today I&#8217;m going to share with you how to find your public IP address using Powershell. There might be a time where you might need to sort through multiple public addresses and want to be able to find the WHOIS&#8230; <a href="https://thesysadminchannel.com/find-your-public-ip-address-using-powershell/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/find-your-public-ip-address-using-powershell/">Find Your Public IP Address Using Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today I&#8217;m going to share with you how to find your public IP address using Powershell.  There might be a time where you might need to sort through multiple public addresses and want to be able to find the WHOIS information rather quickly.  To do that, we will use the site <a href="https://ipinfo.io/" rel="noopener" target="_blank">https://ipinfo.io/</a> and calling their API to use with Powershell.  Here&#8217;s how you do it.</p>
<h2>Find Public IP Address Using Powershell</h2>
<pre class="brush: powershell; title: ; notranslate">

PS C:\&gt; Invoke-RestMethod -Uri https://ipinfo.io

ip       : redacted
hostname : redacted
city     : redacted
region   : California
country  : US
loc      : redacted
postal   : redacted
org      : redacted



PS C:\&gt; Invoke-RestMethod -Uri https://ipinfo.io/8.8.8.8

ip       : 8.8.8.8
hostname : google-public-dns-a.google.com
city     : Mountain View
region   : California
country  : US
loc      : 37.3860,-122.0840
postal   : 94035
phone    : 650
org      : AS15169 Google LLC

</pre>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/03/Find-Public-IP-Powershell.png" target="_blank"><img fetchpriority="high" decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/03/Find-Public-IP-Powershell-1024x477.png" alt="Find Public IP Powershell" width="1024" height="477" class="aligncenter size-medium wp-image-1383" srcset="https://thesysadminchannel.com/wp-content/uploads/2019/03/Find-Public-IP-Powershell-1024x477.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2019/03/Find-Public-IP-Powershell-768x357.png 768w, https://thesysadminchannel.com/wp-content/uploads/2019/03/Find-Public-IP-Powershell.png 1229w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p>So I&#8217;m not all for showing you my exact location however, I am all for showing you what Google&#8217;s public DNS server are.  If you omit an IP address, by default it will show your information.  However, if you append an IP address at the end it should give you the details regarding that IP.</p>
<p>The post <a href="https://thesysadminchannel.com/find-your-public-ip-address-using-powershell/">Find Your Public IP Address Using Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/find-your-public-ip-address-using-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1382</post-id>	</item>
	</channel>
</rss>
