Tag: Script
-
How To use PowerShell to Install and Import Modules and Connect to Azure–Step by Step
<# ========= Connect-AzureRm.ps1 ======================================= Name: Connect-AzureRm.ps1 Purpose: Connect to Azure from Powershell. Includes installing modules, importing modules, authenticating (including multi-factor) and selecting the subscription Author: Dan Stolts – dstoltsµsoft.com – http://ITProGuru.com Script Home: http://ITProGuru.com/Scripts Syntax/Execution: Copy portion of script you want to use and paste into PowerShell (or ISE) Disclaimer: Use at your own Risk!…
-
How To use PowerShell to Install and Import Modules and Connect to Azure–Step by Step
<# ========= Connect-AzureRm.ps1 ======================================= Name: Connect-AzureRm.ps1 Purpose: Connect to Azure from Powershell. Includes installing modules, importing modules, authenticating (including multi-factor) and selecting the subscription Author: Dan Stolts – dstoltsµsoft.com – http://ITProGuru.com Script Home: http://ITProGuru.com/Scripts Syntax/Execution: Copy portion of script you want to use and paste into PowerShell (or ISE) Disclaimer: Use at your own Risk!…
-
How to Create FileName Variable with Date And Time From Command CMD Batch File For Use in Creating Unique Filename
I created this script for use in my AutoBootVHD8.cmd file which is part of a hands on lab http://ITProGuru.com/HOL Here is the resulting code.. @echo Backing up Boot Configuration Data Rem Create FileName with datatime :: this is Regional settings dependent so tweak this according your current settingsEcho %DATE% %Time%for /f “tokens=1-8 delims=::./ ” %%A…