< Back
Get-DrsRecommendation
Post
NAME Get-DrsRecommendation
SYNOPSIS
This cmdlet retrieves the available DRS recommendations from the provided clusters.
SYNTAX
Get-DrsRecommendation [[-Cluster] <Cluster[]>] [-Priority <Int32[]>] [-Refresh] [-Server <VIServer[]>]
[<CommonParameters>]
DESCRIPTION
This cmdlet retrieves the available DRS recommendations from the provided clusters.
PARAMETERS
-Cluster <Cluster[]>
Specifies the clusters whose DRS recommendations you want to retrieve.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? true
-Priority <Int32[]>
Specifies the priority of the DRS recommendations you want to retrieve. The valid values range from 1 to 5.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Refresh [<SwitchParameter>]
Indicates that you want the cmdlet to refresh the information about the DRS recommendations before retrieving
it.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed to this
parameter, the command runs on the default servers. For more information about default servers, see the
description of Connect-VIServer.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Zero or more DrsRecommendation objects
NOTES
-------------------------- Example 1 --------------------------
Get-Cluster Cluster | Get-DrsRecommendation -Priority 4,5
Retrieves the DRS recommendations with priorities 4 and 5 from the Cluster cluster.
-------------------------- Example 2 --------------------------
Get-DrsRecommendation -Cluster Cluster -Refresh
Refreshes and retrieves information about the DRS recommendations from the Cluster cluster.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... ation.html
Invoke-DrsRecommendation
SYNOPSIS
This cmdlet retrieves the available DRS recommendations from the provided clusters.
SYNTAX
Get-DrsRecommendation [[-Cluster] <Cluster[]>] [-Priority <Int32[]>] [-Refresh] [-Server <VIServer[]>]
[<CommonParameters>]
DESCRIPTION
This cmdlet retrieves the available DRS recommendations from the provided clusters.
PARAMETERS
-Cluster <Cluster[]>
Specifies the clusters whose DRS recommendations you want to retrieve.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? true
-Priority <Int32[]>
Specifies the priority of the DRS recommendations you want to retrieve. The valid values range from 1 to 5.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Refresh [<SwitchParameter>]
Indicates that you want the cmdlet to refresh the information about the DRS recommendations before retrieving
it.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed to this
parameter, the command runs on the default servers. For more information about default servers, see the
description of Connect-VIServer.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Zero or more DrsRecommendation objects
NOTES
-------------------------- Example 1 --------------------------
Get-Cluster Cluster | Get-DrsRecommendation -Priority 4,5
Retrieves the DRS recommendations with priorities 4 and 5 from the Cluster cluster.
-------------------------- Example 2 --------------------------
Get-DrsRecommendation -Cluster Cluster -Refresh
Refreshes and retrieves information about the DRS recommendations from the Cluster cluster.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... ation.html
Invoke-DrsRecommendation