Hyper-V Switch Embedded Teaming (SET)

Overview Switch Embedded Teaming (SET) is technology used for network interface card (NIC) teaming in Windows Server with utilizing the HyperV networking stack. Here is the comparataion of the Switch Embedded Teaming (SET) with LBFO (Load Balance and Failover) mode. Switch Embedded Teaming (SET) Introduced in: Windows Server 2016. Purpose: Designed specifically for use with Hyper-V and Software Defined Networking (SDN) environments. Features: Integration with Hyper-V: SET is deeply integrated with the Hyper-V Virtual Switch, allowing virtual NICs (vNICs) for VMs to directly use the teaming capabilities....

June 13, 2024 · 5 min · by Chisqi

How to block all executable files in a folder

Overview To create a Windows firewall rule that blocks all .exe files located within a specific folder, you may use the following powershell command: Get-ChildItem -Path "C:\Program Files (x86)\Apps" *.exe | Select-Object Name,FullName | ForEach-Object ` {New-NetFirewallRule -DisplayName "Block $($_.Name) Inbound" -Direction Inbound -Program "$($_.FullName)" -Action Block; New-NetFirewallRule -DisplayName "Block $($_.Name) Outbound" -Direction Outbound -Program "$($_.FullName)" -Action Block}

February 23, 2024 · 1 min · by Chisqi

Installing Windows Terminal and Winget on Windows Server 2022

Overview: Unlike Windows desktop version such Windows 10, or 11 that by default come with Winget pre-installed, and allow us to install Windows Terminal easily from the Microsoft store, Windows Server 2022 edition doesn’t include these applications by default, and it doesn’t include Microsoft store pre-installed. So, here are the commands to install the Terminal and Winget on Windows server 2022. # Installing Prerequisites Start-BitsTransfer -Source 'https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx' -Destination $home\Microsoft.UI.Xaml.appx Add-AppxPackage $home\Microsoft....

February 15, 2024 · 1 min · by Chisqi

Citrix Cheat Sheet

Introduction Citrix includes the powershell cmdlet when installing, to manage and perform Citrix administrative task via powershell. These are some powershell command can be used. By default, these cmdlet is loaded automatically when the insallation is finsied. If it doesn’t load properly, use this commands to load. Load Module Add-PSSnapin Citrix Alternative: asnp citrix Citrix Cheat Sheet Powershell Cheat sheet Get-Service -DisplayName *citrix* # Display all the Citrix services installed on the Delivery Controller....

October 14, 2023 · 5 min · by Chisqi

Winget

Overview Windows Package Manager (winget) is a command-line tool designed by Microsoft for managing software packages on Windows 10 or 11 edition. It provides a convenient way for users to search, install, upgrade, and uninstall applications from the command line or scripts. Installation This winget package should have been installed on Windows 10 1709 (build 16299) or later or windows 11 version. But if you want to manually install this package, you can follow this method...

August 23, 2023 · 2 min · by Chisqi

Check Block Size / Allocation Unit on Windows

If you want to check the Block Size / Allocation Unit on Windows, you can use the following powershell command: Check volumes blocksize. Get-CimInstance -ClassName Win32_Volume | Select-Object Name,Filesystem,Label,Blocksize | Sort-Object Name | Format-Table -AutoSize Get-WmiObject -Class Win32_Volume -ComputerName $env:COMPUTERNAME | Select BlockSize,Name,FileSystem | Format-Table -AutoSize Check partitions blocksize and StartingOffset. Get-WmiObject -Class Win32_DiskPartition -ComputerName $env:COMPUTERNAME | select Name, NumberOfBlocks, Size, StartingOffset, Blocksize | Format-Table -AutoSize Check only the CSV (Cluster shared volume) on the Hyper-V Cluster Get-CimInstance -ClassName Win32_Volume | where {$_....

August 17, 2023 · 1 min · by Chisqi

Windows Symlink / Symbolic Link

Overview Symbolic links are commonly used in various operating systems, including Unix-like systems such as Linux and macOS, as well as Windows, to create flexible and dynamic file structures, facilitate file organization, and simplify administration tasks. They are frequently employed for creating shortcuts to files or directories, creating virtual copies of files, and providing access to files or directories located in different parts of the file system. In short, by using symbolic links, we can easily redirect one folder or files to another location....

May 19, 2023 · 4 min · by Chisqi

Provisioning Windows Hyper-V Cluster and SAN with LBFO or SET

Network Design And IP Plan Management: 10.0.10.0/24 -> For comunication between Servers. Heartbeat: 10.0.11.0/24-> For comunication between cluster nodes. SAN: 10.0.8.0/27 or /24 -> For comunication to the SAN storage. Server Name Management IP SAN1 IP SAN2 IP HeartBeat IP SAN Storage 10.0.10.8 10.0.8.5 10.0.8.6 10.0.8.7 10.0.8.8 CA-HVC0 10.0.10.10 - - - CA-HVC01 10.0.10.11 10.0.8.11 10.0.8.21 10.0.11.11 CA-HVC02 10.0.10.12 10.0.8.12 10.0.8.22 10.0.11.12 CA-HVC03 10.0.10.13 10.0.8.14 10.0.8.23 10.0.11.13 Requirement You need at least 3 servers with the same hardware specification with 64 bit processors supports a virtualization Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V) technology....

March 12, 2023 · 10 min · by Chisqi

Vmware Power CLI

Introduction VMware PowerCLI is a command-line and scripting toolset for managing VMware environments via powershell. It allows administrators and IT professionals to interact with VMware infrastructure, including vSphere, vCenter Server, ESXi hosts, virtual machines, and more, through PowerShell commands and scripts. Using PowerCLI, you can perform a wide range of tasks, including: Creating and configuring virtual machines. Managing resource pools, clusters, and datastores. Monitoring and reporting on performance metrics. Managing vCenter Server settings and configurations....

February 3, 2023 · 6 min · by Chisqi

Purestorage Offloaded Data Transfer (ODX)

Introduction Offloaded Data Transfers (ODX) is a feature in Microsoft Windows operating systems that was introduced in Windows 8 and Windows Server 2012. ODX is designed to improve the efficiency and speed of data transfer operations, especially in scenarios involving large files and remote storage systems. It allows for the offloading of data transfer operations to the storage hardware, reducing the load on the CPU and improving performance. Key aspects of Offloaded Data Transfers (ODX): Offloading: ODX offloads certain data transfer tasks from the host system (the computer initiating the transfer) to the storage array or storage device itself....

January 28, 2023 · 4 min · by Chisqi