New PSDrive creates yellow screen output Security protocol has been set to Tls12.
説明
Every call to New-PSDrive for the PSGPOAdmin provider creates a line in the console stating that the security protocol has ben set to Tls12. This clutters the screen output as well as the log files.
対策
Currently this message is written any time a PSDrive is created to a GPOADmin server so that the user will be aware of the security protocol GPOADmin is using. There is currently no way to suppress this message.
An enhancement request was logged to add a switch to suppress the message "Security protocol has been set to Tls12." when the PowerShell provider is loaded, or a new-PSDrive connection is created to GPOADmin. The enhancement to be considered for inclusion in a future version of GPOADmin is 495711