(5) PowerShell to operate mysql database (deprecated)

Install the MySQL Cmdlets module PS /Users/sixdog/Documents/PowerShell> Install-Module MySQLCmdlets Untrusted repository You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from ‘PSGallery’? [Y] Yes [A] Yes to All [N] No [L] No […]

(2) PowerShell Cmdlets (Get-Command)

For specific parameters, refer to the official website documentation. I only understand the use of commands and do not deduct details. Official website document Add content to the specified item, such as adding words to a file Cmdlet Add-Content Append text to ps1 files in current directory, but exclude test3.ps1 based on file name #test.ps1 […]

Install Powershell on mac

1. Use Homebrew to install Powershell /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” start installation brew install –cask powershell First of all, there is no permission to report an error. After adding sudo, it is said to be too dangerous and not supported. Change the method 2. Installation of latest preview release via Homebrew on macOS 10.13 […]

Practical application of powershell

Hello everyone, today let’s talk about powershell. PowerShell is a task automation and configuration management framework developed by Microsoft that combines a command-line interface (CLI) and a scripting environment. It was originally released in 2006 to replace traditional command-line tools such as Command Prompt (cmd.exe) in the Windows operating system. PowerShell has become an important […]

WPF controls the version, generation and release of the project through the PowerShell script, with the control of InstallerSetup

Overview In general, the publishing function provided by Visual Studio can meet the basic needs. However, in the actual development process, for complex projects, large-scale projects composed of multiple projects, or projects that require CICD, scripts are often required to control the various steps of the release. For example: The versions of multiple sub-projects are […]

PowerShell install one-click deployment postgres15

postgres preamble PostgreSQL is a powerful open source object-relational database system with more than 35 years of active development that has earned it a solid reputation for reliability, robustness, and performance. Extensive information describing how to install and use PostgreSQL can be found through the official documentation. The open source community provides many useful places […]

[Reprint] Simple configuration and beautification of Powershell and Terminal

Foreword Some developers may be used to using PowerShell, but I am used to developing complex scripts directly in WSL. The Official PowerShell Guide: PowerShell Documentation – PowerShell | Microsoft Docs Currently the default is version 5.x, you can manually install the latest 7.x. Official Documentation: Windows Terminal Custom Prompt Settings | Microsoft Docs PowerShell […]