<?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>how to increase alexa ranking Archives - the Sysadmin Channel</title>
	<atom:link href="https://thesysadminchannel.com/tag/how-to-increase-alexa-ranking/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/tag/how-to-increase-alexa-ranking/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Tue, 15 Jan 2019 04:52:33 +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>Get Alexa Ranking using Powershell</title>
		<link>https://thesysadminchannel.com/get-alexa-ranking-powershell/</link>
					<comments>https://thesysadminchannel.com/get-alexa-ranking-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Tue, 15 Jan 2019 04:52:33 +0000</pubDate>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[alexa ranking in 2018]]></category>
		<category><![CDATA[alexa ranking script]]></category>
		<category><![CDATA[get free alexa rank]]></category>
		<category><![CDATA[how to increase alexa ranking]]></category>
		<category><![CDATA[how to read alexa rank]]></category>
		<category><![CDATA[manipulate alexa ranking]]></category>
		<category><![CDATA[why is my alexa ranking getting worse]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=1303</guid>

					<description><![CDATA[<p>Inspired by this RidiCurious post, I decided to add to his initial script and give it my own little twist. This will show you how to get Alexa ranking using Powershell. In order to keep things nice and uniform I&#8230; <a href="https://thesysadminchannel.com/get-alexa-ranking-powershell/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/get-alexa-ranking-powershell/">Get Alexa Ranking using Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Inspired by <a href="https://ridicurious.com/2018/09/21/how-to-check-alexa-ranking-using-powershell/" rel="noopener" target="_blank">this RidiCurious post</a>, I decided to add to his initial script and give it my own little twist. This will show you how to get Alexa ranking using Powershell. </p>
<p>In order to keep things nice and uniform I wanted to remove the <code>http(s)://</code> from the beginning of the link url.  I also wanted to remove any trailing slashes to give it the added visual effect.  To do that I used some regex wizardry and slapped that into a function.  The function, by default, allows for domain names to be passed through the pipeline and goes through each domain one by one and outputs into a nice table.  Let&#8217;s take a look at the script below.<br />
&nbsp;</p>
<h2>Get Alexa Ranking Using Powershell</h2>
<pre class="brush: powershell; title: ; notranslate">

Function Get-AlexaRank {
&lt;#
.Synopsis
    This script will get the current Alexa rank. Inspired by: https://ridicurious.com/2018/09/21/how-to-check-alexa-ranking-using-powershell/
    For updated help and examples refer to -Online version.
 

.DESCRIPTION
    Search for a single site or enter in multiple sites.
    For updated help and examples refer to -Online version.


.NOTES   
    Name: Get-AlexaRank
    Author: The Sysadmin Channel
    Version: 1.0
    DateCreated: 2019-Jan-09
    DateUpdated: 2019-Jan-09

.LINK
    https://thesysadminchannel.com/get-alexa-ranking-powershell -


.EXAMPLE
    For updated help and examples refer to -Online version.

#&gt;

    [CmdletBinding()]
    param(
        [Parameter(
            ValueFromPipeline=$true,
            ValueFromPipelineByPropertyName=$true,
            Position=0)]

        [string[]]  $DomainList = 'https://thesysadminchannel.com/'
    )

    BEGIN {}

    PROCESS {
        foreach ($Domain in $DomainList) {
            try {
                #Removing leading http(s) and trailing forward slash if it's added.
                $Domain = $Domain -Replace ('htt.+://')
                $Domain = $Domain -Replace ('/.+|/')

                $Data = (Invoke-RestMethod &quot;http://data.alexa.com/data?cli=10&amp;dat=s&amp;url=$Domain&quot;).alexa.sd[1]
                $USRank = $Data.Country | Where-Object {$_.Code -eq 'US'} | select -ExpandProperty Rank
                $Properties = @{Domain      = $Domain
                                GlobalRank  = '{0:N0}' -f ([int]$Data.Popularity.Text)
                                USRank      = '{0:N0}' -f ([int]$USRank)
                                GlobalDelta = '{0:N0}' -f ([int]$Data.Rank.Delta)   
                                }

                $Object = New-Object -TypeName PSCustomObject -Property $Properties | Select Domain, GlobalRank, USRank, GlobalDelta

            } catch {
                $ErrorMessage = $Domain + &quot; Error: &quot; + $_.Exception.Message

            } finally {
                Write-Output $Object 
                
                $Object = $null
                $Data   = $null
                $Domain = $null
            }
        }
    }

    END {}
}

</pre>
<p>&nbsp;</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/01/Get-Alexa-Rankings-Powershell.png" target="_blank"><img fetchpriority="high" decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/01/Get-Alexa-Rankings-Powershell-1024x477.png" alt="Get-Alexa Rankings Powershell" width="1024" height="477" class="aligncenter size-medium wp-image-1306" srcset="https://thesysadminchannel.com/wp-content/uploads/2019/01/Get-Alexa-Rankings-Powershell-1024x477.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2019/01/Get-Alexa-Rankings-Powershell-768x357.png 768w, https://thesysadminchannel.com/wp-content/uploads/2019/01/Get-Alexa-Rankings-Powershell.png 1229w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2019/01/Alexa-Site-Info-theSysadminChannel.png" target="_blank"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2019/01/Alexa-Site-Info-theSysadminChannel-1024x283.png" alt="Alexa Site Info theSysadminChannel" width="1024" height="283" class="aligncenter size-medium wp-image-1307" srcset="https://thesysadminchannel.com/wp-content/uploads/2019/01/Alexa-Site-Info-theSysadminChannel-1024x283.png 1024w, https://thesysadminchannel.com/wp-content/uploads/2019/01/Alexa-Site-Info-theSysadminChannel-768x212.png 768w, https://thesysadminchannel.com/wp-content/uploads/2019/01/Alexa-Site-Info-theSysadminChannel.png 1155w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></p>
<p>Given the 2 screenshots it&#8217;s easy to read the alexa rank. One thing to note is that a negative delta is a good thing.  It means that your site is growing in traffic and the closer you are to 1, the better.  In my case I went more than 1.2 million spots in in rank over the past 3 months (GlobalDelta).  While search engine giants, Google and Youtube secured their spots as number 1 and number 2 most visited sites in the world.</p>
<p>&nbsp;</p>
<p>Speaking of Youtube,  don&#8217;t forget to check out our very own <a href="https://www.youtube.com/channel/UC9VnUjmZrNG3ithDZmG-S-g" rel="noopener" target="_blank">Youtube Channel</a> for awesome sysadmin content.  That&#8217;s only if you&#8217;re into that kind of stuff.</p>
<p>The post <a href="https://thesysadminchannel.com/get-alexa-ranking-powershell/">Get Alexa Ranking using Powershell</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/get-alexa-ranking-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1303</post-id>	</item>
	</channel>
</rss>
