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

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 · 8 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

Purestorage Powershell Toolkit 3.0

Introduction The Pure Storage PowerShell Toolkit 3.0 is a new beginning for the Toolkit. The original version was released in 2016 and was based on older versions of the Pure Storage PowerShell SDK 1.x release. The Toolkit provides useful cmdlets for customers and the Pure Storage Field Support to use in troubleshooting, monitoring, reporting, best practices, and configuration. The PowerShell Toolkit leverages the Pure Storage PowerShell SDK 2.16 for some of the cmdlets....

November 28, 2022 · 2 min · by Chisqi

Purestorage - How to Use Test-WindowsBestPractices

Introduction When deploying a new Pure Storage FlashArray it is important to make sure that Microsoft Windows Server is configured properly and set to the recommended best practice settings for Multipath-IO, TRIM/UNMAP support, and checking that Offloaded Data Transfer (ODX) is enabled. In order to make this easy a Windows PowerShell cmdlet, Test-WindowsBestPractices, was introduced in the Pure Storage PowerShell Toolkit. Windows Server Version Support The Test-WindowsBestPractices PowerShell cmdlet only works with Microsoft Windows Server 2012, 2012 R2, 2016, 2019, and 2022....

November 18, 2022 · 3 min · by Chisqi

The Pure Storage Management Extension for Microsoft SQL Server Management Studio

Introduction Pure Storage® FlashArray Management Extension for Microsoft SQL Server Management Studio (aka FA SSMS Extension) is a database backup and restore extension for Microsoft SQL Server Management Studio (SSMS). The extension supports creating Application Consistent snapshots using the Pure Storage Volume Shadow Copy Service (VSS) Hardware Provider. The extension can be used from the SSMS GUI or automated using the Pure Storage Backup SDK Windows PowerShell module. Database Administrators (DBAs) can manage backup and restore operations on local and remote databases from a centralized SSMS deployment....

November 15, 2022 · 3 min · by Chisqi