<?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 Scripting Tools for Windows PowerShell in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6849975#M7763</link>
    <description>&lt;P&gt;Is anyone else out there using&amp;nbsp;Scripting Tools for Windows PowerShell?&lt;/P&gt;&lt;P&gt;Trying to use the Mount-HPiLOVirtualMedia cmdlet and it works ish. Can connect an ISO image over an HTTP connection but I can't get it to boot. I use the command:&lt;/P&gt;&lt;P&gt;Mount-HPiLOVirtualMedia -server &amp;lt;IP&amp;gt; -Device CDROM -DisableCertificateAuthentication -ImageURL &amp;lt;URL&amp;gt;&lt;/P&gt;&lt;P&gt;On the Virtual Media screen in the iLO managment, the Connected box is greyed out so looks like its mounted but not connected, anyone know how to Connect?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Andy.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2016 14:15:46 GMT</pubDate>
    <dc:creator>AndyMcM</dc:creator>
    <dc:date>2016-04-12T14:15:46Z</dc:date>
    <item>
      <title>Scripting Tools for Windows PowerShell</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6849975#M7763</link>
      <description>&lt;P&gt;Is anyone else out there using&amp;nbsp;Scripting Tools for Windows PowerShell?&lt;/P&gt;&lt;P&gt;Trying to use the Mount-HPiLOVirtualMedia cmdlet and it works ish. Can connect an ISO image over an HTTP connection but I can't get it to boot. I use the command:&lt;/P&gt;&lt;P&gt;Mount-HPiLOVirtualMedia -server &amp;lt;IP&amp;gt; -Device CDROM -DisableCertificateAuthentication -ImageURL &amp;lt;URL&amp;gt;&lt;/P&gt;&lt;P&gt;On the Virtual Media screen in the iLO managment, the Connected box is greyed out so looks like its mounted but not connected, anyone know how to Connect?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Andy.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 14:15:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6849975#M7763</guid>
      <dc:creator>AndyMcM</dc:creator>
      <dc:date>2016-04-12T14:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Tools for Windows PowerShell</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6850806#M7764</link>
      <description>&lt;P&gt;Andy,&lt;/P&gt;&lt;P&gt;I can see that you are using HPiLOCmdlets 1.3.&amp;nbsp; Could you tell me what version of iLO firmware you are using, what OS and PS versions?&amp;nbsp; I think from your email that you are getting no errors when executing the script to test this.&amp;nbsp; Are you also setting the boot order&amp;nbsp;to boot the CDROM using either Set-HPiLOOneTimeBootOrder or Set-HPiLOPersistentBootOrder?&lt;/P&gt;&lt;P&gt;HPE PowerShell Team&lt;/P&gt;&lt;P&gt;jlg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 18:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6850806#M7764</guid>
      <dc:creator>HPEPowerShell</dc:creator>
      <dc:date>2016-04-14T18:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Tools for Windows PowerShell</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6850940#M7765</link>
      <description>&lt;P&gt;Hi jlg,&lt;/P&gt;&lt;P&gt;Thanks for getting back to me. Here is the info below:&lt;/P&gt;&lt;P&gt;HPiLOCmdlets: 1.3&lt;/P&gt;&lt;P&gt;iLO Firmware Version: iLO3 on 1.85 (May 13 2015, latest with SPP)&lt;/P&gt;&lt;P&gt;OS Version: Windows 7 64bit&lt;/P&gt;&lt;P&gt;PowerShell Version:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Major Minor Build Revision&lt;BR /&gt;----- ----- ----- --------&lt;BR /&gt;5 0 10586 117&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using Set-HPiLOOneTimeBootOrder and Set-HPiLOPersistentBootOrder but neither worked. Attached a screenshot of the interface, as well as changing the order in the web interface, but it just does not want to boot from ISO.&lt;/P&gt;&lt;P&gt;Exact command being used:&lt;/P&gt;&lt;P&gt;Mount-HPiLOVirtualMedia -server XXX.XXX.XXX.XXX -Credential $crObj -Device CDROM -DisableCertificateAuthentication -ImageURL &lt;A href="http://XXX.XXX.XXX.XXX:8080/843216_001_spp_2015.10.0-SPP2015100.2015_0921.6.iso" target="_blank"&gt;http://XXX.XXX.XXX.XXX:8080/843216_001_spp_2015.10.0-SPP2015100.2015_0921.6.iso&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have attached a screenshot of what iLO web interface looks like after running the above command.&lt;/P&gt;&lt;P&gt;Thanks for any help!!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2016 10:08:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6850940#M7765</guid>
      <dc:creator>AndyMcM</dc:creator>
      <dc:date>2016-04-15T10:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Tools for Windows PowerShell</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6868750#M7791</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think the problem here is Mount-HPiLOVirtualMedia cmdlet just mounts the virtual media to target server but does not connect the same. To connect the virtual media user need to invoke Set-HPiLOVMStatus cmdlet to make it connected&amp;nbsp;to the remote server.&lt;/P&gt;&lt;P&gt;Set-HPiLOVMStatus -Server $Server -Credential $cred -VMBootOption CONNECT -Device CDROM&amp;nbsp;&amp;nbsp; #connect CDROM&lt;/P&gt;&lt;P&gt;So the flow of cmdlets to attach a media to the remote server are,&lt;/P&gt;&lt;P&gt;Mount-HPiLOVirtualMedia -Server $server -Credential $cred -Device CDROM -ImageURL $URLImage&amp;nbsp;#mount&lt;/P&gt;&lt;P&gt;Set-HPiLOVMStatus -Server&amp;nbsp;&lt;SPAN&gt;$server &lt;/SPAN&gt;-Credential $cred -VMBootOption CONNECT -Device CDROM&amp;nbsp;&amp;nbsp; #connect CDROM&lt;/P&gt;&lt;P&gt;Set-HPiLOOneTimeBootOrder -Server &lt;SPAN&gt;$server &lt;/SPAN&gt;&amp;nbsp;-Credential $cred -Device CDROM &amp;nbsp;#Set Boot order&lt;/P&gt;&lt;P&gt;Set-HPiLOVirtualPowerButton -Server &lt;SPAN&gt;$server &lt;/SPAN&gt;-Credential $cred -PressType Press #restart server&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;HPE PowerShell Team&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 10:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6868750#M7791</guid>
      <dc:creator>GokulKS</dc:creator>
      <dc:date>2016-06-14T10:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Tools for Windows PowerShell</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6937011#M7868</link>
      <description>&lt;P&gt;Gokul&lt;BR /&gt;This does not work I have found&lt;BR /&gt;Mount-HPiLOVirtualMedia -Server $Server -Username $UserName -Password $Password -Device CDROM&amp;nbsp;&amp;nbsp; -ImageURL $ImageURL&lt;BR /&gt;&lt;BR /&gt;Set-HPiLOVMStatus -Server $server -Username $UserName -Password $Password&amp;nbsp; -VMBootOption CONNECT -Device CDROM&amp;nbsp;&amp;nbsp; #connect CDROM&lt;BR /&gt;&lt;BR /&gt;Set-HPiLOOneTimeBootOrder -Server $server&amp;nbsp; -Username $UserName -Password $Password -Device CDROM&amp;nbsp; #Set Boot order&lt;BR /&gt;All run fine&lt;BR /&gt;when I run :&lt;/P&gt;&lt;P&gt;Get-HPiLOVMStatus -Server $server -Username $UserName -Password $Password&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IP : 10.xxx.xxx.xxx&lt;BR /&gt;HOSTNAME :&lt;BR /&gt;STATUS_TYPE : OK&lt;BR /&gt;STATUS_MESSAGE : OK&lt;BR /&gt;&lt;STRONG&gt;VM_APPLET : DISCONNECTED&lt;/STRONG&gt; - Should be Connected&lt;BR /&gt;&lt;STRONG&gt;DEVICE : FLOPPY&lt;/STRONG&gt; - Should be CD-ROM&lt;BR /&gt;&lt;STRONG&gt;BOOT_OPTION : NO_BOOT&lt;/STRONG&gt; - should be Boot Once&lt;BR /&gt;WRITE_PROTECT : YES&lt;BR /&gt;IMAGE_INSERTED : NO&lt;BR /&gt;IMAGE_URL :Http//Server-Name/folder1/864794_001_spp-2016.04.0-SPP2016040.2016_0317.20.iso&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 11:24:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6937011#M7868</guid>
      <dc:creator>virgored</dc:creator>
      <dc:date>2017-02-03T11:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Tools for Windows PowerShell</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6976003#M7910</link>
      <description>&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #000000; font-family: 'Metric Medium', Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;I'm experiencing the same issue,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P style="box-sizing: border-box; margin: 0px;"&gt;&lt;FONT face="courier new,courier" size="2"&gt;Mount-HPiLOVirtualMedia -Server $iLOIP -User $iLOUser -Pass $iLOPass -DisableCertificateAuthentication -Device CDROM -ImageURL $ImageURL | fl&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Set-HPiLOVMStatus -Server $iLOIP -User $iLOUser -Pass $iLOPass -DisableCertificateAuthentication -Device CDROM -VMBootOption CONNECT | fl&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Set-HPiLOOneTimeBootOrder -Server $iLOIP -User $iLOUser -Pass $iLOPass -DisableCertificateAuthentication -Device CDROM | fl&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #000000; font-family: 'Metric Medium', Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;All return no output but are run succesfully (confirmed through iLO web interface).&lt;/P&gt;&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #000000; font-family: 'Metric Medium', Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Running the following command afterwards to confirm the settings:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P style="box-sizing: border-box; margin: 0px;"&gt;&lt;FONT face="courier new,courier" size="2"&gt;Get-HPiLOVMStatus -Server $iLOIP -User $iLOUser -Pass $iLOPass -DisableCertificateAuthentication | fl&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #000000; font-family: 'Metric Medium', Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Returns incorrect information:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P style="box-sizing: border-box; margin: 0px;"&gt;&lt;FONT face="courier new,courier" size="2"&gt;IP : 1.2.3.4&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;HOSTNAME : ilo-host&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;STATUS_TYPE : OK&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;STATUS_MESSAGE : OK&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;VM_APPLET : DISCONNECTED&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;DEVICE : FLOPPY&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;BOOT_OPTION : NO_BOOT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;WRITE_PROTECT : NO&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;IMAGE_INSERTED : NO&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;IMAGE_URL :&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="box-sizing: border-box; margin: 0px 0px 15px; color: #000000; font-family: 'Metric Medium', Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;SPAN&gt;Also, I am unable to use -Credential successfully for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;most&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;cmdlets, it seems to ignore it and prompts for username and password. For some cmdlets (Get-HPiLOHostPower) it works fine. Using -User and -Password does work however.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 00:09:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6976003#M7910</guid>
      <dc:creator>vdepagter</dc:creator>
      <dc:date>2017-09-08T00:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Tools for Windows PowerShell</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6976318#M7914</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;No&amp;nbsp;you missed using -Device for get operation of VM status as by default it will fetch you the floppy information which is not connected.&lt;/P&gt;&lt;P&gt;As mentioned below use the proper parameter&amp;nbsp;name to fetch the required details.&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; Get-HPiLOVMStatus -Server $iLOIP -User $iLOUser -Pass $iLOPass -DisableCertificateAuthentication -Device CDROM | fl&lt;/P&gt;&lt;P&gt;IP : 192.168.x.x&lt;BR /&gt;HOSTNAME : xyx-01.powershvpn.com&lt;BR /&gt;STATUS_TYPE : OK&lt;BR /&gt;STATUS_MESSAGE : OK&lt;BR /&gt;VM_APPLET : DISCONNECTED&lt;BR /&gt;DEVICE : CDROM&lt;BR /&gt;BOOT_OPTION : BOOT_ALWAYS&lt;BR /&gt;WRITE_PROTECT : YES&lt;BR /&gt;IMAGE_INSERTED : YES&lt;BR /&gt;IMAGE_URL : &lt;A href="http://192.168.x.y/webfiles/win2016_server_iso/en_windows_server_2016_x64_dvd_9718492.iso" target="_blank"&gt;http://192.168.x.y/webfiles/win2016_server_iso/en_windows_server_2016_x64_dvd_9718492.iso&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then regarding credentail not able to use i don't think so as i am able to run the cmdlet with credential object itself for HostPower. Let me know what are all cmdlets you can't run with credentails alone.&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; Get-HPiLOHostPower -Credential $cred -Server $iLOIP -DisableCertificateAuthentication -&lt;BR /&gt;&lt;BR /&gt;IP : 192.168.10.8&lt;BR /&gt;HOSTNAME : xyz-01.powershvpn.com&lt;BR /&gt;STATUS_TYPE : OK&lt;BR /&gt;STATUS_MESSAGE : OK&lt;BR /&gt;HOST_POWER : ON&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;P&gt;HPE PowerShell Team&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 07:05:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/6976318#M7914</guid>
      <dc:creator>GokulKS</dc:creator>
      <dc:date>2017-09-12T07:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting Tools for Windows PowerShell</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/7014005#M8125</link>
      <description>&lt;P&gt;&lt;A href="https://notabadvmwareblog.com/2018/07/09/mounting-iso-powershell/" target="_blank"&gt;mounting-iso-powershell&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2018 11:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/scripting-tools-for-windows-powershell/m-p/7014005#M8125</guid>
      <dc:creator>jambon-hache</dc:creator>
      <dc:date>2018-08-04T11:56:41Z</dc:date>
    </item>
  </channel>
</rss>

