List/Grid Author Archives: Shay Levy
#PSTip Working with Excel constants
When automating Microsoft Excel, almost every time you’ll need to include some constant values to define the behaviour of the code. Excel (and other Office applications) makes extensive use of constant…
The Windows PowerShell 3.0 SDK Sample Pack
Microsoft has released the Windows PowerShell 3.0 SDK Sample Pack. The pack contains code samples that show how to build applications based on Windows PowerShell 3.0. The code samples (C#) demonstrate…
#PSTip Get a list of geographical locations
Note: This tip requires PowerShell 3.0 or above. In a previous tip I wrote about the International module. One of the commands of the module, Get-WinHomeLocation, returns a GeoID object…
#PSTip Getting Enum values in PowerShell 3.0
Note: This tip requires PowerShell 3.0 or above. Prior to PowerShell 3.0, to return a list of names or values of an Enumeration object, we needed to use the static methods of…
#PSTip How to configure International settings in PowerShell 3.0
Note: This tip requires PowerShell 3.0 or above. Windows 8 and Windows Server 2012 ships with a new module worth exploring: the International module. You can use the module cmdlets to control the…
#PSTip How to determine if a file is 32-bit or 64-bit
Someone at the office asked me to check why a specific file was failing to execute. When double-clicking the file, nothing happened and no related process could be found in Task…
