PSWindowsUpdate is a module that automates windows updates using PowerShell. I work with a lot of desperate environments that aren’t connectedand not all machines are on a domain. The ones that are use different domains that are not trusted. That means WSUS isn’t an option. There are some third party options that could work like […]
Read More →Category: Uncategorized
Copy blobs between storage accounts using AzCopy
The easy way is using AzCopy. There are also methods to do this asynchronously in powershell but I like the path of least resistance. Install Microsoft Azure Storage Tools from here.?http://aka.ms/downloadazcopy Get the URL for both storage account containers that contain the blob. Get the name of the blob Get the access keys for both […]
Read More →Enable Microsoft AntiMalware UI in Azure virtual machine
Simple powershell to enable the Microsoft Antimalware UI in an Azure virtual machine. This is the antimalware extension you can install on deployment, or through security center. Seeing this when trying to open System Center Endpoint Protection on an Azure virtual machine? By default the UI is disabled on an Azure VM. To enable you […]
Read More →Bulk add DNS records to domains using GoDaddy DNS
As part of a migration into Azure I need to add the?awverify cname record to a LOT of domains. GoDaddy actually made this easy with the bulk command in their portal UI. Login to GoDaddy and find one of the domains you need to add the records to. Search for the domain and then click […]
Read More →Powershell – Find the name servers for a list of domains and spit the results to CSV
Change the path of $list to the path of your text file with the domains. The domains need to be one per line in the text file. Change the?$exportPath to where you want to save the CSV file. Then copy and paste the code below into a .ps1 file and run from PowerShell. $list = […]
Read More →Fix Certificate warning in Outlook for Mac
A secure connection cannot be established with the server <domain.com> because its intermediate or root certificate cannot be found. Do you want to continue? If you continue, the information that you view and send will be encrypted, but will not be secure. Microsoft has a suggestion for fixing this, issue a new certificate with the […]
Read More →Enable change tracking (CDC) on a MSSQL database when getting Msg 22830
Recently we received a request to enable change tracking on a database but kept getting an error even under a user with the SA role. Msg 22830, Level 16, State 1, Procedure sp_cdc_enable_db_internal, Line 195 Could not update the metadata that indicates database DBNAME?is enabled for Change Data Capture. The failure occurred when executing the […]
Read More →It’s Friday – Here is a pic of a SQL server with 1.5TB of RAM
If you’re a geek like me then this is pretty f’n cool. Kind of like being able to drive a really fast car. Another cool thing, there are three of these in production.
Read More →FTP access to Azure website with your publishingSettings file
Here is an easy way to gain FTP access to your Azure website. Download your publishing file from the website dashboard. Open FileZilla and from the dashboard paste the FTPS address into the address bar. (Always use FTPS when available). The location is on the right hand side. This is an image of mine, yours […]
Read More →Azure website phpmyadmin site extension “No route registered for ‘/phpmyadmin/”
If you aren’t already aware there are some helpful tools for Azure websites found at https://YOUR-WEBSITE-NAME-HERE.scm.azurewebsites.net. For example if you website name in Azure websites is mikmeh than your scm URL would be?https://mikmeh.scm.azurewebsites.net. You’ll need to be logged in, or login to view the site. Lets assume you already know about this and you also […]
Read More →