Category: powershell

  • [Programmer Tools] Powershell Modules

    The list have been obtained with the help of VisualAPI,former BlocklyAutomation. You can obtain a list on your device by running dotnet tool update –global programmerall –no-cache programerall Then browse to http://localhost:37283/blocklyAutomation/automation/loadexample/powershellModules and press Execute ( You can have automation the same for your site – just contact me) My powershell modules EPS:EPS 1.0.0 EPS…

  • [RO] Evaluare proprie la examenul de evaluare nationala,clasa a 9-a

    Am copil / adolescent care a dat examenul de evaluare nationala – nu conteaza pe ce loc s-a clasat. Ideea este : in functie de rezultatele anterioare,unde are sanse la profilul pe care il vrea ? Excel,Powershell si un pic de API/JSON din HTML rezolvat problema … Mai intii,vedem pe ce loc s-a clasat (…

  • Windows terminal + Powershell to run IDE,Angular,.NET Core

    I work at http://github.com/ignatandrei/BlocklyAutomation – and every time I need to run Angular,Visual Studio Code IDE and .NET Core run ( and Visual Studio  sometimes  – it is more web based) Also,sometimes I need to run in a container – to install globally something that I do not want to have in my PC. So …

  • Fun with Moniker- naming assembly versions

    I liked the way docker generates names for every container instance – it was a funny way to differentiate them. I was thinking  – what about nuget packages – or any other release  ? I have discovered Moniker – https://github.com/alexmg/Moniker . Can be used as in docker – to generate different names at various runs.…

  • See the tests in VSCode and improvements in powershell–part 24

    I wanted that the user can see the tests when running in  VSCode. So in devcontainer.json I have put “extensions”: [ “ms-vscode.csharp” “ms-vscode.csharp”, “hbenl.vscode-test-explorer”, “formulahendry.dotnet-test-explorer” ] and in the settings.json on .vscode folder   dotnet-test-explorer.enableTelemetry”: false, “dotnet-test-explorer.testProjectPath”:”**/*.sln”, “dotnet-test-explorer.autoExpandTree”:true   So far,so good. But – I remember that powershell have a problem. And I figure why…

  • Powershell vs console application

    I have decided to make the utilities that I use in form of Powershell applications instead of Windows / Console applications Pros: There are simpler to use  – just run the powershell The parsing of command line is powerfull in powershell There are simpler to maintain ( just text scripts files) There are no big…

  • WifiHotSpot

      I have become tired of reading about how to enable Wifi HotSpot in Windows 10 . The reference is here: https://msdn.microsoft.com/en-us/library/windows/desktop/dd815243%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396 . ( also,for bandwidth throttling you can try  https://github.com/jagt/clumsy and / or https://reqrypt.org/windivert.html   ) I was trying to make a Windows Store application – but,apparently,it is very difficult to run command lines application…

  • Powershell and always use explicit

      Let’s suppose you have a variable $x=”http://msprogrammer.serviciipeweb.ro/” In powershell the following are the same $x 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 $a $b return $a + $b }   If I call this function with Add…

  • 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)