This message was deleted.
# _general
s
This message was deleted.
j
I'm sure I use PowerShell on XA5 2003 occasionally
l
mfcom and vbscript, lol
f
πŸ™‚ I don't know where to start writing the script ... do you have something or can you help me write it? In reality it would be enough for me to extrapolate the users, the best would be to know what application they launch. I need it to plan the migration of these users and apps to the new farm.
l
Kinda tempted to fire up a XA4 box in my lab just to play with it again. Let me dig through the archives and see if I can find a sample. Basically you create a "farm" object and then enumerate the servers/users/apps.
πŸ™Œ 1
j
Surely there should be something in @Webster Webster old scripts that support XA5 on 2003? https://carlwebster.com/downloads/download-info/xenapp-5-windows-server-2003/
w
XA4.0 doesn’t support PowerShell. In the 4.5/5 script, I do list users by app and I think server.
j
You mean PS4 πŸ˜‰
w
No, Sony has nothing to do with the conversation! :)
s
Setup resource manager summary db and then create a user access report? Or a simple logon script to write the user name, time/date and server name to a central log file. Not ideal but nothing about this sounds ideal.
s
You could do a cmd script that does Quser /computer: against every server. Think you can do a Qfarm to poll a list of servers, otherwise, it's an MFCOM call
j
for /f %a in (servers.txt) do quser /server:%a >> output.txt or something like that
πŸ‘ 1
s
wow, look at us going old school!!!!
πŸ˜€ 1
j
That's the sh*t I know best
a
I've used Guy's ShowUsers script at a customer recently to quickly log users accessing an old farm that the users are migrating from to see who's been using it in the last 7 days. Note that it will need things like remote event management service running and firewall access to event log to work. Command I used was .\Showusers.ps1 -name '^SRVCTX0' -last 7d -csv 'c:\temp\showusers.csv' where it matches all servers named SRVCTX0x https://github.com/guyrleech/Microsoft/blob/master/Show%20users.ps1
πŸ™Œ 1