如果指令清單匯出函式的別名,此索引鍵可以移除別名列在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...
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 ...
Get-Module cmdlet 列出了已导入或可导入到 PowerShell 会话中的 PowerShell 模块。 如果没有参数,Get-Module 获取已导入到当前会话中的模块。 ListAvailable 参数用于列出可从 PSModulePath 环境变量($Env:PSModulePath)中指定的路径导入的模块。
Runs a script in the current scope so that any functions, aliases, and variables that the script creates are added to the current scope, overriding existing ones. Parameters declared by the script become variables. Parameters for which no value has been given become variables with no value. How...
Sets theOptionproperty value of the alias. Values such asReadOnlyandConstantprotect an alias from unintended changes. To see theOptionproperty of all aliases in the session, typeGet-Alias | Format-Table -Property Name, Options -Autosize. ...
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 ...
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 ...