top of page

#######################################################
#    Increase WebPage view
#    ***   Powered by BG   ***
#
# CMD :
# C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
# -File P:\Test\Powershell\Script\IncreaseWebPageview.ps1
###################################

Write-Host "/// --- \\\" -ForegroundColor Cyan
Write-Host "Start viewing WebPage" -ForegroundColor Cyan

# Input by User 1 :
Write-Host "Who is the Webpage?" -BackgroundColor DarkMagenta
$Webpage = Read-Host "Webpage"
# https://www.crazytraderfx.com/post/live-account

# Input by User 2 :
Write-Host "How many times do you want to wiew this Link?" -BackgroundColor DarkMagenta
$Number = Read-Host "Total"

# Input by User 3 :
Write-Host "How often do we visit the link (in seconds)?" -BackgroundColor DarkMagenta
$Seconds = Read-Host "Seconds"

Write-Host "Processing query with your inputs..." -ForegroundColor Cyan

# Loop
For ($i=1; $i -le $Number; $i++) {

# Website.. increase count pageviews
start "$Webpage"

Write-Host "Page viewed +"$i "!" -ForegroundColor Green

# On attend x secondes avant de cloturer IE
start-sleep -s $Seconds

Get-Process iexplore | Foreach-Object { $_.CloseMainWindow() | Out-Null } | stop-process –force



}# End



Write-Host "\\\ --- ///" -ForegroundColor Cyan
Write-Host "The End" -ForegroundColor Cyan








 

bottom of page