-
Understanding the Citrix Virtual Apps and Desktops Administration Model
-
-
-
-
-
Get-BrokerMachineStatus
-
-
-
-
-
-
-
-
-
-
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Get-BrokerMachineStatus
Introduced in: Citrix Virtual Apps and Desktop 7 2112
Gets detailed machine brokering and power management status
Syntax
Get-BrokerMachineStatus
[[-MachineName] <String>]
[-CatalogUid <Int32>]
[-DesktopGroupUid <Int32>]
[-IdlePoolStatus <String>]
[-LaunchReadiness <String>]
[-Sid <String>]
[-Property <String[]>]
[-ReturnTotalRecordCount]
[-MaxRecordCount <Int32>]
[-Skip <Int32>]
[-SortBy <String>]
[-Filter <String>]
[-FilterScope <Guid>]
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
Get-BrokerMachineStatus
[-Uid] <Int32>
[-Property <String[]>]
[<CitrixCommonParameters>]
[<CommonParameters>]
<!--NeedCopy-->
Description
The Get-BrokerMachineStatus cmdlet retrieves detailed internal status of machines relating to their readiness to accept new sessions or undertake power management operations. This information is for diagnostic purposes only.
————————– BrokerMachineStatus Object
Each machine status object returned represents the detailed status of a physical or virtual machine configured in the site with respect to its readiness for brokering or power management.
-
CatalogUid (System.Int32)
The UID of the catalog containing the machine.
-
CurrentSessions (System.Int32)
The number of currently established sessions on the machine.
-
DesktopGroupUid (System.Int32?)
The UID of the desktop group containing the machine.
-
DoNotShutdownBefore (System.DateTime)
Time before which machine should not be shutdown by automatic power management.
-
DrainingUntilReboot (System.Boolean)
Whether no new sessions can be started on the machine as it is drained of sessions pending a reboot as part of a reboot cycle.
-
DrainingUntilShutdown (System.Boolean)
Whether no new sessions can be started on the machine as it is drained of sessions pending a shutdown.
-
EffectiveLoadIndex (System.Int32?)
The machine’s effective load index (0 - 10000, RDS only).
-
FreeSessions (System.Int32)
The number of additional sessions the machine can accept before it reaches its configured session limit (always 0 or 1 for VDI machines).
-
HasPendingPowerActions (System.Boolean)
Whether the machine currently has outstanding, not yet started or completed, power actions.
-
HasRegisteredInPeakTime (System.Boolean)
Machine has registered in current peak time period.
-
HasRegisteredSinceOutage (System.Boolean)
Machine has registered since last recorded site outage.
-
HypervisorInMaintenanceMode (System.Boolean)
Whether the machine’s hypervisor connection (if any) is in maintenance mode.
-
IdlePoolStatus (System.String)
Status of machine with respect to possible idle pool power management operations.
-
IdleTimeBeforeUsageSecs (System.Int32?)
Number of seconds for which the machine should ideally be left idle before it is selected for a new session (for example, after registration).
-
ImageOutOfDate (System.Boolean)
Whether the MCS master disk image currently being used by the machine is out of date.
-
InMaintenanceMode (System.Boolean)
Whether the machine is currently in maintenance mode.
-
LastIdlePeriodStartTime (System.DateTime)
Start time of the last idle period (see IdleTimeBeforeUsageSecs).
-
LastPowerManagementActionUid (System.Int64?)
UID of last power management action performed by this machine (persists after action has completed).
-
LastPowerOnTime (System.DateTime)
Time at which machine was last seen to power on.
-
LastShutdownTime (System.DateTime)
Time at which machine was last seen to power off.
-
LastUserDrivenResetTime (System.DateTime)
Time of last user ‘restart’ operation requested via CWA/SF.
-
LaunchReadiness (System.String)
Summary state of the machine’s readiness to accept a new session.
-
LogonsInProgress (System.Int32?)
The number of session logons currently in progress on the machine (RDS only).
-
MachineFaultState (System.String)
Indicates any diagnostic fault state of the machine, or None otherwise.
-
MachineName (System.String)
The name of the machine (domaine ame).
-
NeedsStart (System.Boolean)
Whether the machine will be restarted when next convenient (a ‘natural’ reboot).
-
NeedsStartReason (System.String)
Reason why the machine will be restarted when next convenient (if any).
-
PendingSessions (System.Int32)
Number of outstanding sessions brokered to the machine that have not yet been established (client has not connected to the machine).
-
PowerManagementActionUid (System.Int64?)
UID of any power management action currently in progress for this machine.
-
PowerOffExpectedSoonAfter (System.DateTime?)
When not null and machine is On, time of last Shutdown/PowerOff action completed by machine and indicates that it should power off soon.
-
PowerSinBinReleaseTime (System.DateTime?)
If set, time after which automatic pool management may attempt to power on machine again following an earlier failure during power on.
-
PowerState (System.String)
The last reported power state of the machine.
-
RebootCycleUid (System.Int64?)
UID of any reboot cycle in which the machine is currently participating.
-
SessionSupport (System.String)
Whether the machine is a VDI (single session) or RDS (multi-session) machine.
-
Sid (System.String)
The Windows SID of the machine.
-
SinBinReleaseTime (System.DateTime?)
When set, indicates that the machine can not be selected for new sessions until the indicated time due to an earlier power management problem.
-
TagUid (System.String[])
List of tags associated with the machine (if any).
-
TenantId (System.Guid?)
Tenant ID associated with the machine (if any).
-
Uid (System.Int32)
The UID of the machine.
-
Usage (System.String)
The CVAD allocation type applicable to the machine.
-
UserForcedLogOffGracePeriodExpiryTime (System.DateTime?)
If set, time at which Autoscale will forcibly logoff remaining sessions on machine if users have not already logged off.
-
UseVerticalScaling (System.Boolean?)
If set, indicates that vertical load balancing is in use for machines in this desktop group.
-
UseVerticalScalingForRdsLaunches (System.Boolean)
Specifies the default for the site as to whether horizontal or vertical load balancing is in use for multi-session machines.
-
WillShutdownAfterUse (System.Boolean)
Whether the machine must be shutdown after current session ends.
-
WillShutdownAfterUseReason (System.String)
Reason why the machine must be shutdown after current session ends (if any).
-
WindowsConnectionSetting (System.String)
The Windows ConnectionSetting value reported on the machine (RDS only).
-
WorkerState (System.String)
Internal machine state.
-
ZoneHealthy (System.Boolean)
Whether the machine’s zone is currently considered healthy.
-
ZoneUid (System.Guid)
The zone in which the machine resides.
Examples
Parameters
-Uid
Get status details of the machine with the specified UID.
Type: | Int32 |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MachineName
Gets status details of machines having a name matching that specified.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
-CatalogUid
Gets status details of machines in the specified catalog.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DesktopGroupUid
Gets status details of machines in the specified desktop group.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IdlePoolStatus
Gets status details of machines with the specified idle pool status.
Type: | String |
Accepted values: | Ignore, CanStartup, CanShutdownAvailable, CanShutdownUnregistered, CanDrainAvailable, CanShutdownUsed |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Introduced in: | Citrix Virtual Apps and Desktop 7 2206 |
-LaunchReadiness
Gets status detais of machines with the specified launch readiness.
Type: | String |
Accepted values: | Never, Later, Soon, Draining, Now, NotApplicable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Sid
Gets status details of the machine with the specified SID.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
-ReturnTotalRecordCount
When specified, this causes the cmdlet to output an error record containing the number of records available. This error record is additional information and does not affect the objects written to the output pipeline. See about_Broker_Filtering for details.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MaxRecordCount
Specifies the maximum number of records to return.
Type: | Int32 |
Position: | Named |
Default value: | 250 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Skip
Skips the specified number of records before returning results. Also reduces the count returned by -ReturnTotalRecordCount.
Type: | Int32 |
Position: | Named |
Default value: | 0 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SortBy
Sorts the results by the specified list of properties. The list is a set of property names separated by commas, semi-colons, or spaces. Optionally, prefix each name with a + or - to indicate ascending or descending order. Ascending order is assumed if no prefix is present.
Type: | String |
Position: | Named |
Default value: | The default sort order is by name or unique identifier. |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Filter
Gets records that match a PowerShell style filter expression. See about_Broker_Filtering for details.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-FilterScope
Gets only results allowed by the specified scope id.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Property
Specifies the properties to be returned. This is similar to piping the output of the command through Select-Object, but the properties are filtered more efficiently at the server.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
CitrixCommonParameters
This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
You can’t pipe objects to this cmdlet.
Outputs
Citrix.Broker.Admin.SDK.GetBrokerMachineStatus
Get-BrokerMachineStatus returns an object for each selected machine.
Related Links
Share
Share
In this article
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.