如果指令清單匯出函式的別名,此索引鍵可以移除別名列在AliasesToExport索引鍵中的函式,但此機碼無法將函式別名新增至清單中。 範例:FunctionsToExport = @("function1", "function2", "function3") CmdletsToExport 類型:String[]@()指定要從此模組導出的 Cmdlet,以獲得最佳效能,請勿使用通配符,也不...
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 # FileList = @() # Private data to pass to the module specified in...
通过Get-Alias管道Format-List显示有关新别名的所有信息的命令。 示例3:为具有参数的命令创建别名 PowerShell functionSet-ParentDirectory{Set-Location-Path..}New-Alias-Name..-ValueSet-ParentDirectory 第一个命令创建函数,该函数Set-ParentDirectory用于Set-Location将工作位置设置为父目录。 第二个命令用于New-Alia...
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...
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 ...
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 ...
Type: SwitchParameter Aliases: wi Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Exchange Online Protection-...
Create All User Logon Scheduled Task Create and configure a shared printer in a GPO with powershell Create CSV for list of files and folders Create folder with current timestamp using powershell Create folders from CSV create hidden shares and set share permissions Create HTML body from file wi...
The following list displays the common parameters. Their aliases are listed in parentheses. Debug (db) ErrorAction (ea) ErrorVariable (ev) InformationAction (infa) InformationVariable (iv) OutVariable (ov) OutBuffer (ob) PipelineVariable (pv) ProgressAction (proga) Verbose (vb) WarningAction ...
Aliases ST Outputs Amazon.DeviceFarm.Model.Job or Amazon.DeviceFarm.Model.ListJobsResponse This cmdlet returns a collection of Amazon.DeviceFarm.Model.Job objects. The service call response (type Amazon.DeviceFarm.Model.ListJobsResponse) can be returned by specifying '-Select *'.Related...