Dell Lifecycle Controller 2 Version 1.3.0 Guida Utente Pagina 125

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 315
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 124
125 Dell Lifecycle Controller Web Services Interface Guide for Windows
+Name=DCIM:LCService -file:[DIRECTORYPATH]\SetAttribute_LC.xml -
r:https://[IPADDRESS]:443/wsman -u:[USER] -p:[PASSWORD]
-auth:basic -encoding:utf-8 -SkipCNCheck -SkipCACheck
The input file SetAttribute_LC.xml is shown below:
<p:SetAttribute_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService">
<p:AttributeName>Part Firmware Update</p:AttributeName> <p:AttributeValue>Allow
version upgrade only</p:AttributeValue>
</p:SetAttribute_INPUT>
This method is used to set the values of multiple attributes.
Invoke SetAttributes() with the following parameters and syntax:
EXAMPLE 2:
winrm i SetAttributes http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService ?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_LCService +SystemName=DCIM:ComputerSystem
+Name=DCIM:LCService -file:[DIRECTORYPATH]\SetAttributes_LC.xml
-r:https://[IPADDRESS]:443/wsman -u:[USER] -p:[PASSWORD] -auth:basic -
encoding:utf-8 -SkipCNCheck -SkipCACheck
The input file SetAttributes_LC.xml is shown below:
<p:SetAttributes_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService">
<p:AttributeName>Part Firmware Update</p:AttributeName> <p:AttributeValue>Allow
version upgrade only</p:AttributeValue> <p:AttributeName>Collect System
Inventory on Restart </p:AttributeName>
<p:AttributeValue>Enabled</p:AttributeValue>
</p:SetAttributes_INPUT>
OUTPUT:
SetAttribute_OUTPUT
RebootRequired = No
ReturnValue = 0
SetResult = Set PendingValue
Vedere la pagina 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 314 315

Commenti su questo manuale

Nessun commento