Creates a WS-Management session option hash table to use as input parameters to the following WS-Management cmdlets:... (New-WSManSessionOption)

   

# NAME
New-WSManSessionOption

# SYNOPSIS
Creates a WS-Management session option hash table to use as input parameters to the following WS-Management cmdlets:
Get-WSManInstance
Set-WSManInstance
Invoke-WSManAction
Connect-WSMan

# SYNTAX
New-WSManSessionOption [-NoCompression <switch>] [-NoProxy <switch>] [-ProxyAuthentication <string>] [-ProxyPassword <string>] [-ProxyUserName <string>] [-SkipCACheck <switch>] [-SkipCNCheck <switch>] [-SkipRevocation <switch>] [-SPNPort <int>] [-Timeout <int>] [-UnEncrypted <switch>] [-UseIEProxyconfig <switch>] [-UseProxyAutoDetection <switch>] [-UseWinHTTPProxyConfig <switch>] [-UTF16 <switch>] [<CommonParameters>]

# DESCRIPTION
Creates a WSMan Session option hashtable which can be passed into WSMan cmdlets:
Get-WSManInstance
Set-WSManInstance
Invoke-WSManAction
Connect-WSMan

# PARAMETERS
-NoCompression <switch>
Turns off packet compression in the session. Compression is enabled by default and the packets sent between the client and server are compressed. Compression uses more processor cycles, but it makes transmission faster.

Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false

-NoProxy <switch>
Do not use a proxy server. All all host names will be resolved locally.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-ProxyAuthentication <string>
Specifies the authentication method to use at the proxy. Possible values are:

- Basic: Basic is a scheme in which the user name and password are sent in clear-text to the server or proxy.
- Digest: Digest is a challenge-response scheme that uses a server-specified data string for the challenge.
- Negotiate (the default): Negotiate is a challenge-response scheme that negotiates with the server or proxy to determine which scheme to use for authentication. Examples are the Kerberos protocol and NTLM.

Required? false
Position? named
Default value Negotiate
Accept pipeline input? false
Accept wildcard characters? false

-ProxyPassword <string>
Specifies a password to to be used for proxy authentication.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-ProxyUserName <string>
Specifies a user name to to be used for proxy authentication.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-SkipCACheck <switch>
Specifies that when connecting over HTTPS, the client does not validate that the server certificate is signed by a trusted certificate authority (CA). Use this option only when the remote computer is trusted by other means, for example, if the remote computer is part of a network that is physically secure and isolated or the remote computer is listed as a trusted host in the WS-Management configuration.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-SkipCNCheck <switch>
Specifies that the certificate common name (CN) of the server does not need to match the hostname of the server. This is used only in remote operations using HTTPS. This option should only be used for trusted computers.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-SkipRevocation <switch>
Do not validate the revocation status on the server certificate.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-SPNPort <int>
Specifies a port number to append to the connection Service Principal Name <SPN> of the remote server. An SPN is used when the authentication mechanism is Kerberos or Negotiate.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Timeout <int>
Defines the timeout in milliseconds for the WS-Management operation.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-UnEncrypted <switch>
Do not use encryption when doing remote operations over HTTP.

Note: Unencrypted traffic is not allowed by default and must be enabled in the local configuration.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-UseIEProxyconfig <switch>
Use the Internet Explorer proxy configuration for the current user. This is the default setting.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-UseProxyAutoDetection <switch>
Force auto-detection of a proxy.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-UseWinHTTPProxyConfig <switch>
Use the proxy settings configured for WinHTTP.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-UTF16 <switch>
Encode the request in UTF16 format rather than UTF8 format. The default is UTF8 encoding.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

# INPUTS

# OUTPUTS
SessionOption

# NOTES

RELATED LINKS
Online version: http://go.microsoft.com/fwlink/?LinkId=141449
Connect-WSMan
Disable-WSManCredSSP
Disconnect-WSMan
Enable-WSManCredSSP
Get-WSManCredSSP
Get-WSManInstance
Invoke-WSManAction
New-WSManInstance
Remove-WSManInstance
Set-WSManInstance
Set-WSManQuickConfig
Test-WSMan

C:\Windows>powershell get-help Get-Command -full

ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2014 Microsoft Corporation.

OS: Windows-10 / Windows-8.1 & 8 / Windows-7 & Vista / Windows Server 2008-2016
»»»» ColorConsole



 


... Home  
... Impressum
... ColorConsole

... CMD
... Netsh-XP
... Netsh-7
... Netsh-Vista
... Powershell





;-)









Download the Windows 7 Starter, Home (Basic Premium), Professional und Ultimate!

... facebook.de
0.109
Langsames Starten von Windows 7, trotz Installation von Service Pack 1, zu langsames Booten von Win7?  / Should I use with AMD64 Windows-7 x86 or x64?  / Is there a search function in Q dir?  / Hilfe, wo kann man das Windows 8 und 8.1 ausschalten, bzw. herunterfahren?  / Disable Windows 8/8.1 or 10 key click sound in virtual osk keyboard, IE 10 11, MS-Explorer?  / Wo ist der Unterschied -Ausschalten und Neustart- am Handy (Smart-Phone)?  / Bei Windows 7 für alle Edition das integrierte Administrator-Konto aktivieren?  / Shutdown, Log-Off, Restart in windows 8.1 / 10 tray area!  / QuickTextPaste speichert die Einstellungen nicht, wie kann ich es deinstallieren?  / Remove an update from Windows 10, how to?  / Tastaturgeschwindigkeit bei Windows 8.1/8 erhöhen oder verringern!  / How to change the Attribute(s) of a file or folder in Windows-7?  /