您可以使用 PUT 要求在 Azure NetApp Files 中建立新的物件,如下列範例所示。 PUT 要求的主體會包含變更的 JSON 格式資料。 其必須以文字形式包含在 PowerShell 命令中,或以檔案形式在 PowerShell 命令中參考。 若要將本文參考為檔案,請將 json 範例儲存至檔案,並將 -body (Get-Content @<filename>) 新增至...
Put、Print 数据谓词 PowerShell 使用 System.Management.Automation.VerbsData 类定义应用于数据处理的作。 下表列出了大多数已定义的谓词。 展开表 谓词名称(别名)行动要避免的同义词 备份(ba) 通过复制数据来存储数据。 保存、燃烧、复制、同步 检查点(ch) 创建数据或其配置的当前状态的快照。 差异 ...
{Default | Get | Head | Post | Put | Delete | Trace | Options | Merge | Patch} ] [-OutFile <String> ] [-PassThru] [-Proxy <Uri> ] [-ProxyCredential <PSCredential> ] [-ProxyUseDefaultCredentials] [-SessionVariable <String> ] [-TimeoutSec <Int32> ] [-TransferEncoding <String> ...
You aren't required to use any of these blocks in your functions. If you don't use a named block, then PowerShell puts the code in theendblock of the function. However, if you use any of these named blocks, or define adynamicparamblock, you must put all code in a named block. ...
SinceWrite-Outputexpects an argument, you must put the expression in parentheses. Dot sourcing operator. 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 ...
{Default| Get | Head | Post | Put | Delete | Trace | Options | Merge | Patch} ] [-OutFile <String> ] [-PassThru] [-Proxy <Uri> ] [-ProxyCredential <PSCredential> ] [-ProxyUseDefaultCredentials] [-SessionVariable <String> ] [-TimeoutSec <Int32> ] [-TransferEncoding <String> {...
类型: WebRequestMethod 接受的值: Default, Get, Head, Post, Put, Delete, Trace, Options, Merge, Patch Position: Named 默认值: None 必需: False 接受管道输入: False 接受通配符: False-NoProxy指示cmdlet 不会使用代理访问目标。 使用此功能可绕过 Internet 设置中配置或环境中指定的代理。 此参数是在...
If the value contains spaces, enclose the value in quotation marks ("). Expand table Type: String 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, ...
導出數據腳本必須將 putExportEntriesResults PutExportEntriesResults 物件傳回管線。 除非發生錨點屬性的錯誤或變更,否則這個物件不需要包含每個匯出連接器的結果資訊。 例如,若要將 PutExportEntriesResults 物件傳回管線:Write-Output (New-Object Microsoft.MetadirectoryServices.PutExportEntriesResults) 結束導出 在匯出...
有了这个命令,我们在PowerShell Script中就能直接使用HTTP方法来访问网络资源,这些HTTP方法包括Get, Head, Post, Put, Delete, Trace, Options, Merge, Patch. 过去如果你想在PowerShell里做同样的事,一般只能选择一个为Cmd写的命令行工具cURL(Linux里常用的是Wget), 你可以在你的batch脚本或者PowerShell脚本里使用...