PowerShell

PowerShell Notes

There are two categories of PowerShell command: External Command: For example, CMD commands, or programs launched from PowerShell. Output is in plain text. They run as separate processes to PowerShell. Native Command: These are relatively easy to discover, as all can be listed within the PowerShell command line. These return objects, not just text. Commands have a naming convention and format. Native commands typically follow this format: Command-Name -Parameter Value Searching for PowerShell Commands We can get a list of native PowerShell commands with Get-Command.

Entity Framework Core Command Line Reference

Installing Entity command line The .NET Entity Framework command line tools can be installed globally in PowerShell, or just for a specific project. dotnet tool install --global dotnet-ef After installation, it might be a good idea to update the tools: dotnet tool update --global dotnet-ef Add the Entity Framework Packages to a Project In order to use the Entity Framework command line tools for a .NET Core project, it’s necessary to install the Design package.