Fix issues identified in  Pull Request comments
Fix issues identified in  Pull Request comments

daxian-dbw/PowerShell,KarolKaczmarek/PowerShell,KarolKaczmarek/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,bmanikm/PowerShell,jsoref/PowerShell,bingbing8/PowerShell,PaulHigin/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,TravisEz13/PowerShell,bingbing8/PowerShell,JamesWTruher/PowerShell-1,jsoref/PowerShell,bmanikm/PowerShell,PaulHigin/PowerShell,bingbing8/PowerShell,TravisEz13/PowerShell,bmanikm/PowerShell,JamesWTruher/PowerShell-1,KarolKaczmarek/PowerShell,bmanikm/PowerShell,bmanikm/PowerShell,bingbing8/PowerShell,daxian-dbw/PowerShell,KarolKaczmarek/PowerShell,JamesWTruher/PowerShell-1,jsoref/PowerShell,jsoref/PowerShell,KarolKaczmarek/PowerShell,jsoref/PowerShell,TravisEz13/PowerShell,bingbing8/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell