Category: powershell



I have become tired of reading about how to enable Wifi HotSpot in Windows 10 . The reference is here: . ( also, for bandwidth throttling you can try and / or   )

I was trying to make a Windows Store application – but, apparently, it is very difficult to run command lines application from Windows Store/

So I made a small powershell file ( hosted at )


Powershell and always use explicit


Let’s suppose you have a variable $x=”

In powershell the following are the same


Write-Host $x


I want to make a function that returns a value . Let’s say

Function Add([string] $a, [string]$b)


#debug to see arguments



return $a + $b



If I call this function with

Add 10 17 # the syntax for calling powershell is WITHOUT comma – the comma indicates arry

it shows




However , if I wrote

$x = Add 10 17

it does not wrote




Do you know why ?


Answer in the first comment

powershell and clean iis

Sometimes it is necessary to remove IIS temp files from windows directory

So I have made this following script in powershell

iis reset

What it does:
restarts iis ( run as admin in Windows 7)

Cleans temporary folders from

$windir + “\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files”

$windir + “\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files”

Enjoy !(iis reset)