AliasesToExport = @() # DSC resources to export from this module # DscResourcesToExport = @() # List of all modules packaged with this module # ModuleList = @() # List of all files packaged with this module # F
Get-Alias -Name dir | Format-List -Property * PowerShell Alias 提供程序 PowerShell 包括 Alias 提供程序。 Alias 提供程序允许你在 PowerShell 中查看别名,就像它们是在文件系统驱动器上一样。 Alias 提供程序公开 Alias: 驱动器。 若要进入 Alias: 驱动器,请键入: PowerShell 复制 Set-Location Alias:...
Aliases:CN, ServerName Position:Named Default value:None Required:False Accept pipeline input:True Accept wildcard characters:False -Filter Specifies a where clause to use as a filter. Specify the clause in either theWQLor theCQLquery language. Do not include theWHEREkeyword in the value of the...
Get-Module cmdlet 列出了已导入或可导入到 PowerShell 会话中的 PowerShell 模块。 如果没有参数,Get-Module 获取已导入到当前会话中的模块。 ListAvailable 参数用于列出可从 PSModulePath 环境变量($Env:PSModulePath)中指定的路径导入的模块。
通过Get-Alias管道Format-List显示有关新别名的所有信息的命令。 示例3:为具有参数的命令创建别名 PowerShell functionSet-ParentDirectory{Set-Location-Path..}New-Alias-Name..-ValueSet-ParentDirectory 第一个命令创建函数,该函数Set-ParentDirectory用于Set-Location将工作位置设置为父目录。 第二个命令用于New-Alia...
Aliases:cf Position:Named Default value:False Required:False Accept pipeline input:False Accept wildcard characters:False -Description 指定对别名的描述。 你可以键入任意字符串。 如果描述包含空格,则请将其括在引号中。 Type:String Position:Named
Aliases ST Outputs Amazon.Lambda.Model.FunctionConfiguration or Amazon.Lambda.Model.ListFunctionsResponse This cmdlet returns a collection of Amazon.Lambda.Model.FunctionConfiguration objects. The service call response (type Amazon.Lambda.Model.ListFunctionsResponse) can be returned by specifying '-Select ...
Import-PSSession [-Prefix <String>] [-DisableNameChecking] [[-CommandName] <String[]>] [-AllowClobber] [-ArgumentList <Object[]>] [-CommandType <CommandTypes>] [-Module <String[]>] [-FullyQualifiedModule <ModuleSpecification[]>] [[-FormatTypeName] <String[]>] [-Certificate <X509Certificat...
PowerShell includes the following aliases forSelect-String: All platforms: sls Select-Stringis similar togrepin Unix orfindstr.exein Windows. Theslsalias for theSelect-Stringcmdlet was introduced in PowerShell 3.0. Note According toApproved Verbs for PowerShell Commands, the official alias prefix fo...
The AddExchangeLocation parameter specifies the mailboxes to add to the list of included mailboxes when you aren't using the value All for the ExchangeLocation parameter. Valid values are: A regular user mailbox. Including other types of mailboxes (for example, inactive mailboxes or Microsoft ...