#pow

Module in powershell

https://docs.microsoft.com/en-us/powershell/module/powershellget/install-module?view=powershell-6 https://docs.microsoft.com/en-us/powershell/developer/mod...
代码星球 ·2021-02-08

add environment path to powershell

https://4sysops.com/archives/use-powershell-to-execute-an-exe/https://stackoverflow.com/questions/714877/setting-windows-powershell-path-variable#If,sometimedur...

wirte function in powershell

https://github.com/dahlbyk/posh-git/blob/master/src/Utils.ps1#L102https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_funct...
代码星球 ·2021-02-08

string operation in powershell

https://blogs.technet.microsoft.com/heyscriptingguy/2014/07/15/keep-your-hands-clean-use-powershell-to-glue-strings-together/ powershellconcatstringBecause...

Powershell 常见问题

WARNING:Thenamesofsomeimportedcommandsfromthemodule'todo'includeunapprovedverbsthatmightmakethemlessdiscoverable.Tofindthecommandswithunapprovedverbs,runtheImpo...
代码星球 ·2021-02-08

get the default proxy by Powershell

https://stackoverflow.com/questions/571429/powershell-web-requests-and-proxies$proxyAddr=(get-itemproperty'HKCU:SoftwareMicrosoftWindowsCurrentVersionInternetSe...
代码星球 ·2021-02-08

通过powershell操作eventlog

~Desktop>(Get-CommandWrite-EventLog).ParametersKeyValue--------WarningActionSystem.Management.Automation.ParameterMetadataRawDataSystem.Management.Automation...

powershell如何查看以及设置环境变量

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-6Get-ChildItemenv:NameValue------...

powershell的stable和preview版本

在看https://github.com/PowerShell/PowerShell/releases的时候发现,已经发布了6.2.0的preview版本的情况下,还会继续发布6.1.3。 在ReadMe中,stable是6.1.3的版本。preview是6.2.0的版本。 ...

powershell脚本的格式化

1.安装visualstudiocode2.安装powershellextension3.打开脚本文件4.F1,然后输入format,找到formatdocument的选项但是这个用起来有点不太理想,傻乎乎的。  通过导入powershellmodule进行操作,module提供了函数Downloa...
代码星球 ·2021-02-08

PowerShell Gallery

https://docs.microsoft.com/en-us/powershell/gallery/getting-startedhttps://www.powershellgallery.com/packages?q=PowerShell-BeautifierNameInstallationPolicySourc...
代码星球 ·2021-02-08

通过cmd调用Powershell脚本

一共需要3个文件,把这3个文件放在一个路径下UTF8NoBOM.bat  这个文件是为了调用ps1pwsh-file"%cd%UTF8NoBOM.ps1"  UTF8NoBOM.ps1  这个文件是为了导入自定义的module,使用自定义module中定义的P...

使用PowerDesigner生成SQL语句

0、我使用的PowerDedigner的版本如下:1、tools>>Resource>>DBMS,然后选中你的数据库版本,双击或点击左上角的properties。2、再选择script>>sql>>format>>CaseSensitivityUsingQuo...

Powerdesigner 生成数据字典

https://www.jianshu.com/p/f491d0d3c503http://blog.csdn.net/adparking/article/details/50402980http://blog.csdn.net/jyf0412/article/details/21900075https://www.cn...

Win7下Powershell 由2.0 升级为 5.1

今天在构建脚本的时候老是提示  Windows7默认的Powershell是2.0,查看版本下载https://www.microsoft.com/en-us/download/details.aspx?id=54616 解压,运行Win7AndW2K8R2-KB3191566-x64.m...
代码星球 ·2021-02-01
首页上一页12345...下一页尾页