검색결과 리스트
VBS2Powershell에 해당되는 글 1건
글
Hence this guide to translating VBScript to Windows PowerShell. We should point out that this is not intended to be a “word-for-word” translation guide; for better or worse, things don’t quite work that way. Instead, it’s designed to act as a reference guide as you begin writing your first Windows PowerShell scripts. After all, sooner or later you’re bound to run into a situation where you find yourself thinking, "OK, I need to use a Select Case statement here. I know how to do that in VBScript, but how do I do that in Windows PowerShell?” That’s where this guide can come in handy; it takes all the VBScript functions, statements, and operators and shows you, as much as possible, a Windows PowerShell equivalent.
Incidentally, we tried to find an equivalent for most of the commands listed in this Translation Guide; however, we would never claim that we found the best equivalent for these commands. If you know of a better/faster/easier way to, say, format a number as currency in Windows PowerShell, please let us know. We’ll publish these alternate approaches as an addendum to this guide.
Download this conversion guide as a Word document (along with Windows PowerShell Week sample scripts). Right now this includes only the VBScript commands. We’ll be adding a download soon that includes the Scripting Runtime objects and WSH.
출처 : http://technet.microsoft.com/ko-kr/library/ee221101(en-us).aspx
'-- PowerShell' 카테고리의 다른 글
PowerShell 선언된 변수 (0) | 2011.08.16 |
---|---|
컴퓨터에 메모리 종류 확인 (0) | 2011.06.24 |
PowerShell로 브라우저 제어 (0) | 2011.06.15 |
PowerShell로 Excel파일을 PDF로 변환하기 (0) | 2011.06.15 |
PowerShell로 엑셀파일 생성하기 (0) | 2011.06.15 |
RECENT COMMENT