about_data_sections.help

about_data_sections.help - TOPIC about_Data_Sections SHORT...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 TOPIC about_Data_Sections SHORT DESCRIPTION Explains Data sections, which isolate text strings and other read-only data from script logic. LONG DESCRIPTION Scripts that are designed for Windows PowerShell can have one or more Data sections that contain only data. You can include one or more Data sections in any script, function, or advanced function. The content of the Data section is restricted to a specified subset of the Windows PowerShell scripting language. Separating data from code logic makes it easier to identify and manage both logic and data. It lets you have separate string resource files for text, such as error messages and Help strings. It also isolates the code logic, which facilitates security and validation tests. In Windows PowerShell, the Data section is used to support script internationalization. You can use Data sections to make it easier to isolate, locate, and process strings that will be translated into many user interface (UI) languages. The Data section is a Windows PowerShell 2.0 feature. Scripts with Data sections will not run in Windows PowerShell 1.0 without revision. Syntax
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/03/2010 for the course BUS fin taught by Professor Fez during the Spring '10 term at Valparaiso.

Page1 / 4

about_data_sections.help - TOPIC about_Data_Sections SHORT...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online