{"id":6006,"date":"2013-06-06T08:00:16","date_gmt":"2013-06-06T16:00:16","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/?p=6006"},"modified":"2013-05-23T12:37:59","modified_gmt":"2013-05-23T20:37:59","slug":"ipowershell-pro-how-to-use-the-pipeline-builder","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2013\/06\/06\/ipowershell-pro-how-to-use-the-pipeline-builder\/","title":{"rendered":"iPowerShell Pro: How to use the pipeline builder"},"content":{"rendered":"<p>Picking up where we left off, let&#8217;s take a closer look at the enhanced\u00a0mobile PowerShell Web Access (PSWA) console that is provided by iPowerShell Pro V3.<\/p>\n<p>When you first sign in to PSWA with iPowerShell Pro the console will flash a few times. Upon console startup, we are resetting the font size and the console size to be appropriate for the device that you are using it on. After that, the console will resize whenever you rotate the device.<\/p>\n<p>In order to gain access to the enhanced features (and to log out of a PSWA session) you must DOUBLE TAP the console screen. From the screenshot below, you will see several controls that we have added to make using PSWA easier on a mobile device. At the top left is a <strong>SIGN OUT<\/strong> button. Tap this button to sign out of the session and return to the server list.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/05\/IMG_0134.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6298\" alt=\"IMG_0134\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/05\/IMG_0134-300x225.png\" width=\"300\" height=\"225\" srcset=\"https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/05\/IMG_0134-300x225.png 300w, https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/05\/IMG_0134.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In the center of the screen screen is the actual PSWA console. We have clipped the native controls at the bottom in favor of more device friendly controls which we implement. These include an input line, a <strong>Next<\/strong> button (more on this later), a <strong>Builder<\/strong> button, a <strong>History<\/strong> button, and a <strong>Scripts<\/strong> button. For this blog post, let&#8217;s take a closer look at the <strong>Builder<\/strong>\u00a0and <strong>History<\/strong> buttons.<\/p>\n<p>Tapping the <strong>Builder<\/strong> button pops up a cmdlet list that is identical to the cmdlet list that iPowerShell Pro displays when Cmdlets is selected from the top level Services list. (If the list is empty, sign out of the session, and go to the Cmdlets service to download your cmdlets.)<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0135.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6302\" alt=\"IMG_0135\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0135-300x225.png\" width=\"300\" height=\"225\" srcset=\"https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0135-300x225.png 300w, https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0135.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This version of the list works a little differently though. When a cmdlet is tapped on this list, rather than displaying the Help information for the cmdlet, iPowerShell Pro displays a list of all of the parameters for that cmdlet. Using the parameter list, you can select the parameters you wish to use by simply tapping the parameter name. A red check mark appears next to any selected parameters.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0136.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6303\" alt=\"IMG_0136\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0136-300x225.png\" width=\"300\" height=\"225\" srcset=\"https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0136-300x225.png 300w, https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0136.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>When you have selected all the parameters you wish to include, press the <strong>Done<\/strong> button in the top right of the list. This will append the cmdlet and its selected parameters to the end of the current input line. Tap the input line to bring up the keyboard\u00a0and tap the PARAM button to select the first occurrence of the string &#8220;VALUE&#8221;.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0137.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6304\" alt=\"IMG_0137\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0137-300x225.png\" width=\"300\" height=\"225\" srcset=\"https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0137-300x225.png 300w, https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0137.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Type in the value you want to use for this parameter. Tap the <strong>Next<\/strong> button to select the next VALUE to replace.<\/p>\n<p>You can build complex command lines by typing directly (for speed) and using the builder. When you have created the command line that you want, simply press the <strong>Send<\/strong> key on the keyboard and your input will be sent to and executed within the PSWA console. You can scroll the console window up and down, left and right by dragging one finger in the direction you wish to scroll.<\/p>\n<p>The last 50 commands sent to the console are automatically added to the <strong>History<\/strong> button in a LIFO (Last In First Out) queue. Tap the <strong>History<\/strong> button to see this list.<\/p>\n<p><a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0138.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6305\" alt=\"IMG_0138\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0138-300x225.png\" width=\"300\" height=\"225\" srcset=\"https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0138-300x225.png 300w, https:\/\/dev.sapien.com\/blog\/wp-content\/uploads\/2013\/04\/IMG_0138.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Tap any item on the list to place it on the Input line. The keyboard will come up. You can edit the input line or simply press the <strong>Send<\/strong> key on the keyboard to send the command to the console.<\/p>\n<p>We will explore the features of the <strong>Scripts<\/strong> button in our next blog post in this series.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Picking up where we left off, let&#8217;s take a closer look at the enhanced\u00a0mobile PowerShell Web Access (PSWA) console that is provided by iPowerShell Pro V3. When you first sign in to PSWA with iPowerShell Pro the console will flash a few times. Upon console startup, we are resetting the font size and the console [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[582,2,554,632],"tags":[722,28,191,57,997],"class_list":["post-6006","post","type-post","status-publish","format-standard","hentry","category-feature-peek","category-general","category-ipowershell","category-whats-new-software-news","tag-ipowershell-pro","tag-powershell","tag-sapien","tag-scripting","tag-windows-powershell"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/6006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=6006"}],"version-history":[{"count":16,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/6006\/revisions"}],"predecessor-version":[{"id":6308,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/6006\/revisions\/6308"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=6006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=6006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=6006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}