./hoge.ps1
powershell -command ./hoge.ps1

上の二種類の起動方法を、hoge.ps1自身の処理において識別することって出来ない?