PowerShell开源跨平台

CentOS上面安装PowerShell 1


今天终于有空安装一台CentOS虚拟机来测试PowerShell,Github上给出的安装包地址受限于网络不稳定因素,经常安装会中断,于是我先将安装包下载到Windows机器上,然后共享挂载给Linux,再安装。

Windows主机与Linux虚拟机之间共享文件,这里略过,这里分享出

powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rmp 安装包的地址:

GitHub:powershell-6.0.0_alpha.13-1.el7.centos.x86_64.rpm

百度云盘: https://pan.baidu.com/s/1qYctNOw 密码: k1ug

下面贴出具体的安装输出:

[root@localhost ~]# yum install /mnt/Windows/powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rpm
Loaded plugins: fastestmirror
Examining /mnt/Windows/powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rpm: powershell-6.0.0_alpha.12-1.el7.centos.x86_64
Marking /mnt/Windows/powershell-6.0.0_alpha.12-1.el7.centos.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package powershell.x86_64 0:6.0.0_alpha.12-1.el7.centos will be installed
--> Processing Dependency: libicu for package: powershell-6.0.0_alpha.12-1.el7.centos.x86_64
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
--> Processing Dependency: libunwind for package: powershell-6.0.0_alpha.12-1.el7.centos.x86_64
--> Processing Dependency: uuid for package: powershell-6.0.0_alpha.12-1.el7.centos.x86_64
--> Running transaction check
---> Package libicu.x86_64 0:50.1.2-15.el7 will be installed
---> Package libunwind.x86_64 2:1.1-5.el7_2.2 will be installed
---> Package uuid.x86_64 0:1.6.2-26.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package    Arch   Version                     Repository                  Size
================================================================================
Installing:
 powershell x86_64 6.0.0_alpha.12-1.el7.centos /powershell-6.0.0_alpha.12-1.el7.centos.x86_64
                                                                          121 M
Installing for dependencies:
 libicu     x86_64 50.1.2-15.el7               base                       6.9 M
 libunwind  x86_64 2:1.1-5.el7_2.2             updates                     56 k
 uuid       x86_64 1.6.2-26.el7                base                        55 k

Transaction Summary
================================================================================
Install  1 Package (+3 Dependent packages)

Total size: 128 M
Total download size: 7.0 M
Installed size: 146 M


Downloading packages:
(1/3): libunwind-1.1-5.el7_2.2.x86_64.rpm                  |  56 kB   00:00
(2/3): uuid-1.6.2-26.el7.x86_64.rpm                        |  55 kB   00:00
(3/3): libicu-50.1.2-15.el7.x86_64.rpm                     | 6.9 MB   00:02
--------------------------------------------------------------------------------
Total                                              3.2 MB/s | 7.0 MB  00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2:libunwind-1.1-5.el7_2.2.x86_64                             1/4
  Installing : uuid-1.6.2-26.el7.x86_64                                     2/4
  Installing : libicu-50.1.2-15.el7.x86_64                                  3/4
  Installing : powershell-6.0.0_alpha.12-1.el7.centos.x86_64                4/4
  Verifying  : powershell-6.0.0_alpha.12-1.el7.centos.x86_64                1/4
  Verifying  : libicu-50.1.2-15.el7.x86_64                                  2/4
  Verifying  : uuid-1.6.2-26.el7.x86_64                                     3/4
  Verifying  : 2:libunwind-1.1-5.el7_2.2.x86_64                             4/4

Installed:
  powershell.x86_64 0:6.0.0_alpha.12-1.el7.centos

Dependency Installed:
  libicu.x86_64 0:50.1.2-15.el7         libunwind.x86_64 2:1.1-5.el7_2.2
  uuid.x86_64 0:1.6.2-26.el7

Complete!

安装结束后在Linux控制台输入PowerShell,即可启动PowerShell

[root@localhost ~]# powershell
PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS /root>

然后我们着重验证一下版本信息:

PS /root> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   3.0.0.0
GitCommitId                    v6.0.0-alpha.12
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

还有自动化变量:

PS /root> Get-Variable

Name                           Value
----                           -----
?                              True
^
$
args                           {}
ConfirmPreference              High
ConsoleFileName
DebugPreference                SilentlyContinue
Error                          {}
ErrorActionPreference          Continue
ErrorView                      NormalView
ExecutionContext               System.Management.Automation.EngineIntrinsics
false                          False
FormatEnumerationLimit         4
HOME                           /root
Host                           System.Management.Automation.Internal.Host.InternalHost
InformationPreference          SilentlyContinue
input                          System.Collections.ArrayList+ArrayListEnumeratorSimple
IsCoreCLR                      True
IsLinux                        True
IsOSX                          False
IsWindows                      False
MaximumHistoryCount            4096
MyInvocation                   System.Management.Automation.InvocationInfo
NestedPromptLevel              0
null
OutputEncoding                 System.Text.ASCIIEncoding
PID                            2532
PROFILE                        /root/.config/powershell/Microsoft.PowerShell_profile.ps1
ProgressPreference             Continue
PSBoundParameters              {}
PSCommandPath
PSCulture                      en-US
PSDefaultParameterValues       {}
PSEdition                      Core
PSEmailServer
PSHOME                         /opt/microsoft/powershell/6.0.0-alpha.12
PSScriptRoot
PSSessionApplicationName       wsman
PSSessionConfigurationName     http://schemas.microsoft.com/powershell/Microsoft.PowerShell
PSSessionOption                System.Management.Automation.Remoting.PSSessionOption
PSUICulture                    en-US
PSVersionTable                 {PSVersion, PSEdition, PSCompatibleVersions, BuildVersion...}
PWD                            /root
ShellId                        Microsoft.PowerShell
StackTrace
true                           True
VerbosePreference              SilentlyContinue
WarningPreference              Continue
WhatIfPreference               False

最重要的当然是查看支持的PowerShell命令。那就用PowerShell生成一张Linux PowerShell命令表,命令如下:

Get-command |
 Sort-Object NounName | 
select Name,CommandType,Source | 
ConvertTo-Html

Linux上的PowerShell命令一览表

NameCommandTypeSource
Add-NodeKeysFunctionPSDesiredStateConfiguration
Install-PackageCmdletPackageManagement
Import-PSSessionCmdletMicrosoft.PowerShell.Utility
Import-PackageProviderCmdletPackageManagement
Import-ModuleCmdletMicrosoft.PowerShell.Core
Import-LocalizedDataCmdletMicrosoft.PowerShell.Utility
Import-CsvCmdletMicrosoft.PowerShell.Utility
Import-ClixmlCmdletMicrosoft.PowerShell.Utility
Import-AliasCmdletMicrosoft.PowerShell.Utility
Group-ObjectCmdletMicrosoft.PowerShell.Utility
Get-VariableCmdletMicrosoft.PowerShell.Utility
Get-UniqueCmdletMicrosoft.PowerShell.Utility
Get-UICultureCmdletMicrosoft.PowerShell.Utility
Get-TypeDataCmdletMicrosoft.PowerShell.Utility
Get-TraceSourceCmdletMicrosoft.PowerShell.Utility
Get-RunspaceDebugCmdletMicrosoft.PowerShell.Utility
Get-RunspaceCmdletMicrosoft.PowerShell.Utility
Get-RandomCmdletMicrosoft.PowerShell.Utility
Install-PackageProviderCmdletPackageManagement
Invoke-CommandCmdletMicrosoft.PowerShell.Core
Invoke-ExpressionCmdletMicrosoft.PowerShell.Utility
Invoke-HistoryCmdletMicrosoft.PowerShell.Core
New-PSSessionCmdletMicrosoft.PowerShell.Core
New-PSRoleCapabilityFileCmdletMicrosoft.PowerShell.Core
New-PSDriveCmdletMicrosoft.PowerShell.Management
New-ObjectCmdletMicrosoft.PowerShell.Utility
New-ModuleManifestCmdletMicrosoft.PowerShell.Core
New-ModuleCmdletMicrosoft.PowerShell.Core
New-ItemPropertyCmdletMicrosoft.PowerShell.Management
New-ItemCmdletMicrosoft.PowerShell.Management
Get-PSSessionConfigurationCmdletMicrosoft.PowerShell.Core
New-EventCmdletMicrosoft.PowerShell.Utility
Move-ItemPropertyCmdletMicrosoft.PowerShell.Management
Move-ItemCmdletMicrosoft.PowerShell.Management
Measure-ObjectCmdletMicrosoft.PowerShell.Utility
Measure-CommandCmdletMicrosoft.PowerShell.Utility
Join-PathCmdletMicrosoft.PowerShell.Management
Invoke-WebRequestCmdletMicrosoft.PowerShell.Utility
Invoke-RestMethodCmdletMicrosoft.PowerShell.Utility
Invoke-ItemCmdletMicrosoft.PowerShell.Management
New-AliasCmdletMicrosoft.PowerShell.Utility
Get-PSSessionCapabilityCmdletMicrosoft.PowerShell.Core
Get-PSSessionCmdletMicrosoft.PowerShell.Core
Get-PSReadlineOptionCmdletPSReadLine
Get-EventSubscriberCmdletMicrosoft.PowerShell.Utility
Get-EventCmdletMicrosoft.PowerShell.Utility
Get-DateCmdletMicrosoft.PowerShell.Utility
Get-CultureCmdletMicrosoft.PowerShell.Utility
Get-CredentialCmdletMicrosoft.PowerShell.Security
Get-ContentCmdletMicrosoft.PowerShell.Management
Get-CommandCmdletMicrosoft.PowerShell.Core
Get-ChildItemCmdletMicrosoft.PowerShell.Management
Get-ExecutionPolicyCmdletMicrosoft.PowerShell.Security
Get-AliasCmdletMicrosoft.PowerShell.Utility
Format-TableCmdletMicrosoft.PowerShell.Utility
Format-ListCmdletMicrosoft.PowerShell.Utility
Format-CustomCmdletMicrosoft.PowerShell.Utility
ForEach-ObjectCmdletMicrosoft.PowerShell.Core
Find-PackageProviderCmdletPackageManagement
Find-PackageCmdletPackageManagement
Export-PSSessionCmdletMicrosoft.PowerShell.Utility
Export-ModuleMemberCmdletMicrosoft.PowerShell.Core
Format-WideCmdletMicrosoft.PowerShell.Utility
New-PSSessionConfigurationFileCmdletMicrosoft.PowerShell.Core
Get-FormatDataCmdletMicrosoft.PowerShell.Utility
Get-HistoryCmdletMicrosoft.PowerShell.Core
Get-PSReadlineKeyHandlerCmdletPSReadLine
Get-PSProviderCmdletMicrosoft.PowerShell.Management
Get-PSHostProcessInfoCmdletMicrosoft.PowerShell.Core
Get-PSDriveCmdletMicrosoft.PowerShell.Management
Get-PSCallStackCmdletMicrosoft.PowerShell.Utility
Get-PSBreakpointCmdletMicrosoft.PowerShell.Utility
Get-ProcessCmdletMicrosoft.PowerShell.Management
Get-PackageSourceCmdletPackageManagement
Get-HelpCmdletMicrosoft.PowerShell.Core
Get-PackageProviderCmdletPackageManagement
Get-ModuleCmdletMicrosoft.PowerShell.Core
Get-MemberCmdletMicrosoft.PowerShell.Utility
Get-LocationCmdletMicrosoft.PowerShell.Management
Get-JobCmdletMicrosoft.PowerShell.Core
Get-ItemPropertyValueCmdletMicrosoft.PowerShell.Management
Get-ItemPropertyCmdletMicrosoft.PowerShell.Management
Get-ItemCmdletMicrosoft.PowerShell.Management
Get-HostCmdletMicrosoft.PowerShell.Utility
Get-PackageCmdletPackageManagement
Export-FormatDataCmdletMicrosoft.PowerShell.Utility
New-PSSessionOptionCmdletMicrosoft.PowerShell.Core
New-TimeSpanCmdletMicrosoft.PowerShell.Utility
Tee-ObjectCmdletMicrosoft.PowerShell.Utility
Stop-TranscriptCmdletMicrosoft.PowerShell.Host
Stop-ProcessCmdletMicrosoft.PowerShell.Management
Stop-JobCmdletMicrosoft.PowerShell.Core
Start-TranscriptCmdletMicrosoft.PowerShell.Host
Start-SleepCmdletMicrosoft.PowerShell.Utility
Start-ProcessCmdletMicrosoft.PowerShell.Management
Start-JobCmdletMicrosoft.PowerShell.Core
Split-PathCmdletMicrosoft.PowerShell.Management
Sort-ObjectCmdletMicrosoft.PowerShell.Utility
Set-VariableCmdletMicrosoft.PowerShell.Utility
Set-TraceSourceCmdletMicrosoft.PowerShell.Utility
Set-StrictModeCmdletMicrosoft.PowerShell.Core
Set-PSSessionConfigurationCmdletMicrosoft.PowerShell.Core
Set-PSReadlineOptionCmdletPSReadLine
Set-PSReadlineKeyHandlerCmdletPSReadLine
Set-PSDebugCmdletMicrosoft.PowerShell.Core
Test-ModuleManifestCmdletMicrosoft.PowerShell.Core
Test-PathCmdletMicrosoft.PowerShell.Management
Test-PSSessionConfigurationFileCmdletMicrosoft.PowerShell.Core
Trace-CommandCmdletMicrosoft.PowerShell.Utility
Write-ProgressCmdletMicrosoft.PowerShell.Utility
Write-OutputCmdletMicrosoft.PowerShell.Utility
Write-InformationCmdletMicrosoft.PowerShell.Utility
Write-HostCmdletMicrosoft.PowerShell.Utility
Write-ErrorCmdletMicrosoft.PowerShell.Utility
Write-DebugCmdletMicrosoft.PowerShell.Utility
Where-ObjectCmdletMicrosoft.PowerShell.Core
Wait-ProcessCmdletMicrosoft.PowerShell.Management
Set-PSBreakpointCmdletMicrosoft.PowerShell.Utility
Wait-JobCmdletMicrosoft.PowerShell.Core
Wait-DebuggerCmdletMicrosoft.PowerShell.Utility
Update-TypeDataCmdletMicrosoft.PowerShell.Utility
Update-HelpCmdletMicrosoft.PowerShell.Core
Update-FormatDataCmdletMicrosoft.PowerShell.Utility
Unregister-PSSessionConfigurationCmdletMicrosoft.PowerShell.Core
Unregister-PackageSourceCmdletPackageManagement
Unregister-EventCmdletMicrosoft.PowerShell.Utility
Uninstall-PackageCmdletPackageManagement
Wait-EventCmdletMicrosoft.PowerShell.Utility
Set-PackageSourceCmdletPackageManagement
Set-LocationCmdletMicrosoft.PowerShell.Management
Set-ItemPropertyCmdletMicrosoft.PowerShell.Management
Remove-ItemCmdletMicrosoft.PowerShell.Management
Remove-EventCmdletMicrosoft.PowerShell.Utility
Register-PSSessionConfigurationCmdletMicrosoft.PowerShell.Core
Register-PackageSourceCmdletPackageManagement
Register-ObjectEventCmdletMicrosoft.PowerShell.Utility
Register-EngineEventCmdletMicrosoft.PowerShell.Utility
Register-ArgumentCompleterCmdletMicrosoft.PowerShell.Core
Receive-PSSessionCmdletMicrosoft.PowerShell.Core
Remove-ItemPropertyCmdletMicrosoft.PowerShell.Management
Receive-JobCmdletMicrosoft.PowerShell.Core
Push-LocationCmdletMicrosoft.PowerShell.Management
Pop-LocationCmdletMicrosoft.PowerShell.Management
Out-StringCmdletMicrosoft.PowerShell.Utility
Out-NullCmdletMicrosoft.PowerShell.Core
Out-HostCmdletMicrosoft.PowerShell.Core
Out-FileCmdletMicrosoft.PowerShell.Utility
Out-DefaultCmdletMicrosoft.PowerShell.Core
New-VariableCmdletMicrosoft.PowerShell.Utility
Read-HostCmdletMicrosoft.PowerShell.Utility
New-PSTransportOptionCmdletMicrosoft.PowerShell.Core
Remove-JobCmdletMicrosoft.PowerShell.Core
Remove-PSBreakpointCmdletMicrosoft.PowerShell.Utility
Set-ItemCmdletMicrosoft.PowerShell.Management
Set-ExecutionPolicyCmdletMicrosoft.PowerShell.Security
Set-DateCmdletMicrosoft.PowerShell.Utility
Set-ContentCmdletMicrosoft.PowerShell.Management
Set-AliasCmdletMicrosoft.PowerShell.Utility
Select-XmlCmdletMicrosoft.PowerShell.Utility
Select-StringCmdletMicrosoft.PowerShell.Utility
Select-ObjectCmdletMicrosoft.PowerShell.Utility
Remove-ModuleCmdletMicrosoft.PowerShell.Core
Save-PackageCmdletPackageManagement
Resolve-PathCmdletMicrosoft.PowerShell.Management
Rename-ItemPropertyCmdletMicrosoft.PowerShell.Management
Rename-ItemCmdletMicrosoft.PowerShell.Management
Remove-VariableCmdletMicrosoft.PowerShell.Utility
Remove-TypeDataCmdletMicrosoft.PowerShell.Utility
Remove-PSSessionCmdletMicrosoft.PowerShell.Core
Remove-PSReadlineKeyHandlerCmdletPSReadLine
Remove-PSDriveCmdletMicrosoft.PowerShell.Management
Save-HelpCmdletMicrosoft.PowerShell.Core
Export-CsvCmdletMicrosoft.PowerShell.Utility
Export-ClixmlCmdletMicrosoft.PowerShell.Utility
Export-AliasCmdletMicrosoft.PowerShell.Utility
InFunctionPester
ImportSystemModulesFunction
ImportClassResourcesFromModuleFunctionPSDesiredStateConfiguration
ImportCimAndScriptKeywordsFromModuleFunctionPSDesiredStateConfiguration
Import-PowerShellDataFileFunctionMicrosoft.PowerShell.Utility
helpFunction
GetSyntaxFunctionPSDesiredStateConfiguration
GetResourceFromKeywordFunctionPSDesiredStateConfiguration
GetPatternsFunctionPSDesiredStateConfiguration
GetModuleFunctionPSDesiredStateConfiguration
GetImplementingModulePathFunctionPSDesiredStateConfiguration
GetCompositeResourceFunctionPSDesiredStateConfiguration
Get-VerbFunction
Get-TestDriveItemFunctionPester
Get-PublicKeyFromStoreFunctionPSDesiredStateConfiguration
Get-PublicKeyFromFileFunctionPSDesiredStateConfiguration
Get-PSTopConfigurationNameFunctionPSDesiredStateConfiguration
Initialize-ConfigurationRuntimeStateFunctionPSDesiredStateConfiguration
InModuleScopeFunctionPester
Install-ModuleFunctionPowerShellGet
Install-ScriptFunctionPowerShellGet
Publish-ModuleFunctionPowerShellGet
PSConsoleHostReadlineFunctionPSReadLine
promptFunction
PauseFunction
ossFunction
NodeFunctionPSDesiredStateConfiguration
New-TemporaryFileFunctionMicrosoft.PowerShell.Utility
New-ScriptFileInfoFunctionPowerShellGet
Get-PSRepositoryFunctionPowerShellGet
New-GuidFunctionMicrosoft.PowerShell.Utility
New-DscChecksumFunctionPSDesiredStateConfiguration
moreFunction
MockFunctionPester
ItFunctionPester
IsPatternMatchedFunctionPSDesiredStateConfiguration
IsHiddenResourceFunctionPSDesiredStateConfiguration
Invoke-PesterFunctionPester
Invoke-MockFunctionPester
New-FixtureFunctionPester
Get-PSMetaConfigurationProcessedFunctionPSDesiredStateConfiguration
Get-PSMetaConfigDocumentInstVersionInfoFunctionPSDesiredStateConfiguration
Get-PSDefaultConfigurationDocumentFunctionPSDesiredStateConfiguration
Expand-ArchiveFunctionMicrosoft.PowerShell.Archive
DescribeFunctionPester
ConvertTo-MOFInstanceFunctionPSDesiredStateConfiguration
ContextFunctionPester
ConfigurationFunctionPSDesiredStateConfiguration
Compress-ArchiveFunctionMicrosoft.PowerShell.Archive
Clear-HostFunction
CheckResourceFoundFunctionPSDesiredStateConfiguration
Find-CommandFunctionPowerShellGet
cd\Function
BeforeEachFunctionPester
BeforeAllFunctionPester
Assert-VerifiableMocksFunctionPester
Assert-MockCalledFunctionPester
AfterEachFunctionPester
AfterAllFunctionPester
AddDscResourcePropertyFromMetadataFunctionPSDesiredStateConfiguration
AddDscResourcePropertyFunctionPSDesiredStateConfiguration
cd..Function
Publish-ScriptFunctionPowerShellGet
Find-DscResourceFunctionPowerShellGet
Find-RoleCapabilityFunctionPowerShellGet
Get-PSCurrentConfigurationNodeFunctionPSDesiredStateConfiguration
Get-PositionInfoFunctionPSDesiredStateConfiguration
Get-MofInstanceTextFunctionPSDesiredStateConfiguration
Get-MofInstanceNameFunctionPSDesiredStateConfiguration
Get-MockDynamicParametersFunctionPester
Get-InstalledScriptFunctionPowerShellGet
Get-InstalledModuleFunctionPowerShellGet
Get-InnerMostErrorRecordFunctionPSDesiredStateConfiguration
Find-ModuleFunctionPowerShellGet
Get-FileHashFunctionMicrosoft.PowerShell.Utility
Get-DSCResourceModulesFunctionPSDesiredStateConfiguration
Get-DscResourceFunctionPSDesiredStateConfiguration
Get-ConfigurationErrorCountFunctionPSDesiredStateConfiguration
Get-ComplexResourceQualifierFunctionPSDesiredStateConfiguration
Get-CompatibleVersionAddtionaPropertiesStrFunctionPSDesiredStateConfiguration
Generate-VersionInfoFunctionPSDesiredStateConfiguration
Format-HexFunctionMicrosoft.PowerShell.Utility
Find-ScriptFunctionPowerShellGet
Get-EncryptedPasswordFunctionPSDesiredStateConfiguration
ReadEnvironmentFileFunctionPSDesiredStateConfiguration
Register-PSRepositoryFunctionPowerShellGet
Save-ModuleFunctionPowerShellGet
ConvertFrom-SecureStringCmdletMicrosoft.PowerShell.Security
ConvertFrom-JsonCmdletMicrosoft.PowerShell.Utility
ConvertFrom-CsvCmdletMicrosoft.PowerShell.Utility
Convert-PathCmdletMicrosoft.PowerShell.Management
Connect-PSSessionCmdletMicrosoft.PowerShell.Core
Compare-ObjectCmdletMicrosoft.PowerShell.Utility
Clear-VariableCmdletMicrosoft.PowerShell.Utility
Clear-ItemPropertyCmdletMicrosoft.PowerShell.Management
ConvertFrom-StringDataCmdletMicrosoft.PowerShell.Utility
Clear-ItemCmdletMicrosoft.PowerShell.Management
Clear-ContentCmdletMicrosoft.PowerShell.Management
Add-TypeCmdletMicrosoft.PowerShell.Utility
Add-MemberCmdletMicrosoft.PowerShell.Utility
Add-HistoryCmdletMicrosoft.PowerShell.Core
Add-ContentCmdletMicrosoft.PowerShell.Management
WriteFileFunctionPSDesiredStateConfiguration
Write-NodeMOFFileFunctionPSDesiredStateConfiguration
Write-MetaConfigFileFunctionPSDesiredStateConfiguration
Clear-HistoryCmdletMicrosoft.PowerShell.Core
Write-LogFunctionPSDesiredStateConfiguration
ConvertTo-CsvCmdletMicrosoft.PowerShell.Utility
ConvertTo-JsonCmdletMicrosoft.PowerShell.Utility
Exit-PSSessionCmdletMicrosoft.PowerShell.Core
Exit-PSHostProcessCmdletMicrosoft.PowerShell.Core
Enter-PSSessionCmdletMicrosoft.PowerShell.Core
Enter-PSHostProcessCmdletMicrosoft.PowerShell.Core
Enable-RunspaceDebugCmdletMicrosoft.PowerShell.Utility
Enable-PSSessionConfigurationCmdletMicrosoft.PowerShell.Core
Enable-PSBreakpointCmdletMicrosoft.PowerShell.Utility
Disconnect-PSSessionCmdletMicrosoft.PowerShell.Core
ConvertTo-HtmlCmdletMicrosoft.PowerShell.Utility
Disable-RunspaceDebugCmdletMicrosoft.PowerShell.Utility
Disable-PSBreakpointCmdletMicrosoft.PowerShell.Utility
Debug-RunspaceCmdletMicrosoft.PowerShell.Utility
Debug-ProcessCmdletMicrosoft.PowerShell.Management
Debug-JobCmdletMicrosoft.PowerShell.Core
Copy-ItemPropertyCmdletMicrosoft.PowerShell.Management
Copy-ItemCmdletMicrosoft.PowerShell.Management
ConvertTo-XmlCmdletMicrosoft.PowerShell.Utility
ConvertTo-SecureStringCmdletMicrosoft.PowerShell.Security
Disable-PSSessionConfigurationCmdletMicrosoft.PowerShell.Core
Write-VerboseCmdletMicrosoft.PowerShell.Utility
ValidateUpdate-ConfigurationDataFunctionPSDesiredStateConfiguration
ValidateNodeResourceSourceFunctionPSDesiredStateConfiguration
Test-ModuleReloadRequiredFunctionPSDesiredStateConfiguration
Test-ConflictingResourcesFunctionPSDesiredStateConfiguration
TabExpansion2Function
StrongConnectFunctionPSDesiredStateConfiguration
ShouldFunctionPester
SetupFunctionPester
Set-PSTopConfigurationNameFunctionPSDesiredStateConfiguration
Set-PSRepositoryFunctionPowerShellGet
Test-MofInstanceTextFunctionPSDesiredStateConfiguration
Set-PSMetaConfigVersionInfoV2FunctionPSDesiredStateConfiguration
Set-PSDefaultConfigurationDocumentFunctionPSDesiredStateConfiguration
Set-PSCurrentConfigurationNodeFunctionPSDesiredStateConfiguration
Set-NodeResourceSourceFunctionPSDesiredStateConfiguration
Set-NodeResourcesFunctionPSDesiredStateConfiguration
Set-NodeManagerFunctionPSDesiredStateConfiguration
Set-NodeExclusiveResourcesFunctionPSDesiredStateConfiguration
Set-DynamicParameterVariablesFunctionPester
Save-ScriptFunctionPowerShellGet
Set-PSMetaConfigDocInsProcessedBeforeMetaFunctionPSDesiredStateConfiguration
ValidateNoNameNodeResourcesFunctionPSDesiredStateConfiguration
Test-NodeManagerFunctionPSDesiredStateConfiguration
Test-NodeResourceSourceFunctionPSDesiredStateConfiguration
ValidateNodeResourcesFunctionPSDesiredStateConfiguration
ValidateNodeManagerFunctionPSDesiredStateConfiguration
ValidateNodeExclusiveResourcesFunctionPSDesiredStateConfiguration
ValidateNoCircleInNodeResourcesFunctionPSDesiredStateConfiguration
Update-ScriptFileInfoFunctionPowerShellGet
Update-ScriptFunctionPowerShellGet
Update-ModuleVersionFunctionPSDesiredStateConfiguration
Update-ModuleManifestFunctionPowerShellGet
Test-NodeResourcesFunctionPSDesiredStateConfiguration
Update-ModuleFunctionPowerShellGet
Update-DependsOnFunctionPSDesiredStateConfiguration
Update-ConfigurationErrorCountFunctionPSDesiredStateConfiguration
Update-ConfigurationDocumentRefFunctionPSDesiredStateConfiguration
Unregister-PSRepositoryFunctionPowerShellGet
Uninstall-ScriptFunctionPowerShellGet
Uninstall-ModuleFunctionPowerShellGet
ThrowErrorFunctionPSDesiredStateConfiguration
Test-ScriptFileInfoFunctionPowerShellGet
Update-LocalConfigManagerFunctionPSDesiredStateConfiguration
Write-WarningCmdletMicrosoft.PowerShell.Utility
本文链接: https://www.pstips.net/setup-powershell-on-centos.html
请尊重原作者和编辑的辛勤劳动,欢迎转载,并注明出处!

关于 Mooser Lee

我是一个Powershell的爱好者,创建了PowerShell中文博客,热衷于Powershell技术的搜集和分享。本站部分内容来源于互联网,不足之处敬请谅解,并欢迎您批评指正。


发表评论

电子邮件地址不会被公开。 必填项已用*标注

一条评论 “CentOS上面安装PowerShell