Delete SSAS Partitions with TMSL and PowerShell

This post demonstrates how to delete SSAS partitions with TMSL and PowerShell. TMSL stands for Tabular Model Scripting Language, and it is used for working with SSAS Tabular databases programmatically at compatibility level 1200 (SQL Server 2016). Multidimensional models and previous versions of SQL Server all use Analysis Services Scripting Language (ASSL for XMLA). A common use for TMSL is automating the processing of tabular models using the SQL Agent, SSIS, PowerShell, or some other application....

January 5, 2017 · Chris Koester

Select Columns from CSV Files with PowerShell

# ------------------------------------------------------------------------ # NAME: CSV_SelectColumns.ps1 # AUTHOR: Chris Koester # DATE: 11/2/2015 # # KEYWORDS: CSV, text, text file # # COMMENTS: This script is used to loop through all CSV files in a folder, # select the desired columns, then output the files to a separate folder. # # DIRECTIONS: Enter the source/destination folder paths and the # desired columns as variable values below. # # REFERENCES: # http://blogs.technet.com/b/heyscriptingguy/archive/2011/10/17/easily-remove-columns-from-a-csv-file-by-using-powershell.aspx # ------------------------------------------------------------------------ # Folder containing source CSV files....

December 8, 2015 · Chris Koester