Cerrado

Powershell Script to get Client IP connected to Windows Server & IP Access Filter

Modify the following PowerShell script which runs on a XenDesktop application server (Windows 2008 R2 or Windows 2012 R2) so it'll work without requiring a specific Citrix command which in turn requires read/only access to the Citrix XenDesktop Broker:

Part #1:

Powershell:

Set-ExecutionPolicy Unrestricted -force

aspn citrix*

Get-BrokerSession -AdminAddress "[url removed, login to view]"

[Environment]::SetEnvironmentVariable("ClientIP", $(Get-BrokerSession -UserName $($env:USERDOMAIN + "\" + $env:USERNAME) | select -ExpandProperty ClientAddress), "User”)

In the above code, the part were it says SetEnvironmentVariable("ClientIP"

This part I'd like to replace with a standard Windows call not requiring Get-BrokerSession

Based on Citrix discussion website

[url removed, login to view]

Possibilities include something like the following:

[Environment]::SetEnvironmentVariable("HKLM\Software\Citrix\ICA\Session\$SessionID\Connection\"ClientAddress")

Part #2:

XenApp 6.5 and previous versions of Citrix had the ability to load balance based on IP address. I'm not able to locate this in XenDesktop 7.9. In policies there are several settings related to Load Balancing, but nothing concerning IP address To be clear, the load balancing is so that Users are directed to certain servers based on a particular load balancing criteria. Let's say RAM and CPU were used and the XenApp 6.5 QFARM /LOAD equivalent is 4500 because. Is there something similar in XenDesktop when you're working with Windows 2008 R2 / Windows 2012 R2 hosted desktops?

New-BrokerAccessPolicyRule -Name ‘Branch_B001' -AllowedConnections filtered -AllowedProtocols ‘HDX’ -AllowedUsers filtered -IncludedClientIPFilterEnabled $true -IncludedClientIPs ‘[url removed, login to view]’ -IncludedDesktopGroupFilterEnabled $true -IncludedDesktopGroups ‘B001’

Based on Citrix discussion website

[url removed, login to view]

Project Update:
Part #2 has been completed. Only looking to do Part #1 for the Windows function to get environment variable ClientIP with the client machine IP address.

Modify the following PowerShell script which runs on a XenDesktop application server (Windows 2008 R2 or Windows 2012 R2) so it'll work without requiring a specific Citrix command which in turn requires read/only access to the Citrix XenDesktop Broker:

Part #1:
Powershell:
Set-ExecutionPolicy Unrestricted -force
aspn citrix*
Get-BrokerSession -AdminAddress "controllername.domain.com"
[Environment]::SetEnvironmentVariable("ClientIP", $(Get-BrokerSession -UserName $($env:USERDOMAIN + "" + $env:USERNAME) | select -ExpandProperty ClientAddress), "User”)

In the above code, the part were it says SetEnvironmentVariable("ClientIP"
This part I'd like to replace with a standard Windows call not requiring Get-BrokerSession

Based on Citrix discussion website
http://discussions.citrix.com/topic/380026-xendesktop-application-server-vda-powershell-asnp-citrix/

Possibilities include something like the following:
[Environment]::SetEnvironmentVariable("HKLM\Software\Citrix\ICA\Session\$SessionID\Connection"ClientAddress")

Habilidades: Powershell

Ver más: ios windows chat client server, php connect remote access database windows server, windows powershell script folder permissions, powershell script copy files server, client server library linux windows, windows mobile client server applications, software access point windows server, client server programming linux windows, build access point windows server, ubuntu server 904 vpn windows client, read access database windows script host, asp net windows application client server example, login script windows 2008 allowing 2003 server access, client server socket program windows, simple windows tcpip client server app

Información del empleador:
( 13 comentarios ) United States

Nº del proyecto: #11341437

4 freelancers están ofertando el promedio de $450 para este trabajo

benji0522

Consider it done.......................................................................................................... :)

$555 USD en 10 días
(4 comentarios)
3.4
engrgulnawaz

Hi, I will be pleased to join your project as i possessed the required skills and experience. I have excellent skills on networking and Windows server adminatrationand am confidant to execute your project successfully. Más

$400 USD en 3 días
(0 comentarios)
0.0
bmartynvw

I'm an experienced system administrator with over a decade of experience. I have worked with PowerShell for several such requirements. Please initiate a chat to discuss further

$400 USD en 10 días
(0 comentarios)
0.0
yshwntsingh

A proposal has not yet been provided

$444 USD en 10 días
(0 comentarios)
0.0