You have an Azure Virtual Desktop deployment.
You deploy and configure Azure Virtual Desktop in a secondary location.
You plan to perform a test failover to the secondary location, but discover existing user sessions to the primary location.
You need to sign out users from the session hosts in the primary location.
Which PowerShell cmdlet should you run?
Suggested Answer: B
Get Premium AZ-140 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
21 comments · newest first
AM
Amber
1 month ago
A is definitely the cmdlet to use here. It’s clear and concise!
LA
Latrice
2 months ago
I’m not sure about B. A is more direct for logging off.
EL
Elvera
2 months ago
I feel like A is the best option. It’s specific to user sessions.
JI
Jill
2 months ago
I’m leaning towards B. Remove-AzWvdUserSession sounds relevant.
CR
Craig
2 months ago
I agree, A seems right. It’s about logging off users.
RO
Rosendo
2 months ago
This question is tricky! I think it's A.
LU
Luther
3 months ago
A) seems like the only logical option here. Good luck, everyone!
FE
Fernanda
3 months ago
I’m leaning towards A) too. It’s clear about signing out users.
LA
Lashon
3 months ago
A) is definitely the best choice. It’s specifically for user sessions.
ST
Staci
3 months ago
B) Remove-AzWvdUserSession is tempting, but I feel it's not the right context.
RE
Renea
3 months ago
I agree, A) makes sense for logging off users.
EA
Earleen
3 months ago
I think it's A) Invoke-RdsUserSessionLogoff. Seems straightforward.
BI
Billi
4 months ago
Surprised this isn't more straightforward!
MA
Marnie
4 months ago
Just to clarify, A is for logging off users, right?
KA
Kattie
4 months ago
Wait, are you sure? I thought it was B.
MI
Millie
5 months ago
Totally agree, that's the right cmdlet!
VA
Valda
6 months ago
A) Invoke-RdsUserSessionLogoff is the one you need!
AR
Aron
6 months ago
I definitely remember that Invoke-RdsUserSessionLogoff is used for logging off users, but I’m not 100% confident if it applies to this specific scenario.
HA
Haydee
6 months ago
I’m a bit confused about the options. I know Remove-AzWvdUserSession sounds relevant, but I can't recall if it actually logs users off.
QU
Quentin
6 months ago
I remember practicing a similar question where we had to manage user sessions in Azure Virtual Desktop. I feel like Invoke-RdsUserSessionLogoff might be the right choice.
AM
Amalia
7 months ago
I think the cmdlet we need is related to logging off user sessions, but I'm not entirely sure which one it is.