Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
JR Dalrymple
/
check_citrix_user
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b98184a5
authored
Oct 27, 2015
by
JR Dalrymple
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started work on the PS1
parent
ed47c7cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
check_citrix_user.ps1
+29
-0
No files found.
check_citrix_user.ps1
0 → 100755
View file @
b98184a5
#################################################################################
#
# NAME: check_citrix_user.ps1
#
# COMMENT: Script to send NSCA passive check for each user logged into a Citrix
# XenApp 6.x environment. Useful for doing reporting on which users are
# Logging in when
#
#
# Release Hitory:
#
#################################################################################
if
(
(
Get-PSSnapin
-Name Citrix.XenApp.Commands -ErrorAction SilentlyContinue
)
-eq
$null
)
{
Add-PSSnapin
Citrix.XenApp.Commands
}
$sendNscaBinary
=
$loggedOnUsers
=
$returnCode
=
3
#Unknown by default
function
sendNscaExit
(
$returnCode
,
$statusoutput
)
{
}
foreach
(
$user
in
$loggedOnUsers
)
{
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment