zh-TW/Microsoft.UniversalPrintManagement.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Connect-UPService</command:name> <command:verb>連線</command:verb> <command:noun>UPService</command:noun> <maml:description> <maml:para>與已驗證帳戶連線,以使用通用列印 Cmdlet 要求。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 Cmdlet 會連線已驗證的帳戶以用於通用列印 Cmdlet 要求。雖然此 Cmdlet 在未傳遞任何參數時支援互動式驗證,但主要用途是允許經由傳遞的非互動工作階段</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Connect-UPService</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>密碼</maml:name> <maml:Description> <maml:para>用來連線到通用列印服務的密碼 (當使用者主體名稱存在時)</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue> <dev:type> <maml:name>SecureString</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>UserPrincipalName</maml:name> <maml:Description> <maml:para>使用此使用者主體名稱連線到通用列印服務。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>密碼</maml:name> <maml:Description> <maml:para>用來連線到通用列印服務的密碼 (當使用者主體名稱存在時)</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue> <dev:type> <maml:name>SecureString</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>UserPrincipalName</maml:name> <maml:Description> <maml:para>使用此使用者主體名稱連線到通用列印服務。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Boolean</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\> Connect-UPService -UserPrincipalName username@tenantname.com -Passwrod $variableHoldingSecureString</dev:code> <dev:remarks> <maml:para>這將嘗試使用上面的帳戶進行驗證,而不需要使用者互動。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-UPAllowedMember</command:name> <command:verb>Get</command:verb> <command:noun>UPAllowedMember</command:noun> <maml:description> <maml:para>使用此 Cmdlet 來取得擁有特定印表機共用列印存取權的使用者和群組相關資訊。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 Cmdlet 可以用於擷取擁有權限列印至已公開透過 [通用列印] 註冊印表機之印表機共用的使用者和群組列表。有兩個選用開關,僅限使用者或群組的結果。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-UPAllowedMember</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupsOnly</maml:name> <maml:Description> <maml:para>僅限返回群組。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Limit</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>擷取此特定印表機共用允許的成員。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>UsersOnly</maml:name> <maml:Description> <maml:para>僅限返回使用者。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>GroupsOnly</maml:name> <maml:Description> <maml:para>僅限返回群組。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Limit</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>擷取此特定印表機共用允許的成員。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>UsersOnly</maml:name> <maml:Description> <maml:para>僅限返回使用者。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Microsoft.UPManagement.Models.Member</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-UPAllowedMember -ShareId "fd10a8d3-c46d-4ab1-9644-603381bc08b7"</dev:code> <dev:remarks> <maml:para>這將會抓取所有使用者及群組的清單,這些使用者和群組擁有列印到具有相符識別碼之印表機共用的許可權。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-UPConnector</command:name> <command:verb>Get</command:verb> <command:noun>UPConnector</command:noun> <maml:description> <maml:para>使用此 Cmdlet 取得一份或一張清單的連接器相關資訊。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 Cmdlet 可用於擷取關於透過 [通用列印] 註冊的連接器資訊。如果提供了連接器識別碼,則僅會擷取該連接器,否則將擷取所有已註冊的連接器。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-UPConnector</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ConnectorId</maml:name> <maml:Description> <maml:para>擷取指定連接器的連接器資訊。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Limit</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ConnectorId</maml:name> <maml:Description> <maml:para>擷取指定連接器的連接器資訊。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Limit</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-UPConnector</dev:code> <dev:remarks> <maml:para>這將擷取租用戶已透過 [通用列印] 註冊的所有連接器,並顯示其資訊。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 範例 2 --------------------------</maml:title> <dev:code>PS C:\> Get-UPConnector -ConnectorId "8dd439b0-4393-4e66-b804-9dd0733183b1"</dev:code> <dev:remarks> <maml:para>這將找到具有配對識別碼的已註冊連接器,並傳回其資訊。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-UPPrinter</command:name> <command:verb>Get</command:verb> <command:noun>UPPrinter</command:noun> <maml:description> <maml:para>使用此 Cmdlet 取得一份或一張清單的印表機相關資訊。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 Cmdlet 可用於擷取關於透過 [通用列印] 註冊的印表機資訊。如果提供了印表機識別碼,則僅會擷取該印表機,否則將擷取所有已註冊的印表機。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-UPPrinter</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Limit</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>擷取指定印表機的印表機資訊。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Limit</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>擷取指定印表機的印表機資訊。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-UPPrinter</dev:code> <dev:remarks> <maml:para>這將擷取租用戶已透過 [通用列印] 註冊的所有印表機,並顯示其資訊。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 範例 2 --------------------------</maml:title> <dev:code>PS C:\> Get-UPPrinter -PrinterId "8dd439b0-4393-4e66-b804-9dd0733183b1"</dev:code> <dev:remarks> <maml:para>這將找到具有配對識別碼的已註冊印表機,並傳回其資訊。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-UPPrinterShare</command:name> <command:verb>取得</command:verb> <command:noun>UPPrinterShare</command:noun> <maml:description> <maml:para>Use this cmdlet to get information about a single or list of printer share objects.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>This cmdlet can be used to retrieve information about printer share objects that are created when a printer is shared with Universal Print. If a share ID is provided, only the corresponding printer share will be retrieved. Note that you can use this cmdlet to get the status of "AllowAllUsers" flag on a printer share.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-UPPrinterShare</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>限制</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>Retrieve printer share info for the specified share id.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>限制</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>Retrieve printer share info for the specified share id.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>Microsoft.UPManagement.Models.PrinterShare</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-UPPrinterShare</dev:code> <dev:remarks> <maml:para>This will retrieve all printer shares associated with shared printers within Universal Print and will display their information.</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- Example 2 --------------------------</maml:title> <dev:code>PS C:\> Get-UPPrinterShare -ShareId "35f1503a-bec5-4e6a-87e0-4b165bd3af3e"</dev:code> <dev:remarks> <maml:para>This will find the printer share with a matching ID and return its information.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-UPPrintJob</command:name> <command:verb>取得</command:verb> <command:noun>UPPrintJob</command:noun> <maml:description> <maml:para>使用此 Cmdlet 可以取得關於已發送至印表機的列印作業資訊。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 Cmdlet 可用於取得已傳送至印表機的近期列印工作清單 (包含啟用中工作)。如果工作識別碼可用,便可以使用相同的 cdlet 擷取特定列印工作。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-UPPrintJob</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>JobId</maml:name> <maml:Description> <maml:para>擷取指定列印工作。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>限制</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>擷取指定印表機的列印工作。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>JobId</maml:name> <maml:Description> <maml:para>擷取指定列印工作。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>限制</maml:name> <maml:Description> <maml:para>傳回的結果上限數目。預設為傳回所有結果。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>擷取指定印表機的列印工作。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>PS C:\> Get-UPPrintJob -PrinterId "68f44c0b-e71d-462f-9449-1470f5607a2f"</dev:code> <dev:remarks> <maml:para>這將擷取已發送至具有指定識別碼印表機的近期作業和啟用中工作。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Get-UPUsageReport</command:name> <command:verb>Get</command:verb> <command:noun>UPUsageReport</command:noun> <maml:description> <maml:para>使用此 Cmdlet 取得不同類型的列印使用方式報告。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>您可以使用此 Cmdlet 取得經過 [通用列印] 的列印使用方式報告。[通用列印] 支援 4 種類型的報告: 消費者每日列印使用方式摘要、印表機每日列印使用方式摘要、使用者每月列印使用方式摘要與印表機每月列印使用方式摘要。可根據已提供的選擇性參數 (例如使用者主體名稱) 進一步篩選報告。如果您具有相應的報告識別碼,也可以獲得指定報告。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-UPUsageReport</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Limit</maml:name> <maml:Description> <maml:para>Upper bounds number of results to return. Default is to return all results.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ReportId</maml:name> <maml:Description> <maml:para>使用此識別碼擷取特定使用方式報告 (覆寫 userPrincipalName、printerId、startDate 和 endDate)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ReportType</maml:name> <maml:Description> <maml:para>選擇要擷取的報告類型。有 DailyUser、DailyPrinter、MonthlyUser 及 MonthlyPrinter 的選項。</maml:para> </maml:Description> <command:parameterValueGroup> <command:parameterValue required="false" command:variableLength="false">DailyUser</command:parameterValue> <command:parameterValue required="false" command:variableLength="false">DailyPrinter</command:parameterValue> <command:parameterValue required="false" command:variableLength="false">MonthlyUser</command:parameterValue> <command:parameterValue required="false" command:variableLength="false">MonthlyPrinter</command:parameterValue> </command:parameterValueGroup> <command:parameterValue required="true" variableLength="false">ReportType</command:parameterValue> <dev:type> <maml:name>ReportType</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>UserPrincipalName</maml:name> <maml:Description> <maml:para>可供用於僅擷取屬於具有此主體名稱的使用者報告的選擇性參數。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>EndDate</maml:name> <maml:Description> <maml:para>選擇性參數可供您在此日期之後篩選出適合印刷活動的報告。格式是 yyyy-mm-dd 或 yyyy-mm。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Date</command:parameterValue> <dev:type> <maml:name>Date</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>StartDate</maml:name> <maml:Description> <maml:para>選擇性參數可供您在此日期之前篩選出適合印刷活動的報告。格式是 yyyy-mm-dd 或 yyyy-mm。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Date</command:parameterValue> <dev:type> <maml:name>Date</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Limit</maml:name> <maml:Description> <maml:para>Upper bounds number of results to return. Default is to return all results.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ReportId</maml:name> <maml:Description> <maml:para>使用此識別碼擷取特定使用方式報告 (覆寫 userPrincipalName、printerId、startDate 和 endDate)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>ReportType</maml:name> <maml:Description> <maml:para>選擇要擷取的報告類型。有 DailyUser、DailyPrinter、MonthlyUser 及 MonthlyPrinter 的選項。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">ReportType</command:parameterValue> <dev:type> <maml:name>ReportType</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>UserPrincipalName</maml:name> <maml:Description> <maml:para>可供用於僅擷取屬於具有此主體名稱的使用者報告的選擇性參數。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>EndDate</maml:name> <maml:Description> <maml:para>選擇性參數可供您在此日期之後篩選出適合印刷活動的報告。格式是 yyyy-mm-dd 或 yyyy-mm。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Date</command:parameterValue> <dev:type> <maml:name>Date</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName, ByValue)" position="named" aliases="none"> <maml:name>StartDate</maml:name> <maml:Description> <maml:para>選擇性參數可供您在此日期之前篩選出適合印刷活動的報告。格式是 yyyy-mm-dd 或 yyyy-mm。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Date</command:parameterValue> <dev:type> <maml:name>Date</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>Microsoft.UPManagement.Cmdlets.ReportType</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Nullable`1[[Microsoft.OData.Edm.Date, Microsoft.OData.Edm, Version=7.5.3.21218, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Int32</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\> Get-UPUsageReport -ReportType DailyUser -UserPrincipalName "foo@bar.com"</dev:code> <dev:remarks> <maml:para>此動作可擷取所有屬於使用者「foo@bar.com」的每日報告</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- 範例 2 --------------------------</maml:title> <dev:code>PS C:\> Get-UPUsageReport -ReportType DailyPrinter -StartDate 2019-08-01 -EndDate 2019-08-15</dev:code> <dev:remarks> <maml:para>此動作可擷取 2019 年 8 月前 2 週內所生成的所有每日印表機報告。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Grant-UPAccess</command:name> <command:verb>授與</command:verb> <command:noun>UPAccess</command:noun> <maml:description> <maml:para>使用此 cmdlet 授與使用者或群組印表機存取權限。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 Cmdlet 可用於授與目前已公開透過 [通用列印] 註冊印表機之印表機共用使用者和群組的列印權限。您可以根據 Cmdlet 引動過程從使用者或群組授與存取權限。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Grant-UPAccess</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>需要列印存取權限的群組識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>使用相符的識別碼授予使用者印表機共用的列印權限。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Grant-UPAccess</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>UserId</maml:name> <maml:Description> <maml:para>需要列印存取權限的使用者識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>使用相符的識別碼授予使用者印表機共用的列印權限。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Grant-UPAccess</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>使用相符的識別碼授予使用者印表機共用的列印權限。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>AllUsersAccess</maml:name> <maml:Description> <maml:para>Provide this flag to grant print access to all users in your organization.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>需要列印存取權限的群組識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>UserId</maml:name> <maml:Description> <maml:para>需要列印存取權限的使用者識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>Grant user print access to the printer share with a matching ID.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>AllUsersAccess</maml:name> <maml:Description> <maml:para>Provide this flag to grant print access to all users in your organization.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\ > UPAccess-ShareId "b210ace3-08de-40ee-8983-2a8e113ce13e"-UserId "5ea859e8-23c3-4c24-a330-63685a25bdef"</dev:code> <dev:remarks> <maml:para>這會將具有對應之 Azure Active Directory 識別碼的使用者授與指定的印表機共用的許可權。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- Example 2 --------------------------</maml:title> <dev:code>PS C:\ > UPAccess-ShareId "b210ace3-08de-40ee-8983-2a8e113ce13e"-GroupId "ae71e2b2-ab2e-44b8-afb6-86637ce25ee1"</dev:code> <dev:remarks> <maml:para>這會將群組中具有相符 Azure Active Directory 識別碼的所有使用者授與指定印表機共用的列印許可權。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- Example 2 --------------------------</maml:title> <dev:code>PS C:\> Grant-UPAccess -ShareId "b210ace3-08de-40ee-8983-2a8e113ce13e" -AllUsersAccess</dev:code> <dev:remarks> <maml:para>This will grant all users of your organization the permission to print to the specified printer share. Note that this policy overrides list of allowed users and groups.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>New-UPPrinterShare</command:name> <command:verb>New</command:verb> <command:noun>UPPrinterShare</command:noun> <maml:description> <maml:para>使用此 Cmdlet 共用一台印表機。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>若要共用一台印表機,已建立名為「印表機共用」的物件,且此物件已和此印表機建立關聯。當使用者發現新的共用印表機時,就會向使用者顯示要求的共用名稱。印表機共用將具有一個識別碼,之後可用於取消共用或交換印表機。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>New-UPPrinterShare</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>需要共用的印表機識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareName</maml:name> <maml:Description> <maml:para>使用者可以在此名稱下找到共用印表機,並使用相同的名字列印至此印表機。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>需要共用的印表機識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareName</maml:name> <maml:Description> <maml:para>使用者可以在此名稱下找到共用印表機,並使用相同的名字列印至此印表機。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\> New-UPPrinterShare -PrinterId "cdd44642-8fc3-4f55-bce2-d6d8069b40f2" -ShareName "一樓印表機"</dev:code> <dev:remarks> <maml:para>此動作將建立新的印表機共用,共用具有上方識別碼中名稱為「一樓印表機」的印表機。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-UPConnector</command:name> <command:verb>Remove</command:verb> <command:noun>UPConnector</command:noun> <maml:description> <maml:para>使用此 Cmdlet 取消註冊連接器。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>如果不再需要連接器,可以使用此 Cmdlet 將其取消註冊。請注意,您必須先將此連接器註冊的印表機取消註冊,才能移除連接器。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-UPConnector</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="Id"> <maml:name>ConnectorId</maml:name> <maml:Description> <maml:para>需要取消註冊的連接器識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="Id"> <maml:name>ConnectorId</maml:name> <maml:Description> <maml:para>需要取消註冊的連接器識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\> Remove-UPConnector -ConnectorId "49b38c07-b059-451b-87b1-7bda52e3a648"</dev:code> <dev:remarks> <maml:para>此動作要求 [通用列印] 服務透過相符識別碼取消註冊連接器。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-UPPrinter</command:name> <command:verb>Remove</command:verb> <command:noun>UPPrinter</command:noun> <maml:description> <maml:para>使用此 Cmdlet 取消註冊印表機。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>如果印表機不再需要透過 [通用列印] 服務存取,可以使用此 Cmdlet 取消註冊。注意,必須先取消印表機的共用,才能取消註冊。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-UPPrinter</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>需要取消註冊的印表機識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>需要取消註冊的印表機識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>PS C:\> Remove-UPPrinter -PrinterId "49b38c07-b059-451b-87b1-7bda52e3a648"</dev:code> <dev:remarks> <maml:para>此動作要求 [通用列印] 服務透過相符識別碼取消註冊印表機。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-UPPrinterShare</command:name> <command:verb>移除</command:verb> <command:noun>UPPrinterShare</command:noun> <maml:description> <maml:para>使用此 Cmdlet 取消共用先前曾共用的印表機。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 Cmdlet 可使 [通用列印] 系統管理員停止共用印表機。一般消費者就不能再看到或看不到共用印表機。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-UPPrinterShare</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>需要移除的印表機共用識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>需要移除的印表機共用識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\> Remove-UPPrinterShare -ShareId "29fb1dcc-fb7a-4f2a-b9b2-de617abedb35"</dev:code> <dev:remarks> <maml:para>此動作將取消共用由具有相符識別碼印表機共用所共用的印表機。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Revoke-UPAccess</command:name> <command:verb>撤銷</command:verb> <command:noun>UPAccess</command:noun> <maml:description> <maml:para>使用此 Cmdlet 撤銷使用者或群組的列印存取權限。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 Cmdlet 可用於撤銷目前已公開透過 [通用列印] 註冊印表機之印表機共用使用者和群組的列印權限。您可以根據 Cmdlet 引動過程從使用者或群組撤銷存取權限。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Revoke-UPAccess</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>此群組將無法再列印至指定印表機共用。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>將會撤銷此印表機共用的存取權限。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Revoke-UPAccess</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>UserId</maml:name> <maml:Description> <maml:para>此使用者將無法再列印到指定的印表機共用。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>將會撤銷此印表機共用的存取權限。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> </command:syntaxItem> <command:syntaxItem> <maml:name>Revoke-UPAccess</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>將會撤銷此印表機共用的存取權限。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>AllUsersAccess</maml:name> <maml:Description> <maml:para>Provide this flag to revoke print access from all users in your organization (this only clears 'AllowAllUsers' flag).</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>GroupId</maml:name> <maml:Description> <maml:para>此群組將無法再列印至指定印表機共用。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>UserId</maml:name> <maml:Description> <maml:para>此使用者將無法再列印到指定的印表機共用。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>Access to this printer share will be revoked.</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>AllUsersAccess</maml:name> <maml:Description> <maml:para>Provide this flag to revoke print access from all users in your organization (this only clears 'AllowAllUsers' flag).</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- 範例 1 --------------------------</maml:title> <dev:code>PS C:\ > UPAccess-ShareId "b210ace3-08de-40ee-8983-2a8e113ce13e"-UserId "5ea859e8-23c3-4c24-a330-63685a25bdef"</dev:code> <dev:remarks> <maml:para>這會將擁有對應 Azure Active Directory 識別碼的使用者的許可權移到指定的印表機共用。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- Example 2 --------------------------</maml:title> <dev:code>PS C:\ > UPAccess-ShareId "b210ace3-08de-40ee-8983-2a8e113ce13e"-GroupId "ae71e2b2-ab2e-44b8-afb6-86637ce25ee1"</dev:code> <dev:remarks> <maml:para>這會將具有相符 Azure Active Directory 識別碼的群組許可權帶到指定的印表機共用。</maml:para> </dev:remarks> </command:example> <command:example> <maml:title>-------------------------- Example 3 --------------------------</maml:title> <dev:code>PS C:\> Revoke-UPAccess -ShareId "b210ace3-08de-40ee-8983-2a8e113ce13e" -AllUsersAccess</dev:code> <dev:remarks> <maml:para>This will take away the "AllowAllUsers" access that has been granted to the specified printer share. Note that this won't have any effect if printer share currently does not permit all user access.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-UPConnectorProperty</command:name> <command:verb>Set</command:verb> <command:noun>UPConnectorProperty</command:noun> <maml:description> <maml:para>使用此 Cmdlet 更新連接器的可變屬性。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>有了連接器識別碼,您就能使用此 Cmdlet 更新其名稱或任何屬於此連接器位置的屬性。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-UPConnectorProperty</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>AltitudeInMeters</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (高度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Building</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (建築物)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>City</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (城市)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="Id"> <maml:name>ConnectorId</maml:name> <maml:Description> <maml:para>需要更新的連接器識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>FloorDescription</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (樓層描述)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>FloorNumber</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (樓層號碼)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Latitude</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (緯度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Double</command:parameterValue> <dev:type> <maml:name>Double</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Longitude</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (經度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Double</command:parameterValue> <dev:type> <maml:name>Double</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器至新的值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Organization</maml:name> <maml:Description> <maml:para>提供此內容作為逗號分隔清單,以更新連接器的位置屬性 (組織)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PostalCode</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (郵遞區號)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>RoomDescription</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (房間描述)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>RoomNumber</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (房間號碼)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Site</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (地點)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>StreetAddress</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (街道地址)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Subunit</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (子單位)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>國家或地區</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (國家或地區)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>州或省</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (州或省)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>區域</maml:name> <maml:Description> <maml:para>提供此內容作為逗號分隔清單,以更新連接器的位置屬性 (區域)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>AltitudeInMeters</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (高度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Building</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (建築物)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>City</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (城市)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="Id"> <maml:name>ConnectorId</maml:name> <maml:Description> <maml:para>需要更新的連接器識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>FloorDescription</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (樓層描述)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>FloorNumber</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (樓層號碼)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Latitude</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (緯度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Double</command:parameterValue> <dev:type> <maml:name>Double</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Longitude</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (經度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Double</command:parameterValue> <dev:type> <maml:name>Double</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Name</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器至新的值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Organization</maml:name> <maml:Description> <maml:para>提供此內容作為逗號分隔清單,以更新連接器的位置屬性 (組織)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PostalCode</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (郵遞區號)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>RoomDescription</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (房間描述)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>RoomNumber</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (房間號碼)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Site</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (地點)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>StreetAddress</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (街道地址)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>Subunit</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (子單位)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>提供此標幟可切換至其他系統管理員帳戶。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>國家或地區</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (國家或地區)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>州或省</maml:name> <maml:Description> <maml:para>提供此內容以更新連接器的位置屬性 (州或省)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>區域</maml:name> <maml:Description> <maml:para>提供此內容作為逗號分隔清單,以更新連接器的位置屬性 (區域)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String[]</command:parameterValue> <dev:type> <maml:name>String[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Nullable`1[[System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>PS C:\> Set-UPConnectorProperty -ConnectorId "008426e4-9ec8-46b3-aa38-12be1957f133" -Name "New Connector Name" -Latitude 47.620422 -Longitude -122.349358</dev:code> <dev:remarks> <maml:para>此動作可更新所指定連接器的名稱及座標。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-UPPrinterProperty</command:name> <command:verb>Set</command:verb> <command:noun>UPPrinterProperty</command:noun> <maml:description> <maml:para>使用此 Cmdlet 更新印表機的可變屬性。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>有了印表機識別碼,您就能使用此 Cmdlet 更新其名稱或任何屬於此印表機位置的屬性。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-UPPrinterProperty</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>AltitudeInMeters</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (高度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>建築物</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (建築物)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>市/鎮</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (城市)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>FloorDescription</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (樓層描述)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>FloorNumber</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (樓層號碼)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>緯度</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (緯度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">雙重</command:parameterValue> <dev:type> <maml:name>雙重</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>經度</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (經度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">雙重</command:parameterValue> <dev:type> <maml:name>雙重</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>名稱</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機至新的數值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>組織</maml:name> <maml:Description> <maml:para>提供此內容作為逗號分隔清單,以更新印表機的位置屬性 (組織)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串[]</command:parameterValue> <dev:type> <maml:name>字串[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PostalCode</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (郵遞區號)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>需要更新的印表機識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>RoomDescription</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (房間描述)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>RoomNumber</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (房間號碼)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>站台</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (地點)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>StreetAddress</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (街道地址)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>子單位</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (子單位)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串[]</command:parameterValue> <dev:type> <maml:name>字串[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>Provide this flag to switch to a different admin account.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>國家或地區</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (國家或地區)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>州或省</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (州或省)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>區域</maml:name> <maml:Description> <maml:para>提供此內容作為逗號分隔清單,以更新印表機的位置屬性 (區域)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串[]</command:parameterValue> <dev:type> <maml:name>字串[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>AltitudeInMeters</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (高度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>建築物</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (建築物)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>市/鎮</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (城市)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>FloorDescription</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (樓層描述)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>FloorNumber</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (樓層號碼)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>緯度</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (緯度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">雙重</command:parameterValue> <dev:type> <maml:name>雙重</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>經度</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (經度)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">雙重</command:parameterValue> <dev:type> <maml:name>雙重</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>名稱</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機至新的數值。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>組織</maml:name> <maml:Description> <maml:para>提供此內容作為逗號分隔清單,以更新印表機的位置屬性 (組織)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串[]</command:parameterValue> <dev:type> <maml:name>字串[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PostalCode</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (郵遞區號)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>PrinterId</maml:name> <maml:Description> <maml:para>需要更新的印表機識別碼。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>RoomDescription</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (房間描述)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>RoomNumber</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (房間號碼)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">Int32</command:parameterValue> <dev:type> <maml:name>Int32</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>站台</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (地點)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>StreetAddress</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (街道地址)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>子單位</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (子單位)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串[]</command:parameterValue> <dev:type> <maml:name>字串[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>Provide this flag to switch to a different admin account.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>確認</maml:name> <maml:Description> <maml:para>執行 Cmdlet 之前提示您確認。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>顯示執行 Cmdlet 時會發生什麼情況。未執行 Cmdlet。</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>國家或地區</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (國家或地區)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>州或省</maml:name> <maml:Description> <maml:para>提供此內容以更新印表機的位置屬性 (州或省)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>區域</maml:name> <maml:Description> <maml:para>提供此內容作為逗號分隔清單,以更新印表機的位置屬性 (區域)。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串[]</command:parameterValue> <dev:type> <maml:name>字串[]</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>無</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Nullable`1[[System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.String[]</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>PS C:\> Set-UPPrinterProperty -PrinterId "008426e4-9ec8-46b3-aa38-12be1957f133" -Name "New Printer Name" -Latitude 47.620422 -Longitude -122.349358</dev:code> <dev:remarks> <maml:para>此動作可更新所指定印表機的名稱及座標。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Set-UPPrinterShare</command:name> <command:verb>設定</command:verb> <command:noun>UPPrinterShare</command:noun> <maml:description> <maml:para>使用此 cdlet 更新印表機共用。</maml:para> </maml:description> </command:details> <maml:description> <maml:para>此 cmldet 可用於變更向使用者顯示的共用名稱,或將印表機共用指向不同的印表機。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Set-UPPrinterShare</maml:name> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>需要更新的印表機共用相關 GUID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ShareName</maml:name> <maml:Description> <maml:para>如果您想要重新命名向使用者顯示的印表機共用,請提供此內容。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">字串</command:parameterValue> <dev:type> <maml:name>字串</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>Provide this flag to switch to a different admin account.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>TargetPrinterId</maml:name> <maml:Description> <maml:para>如果您想要將印表機共用指向不同印表機,請提供此內容。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>Confirm</maml:name> <maml:Description> <maml:para>Prompts you for confirmation before running the cmdlet.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>ShareId</maml:name> <maml:Description> <maml:para>需要更新的印表機共用相關 GUID。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>ShareName</maml:name> <maml:Description> <maml:para>如果您想要重新命名向使用者顯示的印表機共用,請提供此內容。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>SwitchAccount</maml:name> <maml:Description> <maml:para>Provide this flag to switch to a different admin account.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="named" aliases="none"> <maml:name>TargetPrinterId</maml:name> <maml:Description> <maml:para>如果您想要將印表機共用指向不同印表機,請提供此內容。</maml:para> </maml:Description> <command:parameterValue required="true" variableLength="false">String</command:parameterValue> <dev:type> <maml:name>String</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>None</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="cf"> <maml:name>Confirm</maml:name> <maml:Description> <maml:para>Prompts you for confirmation before running the cmdlet.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="wi"> <maml:name>WhatIf</maml:name> <maml:Description> <maml:para>Shows what would happen if the cmdlet runs. The cmdlet is not run.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri/> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <maml:name>System.String</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> <command:inputType> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <maml:name>System.Object</maml:name> </dev:type> <maml:description> <maml:para></maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>PS C:\> Set-UPPrinterShare -ShareId "a15b3b67-a6df-40dd-8e07-fa2937893c52" -TargetPrinterId "39194501-0eea-4a69-8058-aa92a4e68180"</dev:code> <dev:remarks> <maml:para>此動作可將現有的印表機共用指向具有已提供識別碼的新印表機。</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks/> </command:command> </helpItems> |