Table des matières

Vmware

PowerCLI


Liste des commandes

USER
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-Command -Module vmware* -Verb get CommandType Name Definition ----------- ---- ---------- Cmdlet Get-AdvancedSetting Get-AdvancedSetting [[-Name] <String[]>] [[-Entity] <VIObject[]>] [-... Cmdlet Get-AlarmAction Get-AlarmAction [[-AlarmDefinition] <AlarmDefinition[]>] [-ActionTyp... Cmdlet Get-AlarmActionTrigger Get-AlarmActionTrigger [[-AlarmAction] <AlarmAction[]>] [-Verbose] [... Cmdlet Get-AlarmDefinition Get-AlarmDefinition [[-Name] <String[]>] [[-Entity] <VIObject[]>] [-... Cmdlet Get-Annotation Get-Annotation [[-Entity] <InventoryItem>] [[-CustomAttribute] <Cust... Cmdlet Get-CDDrive Get-CDDrive [[-VM] <VirtualMachine[]>] [[-Template] <Template[]>] [[... Cmdlet Get-Cluster Get-Cluster [[-Name] <String[]>] [-VM <VirtualMachine[]>] [-VMHost <... Cmdlet Get-CustomAttribute Get-CustomAttribute [[-Name] <String[]>] [[-TargetType] <CustomAttri... Cmdlet Get-Datacenter Get-Datacenter [[-Name] <String[]>] [-VM <VirtualMachine[]>] [-Clust... Cmdlet Get-Datastore Get-Datastore [[-Name] <String[]>] [-Server <VIServer[]>] [-Location... Cmdlet Get-DatastoreCluster Get-DatastoreCluster [[-Name] <String[]>] [-Id <String[]>] [-Locatio... Cmdlet Get-DeployOption Get-DeployOption [[-Key] <String>] [-Verbose] [-Debug] [-ErrorAction... Cmdlet Get-DeployRule Get-DeployRule [[-Name] <String[]>] [-Verbose] [-Debug] [-ErrorActio... Cmdlet Get-DeployRuleSet Get-DeployRuleSet [-Active] [-Working] [-Verbose] [-Debug] [-ErrorAc... Cmdlet Get-DrsRecommendation Get-DrsRecommendation [[-Cluster] <Cluster[]>] [-Refresh] [-Priority... Cmdlet Get-DrsRule Get-DrsRule [[-Name] <String[]>] [[-Cluster] <Cluster[]>] [[-VM] <Vi... Cmdlet Get-ErrorReport Get-ErrorReport [-ProblemDescription] <String> [-ProblemScriptTimeou... Cmdlet Get-EsxCli Get-EsxCli [[-Server] <VIServer[]>] [-VMHost <VMHost[]>] [-Verbose] ... Cmdlet Get-EsxImageProfile Get-EsxImageProfile [[-Name] <String[]>] [[-Vendor] <String[]>] [[-A... Cmdlet Get-EsxSoftwareDepot Get-EsxSoftwareDepot [-Verbose] [-Debug] [-ErrorAction <ActionPrefer... Cmdlet Get-EsxSoftwarePackage Get-EsxSoftwarePackage [[-Name] <String[]>] [[-Version] <String[]>] ... Cmdlet Get-EsxTop Get-EsxTop [[-CounterName] <String[]>] [-Server <VIServer[]>] [-Verb... Cmdlet Get-FloppyDrive Get-FloppyDrive [[-VM] <VirtualMachine[]>] [[-Template] <Template[]>... Cmdlet Get-Folder Get-Folder [[-Name] <String[]>] [-Location <VIContainer[]>] [-Type <... Cmdlet Get-HAPrimaryVMHost Get-HAPrimaryVMHost [[-Cluster] <Cluster[]>] [-Server <VIServer[]>] ... Cmdlet Get-HardDisk Get-HardDisk [-Id <String[]>] [-Path <DatastoreItem[]>] [-DiskType <... Cmdlet Get-Inventory Get-Inventory [[-Name] <String[]>] [-Location <VIContainer[]>] [-NoR... Cmdlet Get-IScsiHbaTarget Get-IScsiHbaTarget [[-IPEndPoint] <String[]>] [[-IScsiHba] <IScsiHba... Cmdlet Get-LicenseDataManager Get-LicenseDataManager [[-Server] <VIServer[]>] [-Verbose] [-Debug] ... Cmdlet Get-Log Get-Log [-Key] <String[]> [[-VMHost] <VMHost[]>] [[-StartLineNum] <I... Cmdlet Get-LogType Get-LogType [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [-Verbose]... Cmdlet Get-NetworkAdapter Get-NetworkAdapter [[-VM] <VirtualMachine[]>] [[-Template] <Template... Cmdlet Get-NicTeamingPolicy Get-NicTeamingPolicy [[-VirtualSwitch] <VirtualSwitch[]>] [-Server <... Cmdlet Get-OSCustomizationNicMapping Get-OSCustomizationNicMapping [[-OSCustomizationSpec] <OSCustomizati... Cmdlet Get-OSCustomizationSpec Get-OSCustomizationSpec [[-Name] <String[]>] [[-Server] <VIServer[]>... Cmdlet Get-PassthroughDevice Get-PassthroughDevice [[-Name] <String[]>] [[-Type] <PassthroughDevi... Cmdlet Get-PowerCLIConfiguration Get-PowerCLIConfiguration [-Scope <ConfigurationScope>] [-Verbose] [... Cmdlet Get-PowerCLIVersion Get-PowerCLIVersion [-Verbose] [-Debug] [-ErrorAction <ActionPrefere... Cmdlet Get-ResourcePool Get-ResourcePool [[-Name] <String[]>] [-VM <VirtualMachine[]>] [-Loc... Cmdlet Get-ScsiController Get-ScsiController [[-VM] <VirtualMachine[]>] [[-Template] <Template... Cmdlet Get-ScsiLun Get-ScsiLun [[-CanonicalName] <String[]>] [[-VmHost] <VMHost[]>] [-K... Cmdlet Get-ScsiLunPath Get-ScsiLunPath [[-Name] <String[]>] [-ScsiLun] <ScsiLun[]> [-Verbos... Cmdlet Get-Snapshot Get-Snapshot [[-VM] <VirtualMachine[]>] [[-Name] <String[]>] [-Id <S... Cmdlet Get-Stat Get-Stat [[-Entity] <VIObject[]>] [-Common] [-Memory] [-Cpu] [-Disk]... Cmdlet Get-StatInterval Get-StatInterval [[-Name] <String[]>] [[-SamplingPeriodSecs] <Int32[... Cmdlet Get-StatType Get-StatType [[-Name] <String[]>] [[-Entity] <InventoryItem[]>] [-St... Cmdlet Get-Tag Get-Tag [[-Name] <String[]>] [-Category <TagCategory[]>] [-Server <V... Cmdlet Get-TagAssignment Get-TagAssignment [[-Entity] <VIObjectCore[]>] [-Category <TagCatego... Cmdlet Get-Task Get-Task [[-Status] <TaskState>] [-Server <VIConnection[]>] [-Verbos... Cmdlet Get-Template Get-Template [[-Name] <String[]>] [-Location <VIContainer[]>] [-Data... Cmdlet Get-UsbDevice Get-UsbDevice [[-VM] <VirtualMachine[]>] [[-Template] <Template[]>] ... Cmdlet Get-VApp Get-VApp [[-Name] <String[]>] [-Location <VIContainer[]>] [-NoRecurs... Cmdlet Get-VDBlockedPolicy Get-VDBlockedPolicy -VDPortgroup <VDPortgroup[]> [-Server <VIServer[... Cmdlet Get-VDPort Get-VDPort [[-Key] <String[]>] [-VDPortgroup <VDPortgroup[]>] [-VDSw... Cmdlet Get-VDPortgroup Get-VDPortgroup [[-Name] <String[]>] [-NetworkAdapter <NetworkAdapte... Cmdlet Get-VDPortgroupOverridePolicy Get-VDPortgroupOverridePolicy [-VDPortgroup] <VDPortgroup[]> [-Serve... Cmdlet Get-VDSecurityPolicy Get-VDSecurityPolicy -VDPortgroup <VDPortgroup[]> [-Server <VIServer... Cmdlet Get-VDSwitch Get-VDSwitch [[-Name] <String[]>] [-Location <FolderContainer[]>] [-... Cmdlet Get-VDSwitchPrivateVlan Get-VDSwitchPrivateVlan [[-VDSwitch] <VDSwitch[]>] [-PrimaryVlanId <... Cmdlet Get-VDTrafficShapingPolicy Get-VDTrafficShapingPolicy -Direction <TrafficDirection> -VDPortgrou... Cmdlet Get-VDUplinkLacpPolicy Get-VDUplinkLacpPolicy -VDPortgroup <VDPortgroup[]> [-Server <VIServ... Cmdlet Get-VDUplinkTeamingPolicy Get-VDUplinkTeamingPolicy -VDPortgroup <VDPortgroup[]> [-Server <VIS... Cmdlet Get-VIAccount Get-VIAccount [[-Name] <String[]>] [-Group] [-User] [-Server <VIServ... Cmdlet Get-VICredentialStoreItem Get-VICredentialStoreItem [[-Host] <String>] [[-User] <String>] [[-F... Cmdlet Get-VIEvent Get-VIEvent [[-Entity] <VIObject[]>] [-Start <Nullable`1>] [-Finish ... Cmdlet Get-View Get-View [-VIObject] <VIObject[]> [-Property <String[]>] [-Verbose] ... Cmdlet Get-VIObjectByVIView Get-VIObjectByVIView [-VIView] <ViewBase[]> [-Verbose] [-Debug] [-Er... Cmdlet Get-VIPermission Get-VIPermission [[-Entity] <VIObject[]>] [-Principal <VIAccount[]>]... Cmdlet Get-VIPrivilege Get-VIPrivilege [[-Name] <String[]>] [-PrivilegeGroup] [-PrivilegeIt... Cmdlet Get-VIProperty Get-VIProperty [[-Name] <String[]>] [[-ObjectType] <String[]>] [-Dec... Cmdlet Get-VIRole Get-VIRole [[-Name] <String[]>] [-Id <String[]>] [-Server <VIServer[... Cmdlet Get-VirtualPortGroup Get-VirtualPortGroup [[-VMHost] <VMHost[]>] [-VM <VirtualMachine[]>]... Cmdlet Get-VirtualSwitch Get-VirtualSwitch [[-VMHost] <VMHost[]>] [[-VM] <VirtualMachine[]>] ... Cmdlet Get-VM Get-VM [[-Name] <String[]>] [-Server <VIServer[]>] [-Datastore <Stor... Cmdlet Get-VMGuest Get-VMGuest [[-VM] <VirtualMachine[]>] [-Server <VIServer[]>] [-Verb... Cmdlet Get-VMGuestNetworkInterface Get-VMGuestNetworkInterface [[-VM] <VirtualMachine[]>] [-Name <Strin... Cmdlet Get-VMGuestRoute Get-VMGuestRoute [[-VM] <VirtualMachine[]>] [-VMGuest <VMGuest[]>] [... Cmdlet Get-VMHost Get-VMHost [[-Name] <String[]>] [-NoRecursion] [-Datastore <StorageR... Cmdlet Get-VMHostAccount Get-VMHostAccount [[-Id] <String[]>] [-Group] [-User] [-Server <VISe... Cmdlet Get-VMHostAdvancedConfiguration Get-VMHostAdvancedConfiguration [[-Name] <String[]>] [[-VMHost] <VMH... Cmdlet Get-VMHostAttributes Get-VMHostAttributes [-VMHost] <VMHost> [-Verbose] [-Debug] [-ErrorA... Cmdlet Get-VMHostAuthentication Get-VMHostAuthentication [[-VMHost] <VMHost[]>] [-Server <VIServer[]... Cmdlet Get-VMHostAvailableTimeZone Get-VMHostAvailableTimeZone [[-Name] <String[]>] [[-VMHost] <VMHost[... Cmdlet Get-VMHostDiagnosticPartition Get-VMHostDiagnosticPartition [[-VMHost] <VMHost[]>] [-All] [-Server... Cmdlet Get-VMHostDisk Get-VMHostDisk [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [-Verbo... Cmdlet Get-VMHostDiskPartition Get-VMHostDiskPartition [[-VMHostDisk] <VMHostDisk[]>] [-Verbose] [-... Cmdlet Get-VMHostFirewallDefaultPolicy Get-VMHostFirewallDefaultPolicy [[-VMHost] <VMHost[]>] [[-Server] <V... Cmdlet Get-VMHostFirewallException Get-VMHostFirewallException [[-Name] <String[]>] [[-VMHost] <VMHost[... Cmdlet Get-VMHostFirmware Get-VMHostFirmware [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [-V... Cmdlet Get-VMHostHba Get-VMHostHba [[-Device] <String[]>] [[-VMHost] <VMHost[]>] [-Type <... Cmdlet Get-VMHostImageProfile Get-VMHostImageProfile [-Entity] <VIObjectCore> [-Verbose] [-Debug] ... Cmdlet Get-VMHostMatchingRules Get-VMHostMatchingRules [-VMHost] <VMHost> [-DeployRuleSet <DeployRu... Cmdlet Get-VMHostModule Get-VMHostModule [[-Name] <String[]>] [[-VMHost] <VMHost[]>] [-Serve... Cmdlet Get-VMHostNetwork Get-VMHostNetwork [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [-Ve... Cmdlet Get-VMHostNetworkAdapter Get-VMHostNetworkAdapter [[-VMHost] <VMHost[]>] [[-Name] <String[]>]... Cmdlet Get-VMHostNtpServer Get-VMHostNtpServer [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [-... Cmdlet Get-VMHostPatch Get-VMHostPatch [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [-Verb... Cmdlet Get-VMHostProfile Get-VMHostProfile [[-Name] <String[]>] [-Description <String[]>] [-E... Cmdlet Get-VMHostProfileRequiredInput Get-VMHostProfileRequiredInput [[-VMHost] <VMHost>] [[-Variable] <Ha... Cmdlet Get-VMHostRoute Get-VMHostRoute [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] [-Verb... Cmdlet Get-VMHostService Get-VMHostService [[-VMHost] <VMHost[]>] [-Refresh] [-Server <VIServ... Cmdlet Get-VMHostSnmp Get-VMHostSnmp [[-Server] <VIServer[]>] [-Verbose] [-Debug] [-ErrorA... Cmdlet Get-VMHostStartPolicy Get-VMHostStartPolicy [[-VMHost] <VMHost[]>] [-Server <VIServer[]>] ... Cmdlet Get-VMHostStorage Get-VMHostStorage [[-VMHost] <VMHost[]>] [-Refresh] [-RescanAllHba] ... Cmdlet Get-VMHostSysLogServer Get-VMHostSysLogServer [[-VMHost] <VMHost[]>] [-Server <VIServer[]>]... Cmdlet Get-VMQuestion Get-VMQuestion [[-QuestionText] <String>] [-VM <VirtualMachine[]>] [... Cmdlet Get-VMResourceConfiguration Get-VMResourceConfiguration [[-VM] <VirtualMachine[]>] [-Server <VIS... Cmdlet Get-VMStartPolicy Get-VMStartPolicy [[-VM] <VirtualMachine[]>] [-VMHost <VMHost[]>] [-...