Sets certain cmdlet parameter defaults to rational, useful values.
Use-ReasonableDefaults.ps1 [-LatestSecurityProtocol] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Use-ReasonableDefaults.ps1
Sets the security protocol to TLS 1.2.
Sets default values: Out-File -Encoding UTF8 -Width ([int]::MaxValue) Export-Csv -NoTypeInformation Invoke-WebRequest -UseBasicParsing Select-Xml -Namespace @{ a bunch of standard namespaces }
Use the greatest value of the System.Net.SecurityProtocolType enum.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.