Microsoft employee; 8x SQL Server MVP specializing in Data Visualization, Business Intelligence, SQL Server Performance Monitoring & Tuning, and PowerShell
-
Microsoft Corporation
- Atlanta, GA
- http://SQLvariant.com
- @SQLvariant
Pinned Loading
-
Extract an .ISPAC from an SSIS Catal...
Extract an .ISPAC from an SSIS Catalog and write to disk via SSIS PowerShell Provider 1<# This is the SSIS Project once it's deployed #>
2$Proj = Get-Item 'SQLSERVER:\SSIS\localhost\SQL2017\Catalogs\SSISDB\Folders\ProviderSolution\Projects\TestSSISProject'
3$Proj | Get-Member -MemberType Methods
45<# This is the theory I have #>
-
Promote a Power BI Report from a QA ...
Promote a Power BI Report from a QA Workspace to a Prod Workspace, while preserving the connection to the Prod database when the updated report lands in the Prod Workspace. 1$source_workspace_ID = (Get-PowerBIWorkspace -Name 'QA-Workspace').Id
2$report = Get-PowerBIReport -Name 'Regional Sales' -WorkspaceId $source_workspace_ID
3$target_workspace_ID = (Get-PowerBIWorkspace -Name 'Prod-Workspace').Id
4$targetReport = Get-PowerBIReport -Name 'Regional Sales' -WorkspaceId $target_workspace_ID
5Copy-PowerBIReport -Report $report -WorkspaceId $source_workspace_ID -TargetWorkspaceId $target_workspace_ID -TargetDatasetId ($targetReport).DatasetId -OutVariable NewReport
-
Get-DisksSpace.PS1
Get-DisksSpace.PS1 1Function Get-DisksSpace
2{
3<#
4.SYNOPSIS
5Grabs Hard Drive & Mount Point space information.
-
Create a SQL-on-Linux Docker Contain...
Create a SQL-on-Linux Docker Container with a Host Mount and Restore the AdventureWorks2016 Database 1{
2"metadata": {
3"kernelspec": {
4"name": "powershell",
5"display_name": "PowerShell"
-
Install SQL / Data Developer Desktop...
Install SQL / Data Developer Desktop Tools from Chocolatey 1Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
23choco install chocolatey -y
4choco install sql-server-management-studio -y
5choco install azure-data-studio -y
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.