This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $subscriptionName = "Personal Subscription" #Destination Azure Subscription Name | |
| $destinationStorageAccountName = "" #Destination Azure Storage Account Name | |
| ## Source Blob details | |
| $sourceUrl = "https://alertlogic.blob.core.windows.net/tmcimage/al-tmc-image_latest.vhd" | |
| $sourceStorageAccount = "alertlogic" | |
| $container = "tmcimage" | |
| $vhdName = "al-tmc-image_latest.vhd" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <?Copyright (c) Microsoft Corporation. All rights reserved.?> | |
| <DataCollectorSet> | |
| <Name>SQL_PERFORMANCE_OVERVIEW</Name> | |
| <DisplayName>@%systemroot%\system32\wdc.dll,#10026</DisplayName> | |
| <Description>@%systemroot%\system32\wdc.dll,#10027</Description> | |
| <Keyword>CPU</Keyword> | |
| <Keyword>Memory</Keyword> | |
| <Keyword>Disk</Keyword> | |
| <Keyword>Network</Keyword> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [CmdletBinding()] | |
| Param | |
| ( | |
| [Parameter(Mandatory=$True)] | |
| [string] $Path | |
| ) | |
| $date = Get-Date -Format yyyyMMddHHmmss | |
| $computer_name = $env:COMPUTERNAME | |
| $destination = "$($computer_name)__$($date)" |
NewerOlder