Метод | Описание | |
---|---|---|
Prompt ( string caption, string message, System |
||
PromptForChoice ( string caption, string message, Collection |
||
PromptForCredential ( string caption, string message, string userName, string targetName ) : System.Management.Automation.PSCredential | ||
PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : System.Management.Automation.PSCredential | ||
ReadLine ( ) : string | ||
ReadLineAsSecureString ( ) : |
||
Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string message ) : void | ||
Write ( string message ) : void | ||
WriteDebugLine ( string message ) : void | ||
WriteErrorLine ( string message ) : void | ||
WriteLine ( string message ) : void | ||
WriteProgress ( long sourceId, System.Management.Automation.ProgressRecord record ) : void | ||
WriteVerboseLine ( string message ) : void | ||
WriteWarningLine ( string message ) : void |
Метод | Описание | |
---|---|---|
GetCreds ( string caption, string message ) : System.Management.Automation.PSCredential | ||
GetParameters ( System |
public Prompt ( string caption, string message, System |
||
caption | string | |
message | string | |
descriptions | System |
|
Результат | System.Management.Automation.PSObject>.Dictionary |
public PromptForChoice ( string caption, string message, Collection |
||
caption | string | |
message | string | |
choices | Collection |
|
defaultChoice | int | |
Результат | int |
public PromptForCredential ( string caption, string message, string userName, string targetName ) : System.Management.Automation.PSCredential | ||
caption | string | |
message | string | |
userName | string | |
targetName | string | |
Результат | System.Management.Automation.PSCredential |
public PromptForCredential ( string caption, string message, string userName, string targetName, PSCredentialTypes allowedCredentialTypes, PSCredentialUIOptions options ) : System.Management.Automation.PSCredential | ||
caption | string | |
message | string | |
userName | string | |
targetName | string | |
allowedCredentialTypes | PSCredentialTypes | |
options | PSCredentialUIOptions | |
Результат | System.Management.Automation.PSCredential |
public ReadLineAsSecureString ( ) : |
||
Результат |
public Write ( ConsoleColor foregroundColor, ConsoleColor backgroundColor, string message ) : void | ||
foregroundColor | ConsoleColor | |
backgroundColor | ConsoleColor | |
message | string | |
Результат | void |
public WriteDebugLine ( string message ) : void | ||
message | string | |
Результат | void |
public WriteErrorLine ( string message ) : void | ||
message | string | |
Результат | void |
public WriteLine ( string message ) : void | ||
message | string | |
Результат | void |
public WriteProgress ( long sourceId, System.Management.Automation.ProgressRecord record ) : void | ||
sourceId | long | |
record | System.Management.Automation.ProgressRecord | |
Результат | void |
public WriteVerboseLine ( string message ) : void | ||
message | string | |
Результат | void |
public WriteWarningLine ( string message ) : void | ||
message | string | |
Результат | void |