Depending on how the OS is installed, with Citrix PVS capture you may end up with “System Reserved” partition consuming a drive letter, Code below could be used during a machine startup script to provide a clean user experience. Also, included CD-ROM which I used for PVS BootISO and it is not really needed once […]
$pdt = Get-BrokerPrivateDesktop DOMAIN\MACHINENAME Get-BrokerUser -PrivateDesktopUid $pdt.Uid | Add-BrokerUser -PrivateDesktop “DOMAIN\NewMachineName”
Citrix provides access to Monitoring Data via ODATA API, I find it useful to extract session info to a very granular level [eg: by mintue]. This is the same data Citrix Director uses to present the fancy usage graphs but as you expand to longer time series it averages it and you might not get […]
https://github.com/Siva-Github/Duo-PSModule Forked from Duo-PSModule by mbegan, added new Administrator Activation Link functions. this automates the provisioning process to the duo admin console and lets you create the account with just corp email whereas GUI forces you to enter temp password and require to key in the user’s phone #.
MSOnline PowerShell module is required to run this, the new AzureAD commandlets do not appear to have the strong authentication properties yet. Run the following PowerShell lines to load and connect to your Azure/o365 tenant. Powershell snippet below gets all user from the tenant and expands StrongAuthenticationUserDetails property to retrieve the enrolled MFA info and […]
Download the latest version of root ca list [SST] from windows update on a device that has network connection certutil.exe -generateSSTFromWU roots.sst copy the sst file to the offline machine and use powershell to import the root ca list. $sst = ( Get-ChildItem -Path C:\certs\roots.sst ) $sst | Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root
code snippet to generate a 10-year SSL self-signed cert, notice the NotAfter argument. Once successfully run, cert can be exported through local machine certificate MMC. New-SelfSignedCertificate command-let is available in windows 8.1 and above.
In a case where you have two network interfaces, eg: 4G data card and local ethernet card connect to your device and you would like traffic to a specific destination to go via a preferred network interface, PS code below could guide you through it. E.g ps code below shows the route to 188.8.131.52 to […]
Ensure the following “Generic / Text Only” is loaded in Printer Driver store (eg: Powershell on 2012 R2) Add-PrinterDriver -Name “Generic / Text Only” Citrix policy “Universal print driver usage” set to “Use universal printing only if requested driver is unavailable”
Making report more pretty:open csv with excel and perform replace CTRL + H, Find “, ” Replace with hold the ALT key down and then press 010 on the number pad.ref – http://www.exceldashboardtemplates.com/how-to-find-and-replace-a-hard-return-in-an-excel-spreadsheet/