tag:blogger.com,1999:blog-4821814370988067692.post1827859031747956575..comments2023-06-24T10:41:23.457-05:00Comments on Import-PowerShell: When to code and when to script?Anonymoushttp://www.blogger.com/profile/04046485086918314260noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-4821814370988067692.post-61930405912286412962012-03-06T15:40:46.639-06:002012-03-06T15:40:46.639-06:00posted this to: http://social.technet.microsoft.co...posted this to: http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/69cfd5a3-f155-4e7a-ae60-95af93cf2021 for feedback.<br /><br />Justin Rich (http://jrich523.wordpress.com) contributed that simplified process in the compiled languages such as LINQ should be considered.<br /><br />Also load times for the process you are looking at should be considered. <br /><br />C# is compiled to IL, but PoweShell has a loader, an additional file read, and then the text has to be run through the Tokenizer ( [system.management.automation.psparser]::Tokenize ).<br /><br />Obfuscation as EXE to prevent modification or to hide meaning.<br /><br />He also mentioned Compiled PS, which is a hosted PowerShell process that pulls a script from a hard coded string or an internal resource.Anonymoushttps://www.blogger.com/profile/04046485086918314260noreply@blogger.com