Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > Re: Redirecting Output of Script

Reply
Thread Tools Display Modes

Re: Redirecting Output of Script

 
 
Marco Shaw [MVP]
Guest
Posts: n/a

 
      11-09-2008

> What's going on? Is this some type of encoding issue? I'd be happy
> with UTF-8 by default.
>
> Thanks in advance.


There's a microsoft.public.windows.powershell group that would be more
helpful with PowerShell questions.

The out-file cmdlet has an encoding parameter:

PS>help out-file -full
....
-Encoding <string>
Specifies the type of character encoding used in the file. Valid
values are "Unicode", "UTF7", "UTF8", "UTF32",
"ASCII", "BigEndianUnicode", "Default", and "OEM". "Unicode" is
the default.

"Unicode" is the default.

"Default" uses the encoding of the system's current ANSI code page.
....

Marco


--
*Microsoft MVP - Admin Frameworks
https://mvp.support.microsoft.com/profile/Marco.Shaw
*PowerShell Co-Community Director - http://www.powershellcommunity.org
*Blog - http://marcoshaw.blogspot.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting video output?? shazam27 Windows Server 1 03-30-2006 12:19 PM
redirecting output Mike Scripting 2 06-20-2005 04:12 AM
Login Script for Redirecting the Browser Home Page Makor Windows Small Business Server 8 12-20-2004 10:30 AM
Logon Script for Redirecting Users Folders Makor Windows Small Business Server 8 10-25-2004 06:23 PM
script output to DB rgatie Scripting 1 10-06-2003 02:06 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59