Backup GPOs basing on GPO DisplayName

$invalidChars = ‘:\\/’ + [RegEx]::Escape(-join [IO.Path]::InvalidPathChars) $backupDir = ‘C:\temp\backup’ Get-GPO -All -Domain <DOmain Name>| ForEach-Object { $name = $_.DisplayName -replace “[$invalidChars]”, ‘_’ $gpoDir = Join-Path...

Activate Windows with KMS server

Activate Windows with KMS Server Step 1: KMS Client Setup Key Before activating your Microsoft product (Windows or Office) on the KMS server, you must change...

KMS activation

How do I manually connect my Windows or Windows Server device to the KMS activation server? Right Click on the Start menu and select Command Prompt (Admin) Run...

Function Name: Get-LoggedIn

Function Name: Get-LoggedIn   # ——————————————- # Function Name: Get-LoggedIn # Return the current logged-in user of a remote machine. # ——————————————- function Get-LoggedIn {...

Function Name: Get-Uptime

Function Name: Get-Uptime # ——————————————- # Function Name: Get-Uptime # Calculate and display system uptime on a local machine or remote machine. # ——————————————- function...

VM inventory using Powershell

Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -Scope User -Confirm:$false Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Scope User -Confirm:$false #$cred = Get-Credential Domain\username Connect-VIServer VCenter-Name -Credential $cred -force & { foreach ($vCenterServer...

Add Notes To Multiple VM’s

Note: This script will overwrite the existing Notes, so use it at your own risk! My colleague asked me to add some notes to the...

NewRemote-Process

cls Function New-RemoteProcess { #[CmdletBinding()] Param( [String]$ComputerName = $env.computername, [String]$Cmd = $(Throw “You must enter path to the command which will create the process”), [String]$ac,...

Delete User profiles using DELPROF2

Create .csv file with  column name “Computername” $servers = import-csv C:\Temp\servers.csv $comps = ($servers).ComputerName $comps | %{ New-Item -ItemType Directory -Force \\$PSItem\c$\Temp; Copy-Item C:\Temp\Delprof \\$PSItem\c$\Temp\Delprof...
Categorie 1
Citrix Ports
ICA#1494 RDP#3389 CGP#2598 IMA#2512 AMC#2513 XML#8080 License Manager Daemon#27000 Citrix Vendor Daemon#7279 License Management Console#8082 Citrix Receiver#80 Citrix Receiver#443 Offline Plug-in-SMB#445 Power & Capacity Management...
Communication flow Citrix XenApp/XenDesktop logon process
Communication flow during the different stages of the Citrix XenApp/XenDesktop logon process 1. The user device submits credentials to the Web Interface (WI) or StoreFront (SF)...
XenApp & XenDesktop Avoid Customer Experience Improvement Program (CEIP)
when I updated to 7.14 I had the issue, because my license server and my delivery controller cannot communicate outside there is also a ugly...
Reset Machine name in Catalog
If you’ve deleted these machines from AD and DDC (I assume by using Desktop Studio to delete the machines) then you can get back to...
Categories 2
Citrix Ports
ICA#1494 RDP#3389 CGP#2598 IMA#2512 AMC#2513 XML#8080 License Manager Daemon#27000 Citrix Vendor Daemon#7279 License Management Console#8082 Citrix Receiver#80 Citrix Receiver#443 Offline Plug-in-SMB#445 Power & Capacity Management...
Communication flow Citrix XenApp/XenDesktop logon process
Communication flow during the different stages of the Citrix XenApp/XenDesktop logon process 1. The user device submits credentials to the Web Interface (WI) or StoreFront (SF)...
XenApp & XenDesktop Avoid Customer Experience Improvement Program (CEIP)
when I updated to 7.14 I had the issue, because my license server and my delivery controller cannot communicate outside there is also a ugly...
Reset Machine name in Catalog
If you’ve deleted these machines from AD and DDC (I assume by using Desktop Studio to delete the machines) then you can get back to...