所以在重定向 Powershell的输出时,可以使用语法糖(>),也可以使用 Out-File 命令,使用 Out-File 的好处是,通过 -encoding 参数可以指定编码格式。 另外需要注意的是,如果要将内容强制重定向到只读、隐藏或系统文件时,可以使用带 Force 参数使用 Out-File cmdlet。
iso-8859-6, iso-8859-7, iso-8859-8, iso-8859-9, koi8-r, koi8-u, ks_c_5601-1987, ns_4551-1, sen_850200_b, shift_jis, utf-7, utf-8, windows-1250, windows-1251, windows-1252, windows-1253, windows-1254, windows-1255, windows-1256, windows-1257, windows-1...
-PreferredInternetCodePageForShiftJis This parameter is reserved for internal Microsoft use. Expand table Type: Int32 Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Se...
[OfferShiftRequestId <String>]: The unique identifier of offerShiftRequest [OpenShiftChangeRequestId <String>]: The unique identifier of openShiftChangeRequest [OpenShiftId <String>]: The unique identifier of openShift [PinnedChatMessageInfoId <String>]: The unique identifier of pinnedChatMes...
-PreferredInternetCodePageForShiftJis This parameter is reserved for internal Microsoft use. Expand table Type: Int32 Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Se...
iso-8859-6, iso-8859-7, iso-8859-8, iso-8859-9, koi8-r, koi8-u, ks_c_5601-1987, ns_4551-1, sen_850200_b, shift_jis, utf-7, utf-8, windows-1250, windows-1251, windows-1252, windows-1253, windows-1254, windows-1255, windows-1256, windows-1257, windows-1258, windows-874。
HasExternal: At least one recipient is outside the organization. None: The condition isn't used. You can use this condition in DLP policies that are scoped only to Exchange Expand table Type: Microsoft.Office.CompliancePolicy.Tasks.NonBifurcatingAccessScope Position: Named Default value: None Re...
-PreferredInternetCodePageForShiftJis This parameter is reserved for internal Microsoft use. Expand table Type: Int32 Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Se...
Irrespective of the original file type, this predicate matches based on the extension that is present in the name of the file. Expand table Type: MultiValuedProperty Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False...
-PreferredInternetCodePageForShiftJis This parameter is reserved for internal Microsoft use. Expand table Type: Int32 Position: Named Default value: None Required: False Accept pipeline input: False Accept wildcard characters: False Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Se...