<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Adding SD Card to Boot Policy using PowerTool in Cisco Developed UCS Integrations Discussions</title>
    <link>https://community.cisco.com/t5/cisco-developed-ucs-integrations-discussions/adding-sd-card-to-boot-policy-using-powertool/m-p/3598859#M455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone. I am trying to create a boot policy using PowerTool Suite (version 2.3.1.5) and am having difficulty finding the commandlet/option to add just the SD Card.&amp;nbsp; I am able to add the policy fine, but I cannot find where to add the SD Card for boot order "1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been following the script here (&lt;A href="https://community.cisco.com/docs/DOC-36761"&gt;UCS Base Configuration Builder PowerShell Script&lt;/A&gt;), but in this script it adds all of local disk and not just the SD Card.&amp;nbsp; Here's the block of code that I have been trying to get to work and to just add the SD Card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$mo = Get-UcsOrg -Level root&amp;nbsp; | Add-UcsBootPolicy -EnforceVnicName "yes" -Name "SD-BOOT" -PolicyOwner "local" -RebootOnUpdate "no"&lt;/P&gt;&lt;P&gt;$mo_2 = $mo | Add-UcsLsbootVirtualMedia -Access "read-only" -Order "2"&lt;/P&gt;&lt;P&gt;$mo_3 = $mo | Add-UcsLsbootStorage -Order 1&lt;/P&gt;&lt;P&gt;$mo_3_1 = $mo_3 | Add-UcsLsbootLocalStorage&lt;/P&gt;&lt;P&gt;$mo_3_1_1 = $mo_3_1 | Add-UcsLsbootDefaultLocalImage -Order 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Feb 2018 21:28:35 GMT</pubDate>
    <dc:creator>kevin.schott</dc:creator>
    <dc:date>2018-02-13T21:28:35Z</dc:date>
    <item>
      <title>Adding SD Card to Boot Policy using PowerTool</title>
      <link>https://community.cisco.com/t5/cisco-developed-ucs-integrations-discussions/adding-sd-card-to-boot-policy-using-powertool/m-p/3598859#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone. I am trying to create a boot policy using PowerTool Suite (version 2.3.1.5) and am having difficulty finding the commandlet/option to add just the SD Card.&amp;nbsp; I am able to add the policy fine, but I cannot find where to add the SD Card for boot order "1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been following the script here (&lt;A href="https://community.cisco.com/docs/DOC-36761"&gt;UCS Base Configuration Builder PowerShell Script&lt;/A&gt;), but in this script it adds all of local disk and not just the SD Card.&amp;nbsp; Here's the block of code that I have been trying to get to work and to just add the SD Card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$mo = Get-UcsOrg -Level root&amp;nbsp; | Add-UcsBootPolicy -EnforceVnicName "yes" -Name "SD-BOOT" -PolicyOwner "local" -RebootOnUpdate "no"&lt;/P&gt;&lt;P&gt;$mo_2 = $mo | Add-UcsLsbootVirtualMedia -Access "read-only" -Order "2"&lt;/P&gt;&lt;P&gt;$mo_3 = $mo | Add-UcsLsbootStorage -Order 1&lt;/P&gt;&lt;P&gt;$mo_3_1 = $mo_3 | Add-UcsLsbootLocalStorage&lt;/P&gt;&lt;P&gt;$mo_3_1_1 = $mo_3_1 | Add-UcsLsbootDefaultLocalImage -Order 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 21:28:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-developed-ucs-integrations-discussions/adding-sd-card-to-boot-policy-using-powertool/m-p/3598859#M455</guid>
      <dc:creator>kevin.schott</dc:creator>
      <dc:date>2018-02-13T21:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding SD Card to Boot Policy using PowerTool</title>
      <link>https://community.cisco.com/t5/cisco-developed-ucs-integrations-discussions/adding-sd-card-to-boot-policy-using-powertool/m-p/3598860#M456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use below cmdlets for adding SD Card in boot policy.&lt;/P&gt;&lt;P&gt;In the below example, I have created a boot policy "testboot1" and added SD Card at order 1 and Virtual Media at order 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Start-UcsTransaction&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$mo = Get-UcsOrg -Level root&amp;nbsp; | Add-UcsBootPolicy -Name "testboot1"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$mo_1 = $mo | Add-UcsLsbootStorage -Order 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$mo_1_1 = $mo_1 | Add-UcsLsbootLocalStorage&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$mo_1_1_1 = $mo_1_1 | Add-UcsLsbootUsbFlashStorageImage -Order 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$mo_2 = $mo | Add-UcsLsbootVirtualMedia -Access "read-only-local" -LunId "0" -Order 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Complete-UcsTransaction&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used ConvertTo-UcsCmdlet feature of powertool for generating cmdlets from GUI operation logs.&lt;/P&gt;&lt;P&gt;You can also refer the same for any other cmdlets required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.cisco.com/legacyfs/online/fusion/115217_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 05:14:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cisco-developed-ucs-integrations-discussions/adding-sd-card-to-boot-policy-using-powertool/m-p/3598860#M456</guid>
      <dc:creator>rrawal</dc:creator>
      <dc:date>2018-02-14T05:14:25Z</dc:date>
    </item>
  </channel>
</rss>

