MDGP 2015 R2 Feature of the Day: Scriptable Provisioning & Management
Microsoft Dynamics GP 2015 R2 will soon be released (due late May/early June and, as with previous releases, Microsoft have started a Feature of the Day series on the Inside Microsoft Dynamics GP Team...
View ArticlePowerShell to Promote Domain Controller
When testing Microsoft Dynamics GP, I often need a domain controller within my set of virtual machines. I’ve been promoting a server to be a domain controller manually, but it recently occurred to me...
View ArticlePowerShell for Hyper-V: Series Index
When I joined ISC Software Solutions I received a new work laptop. This gave me both the need and, importantly, the time to get everything setup as I need it. This included creating new demo VMs to...
View ArticlePowerShell for Hyper-V: Avoid Error Running PowerShell Scripts
This post is part of the series on PowerShell for Hyper-V. If you try to run a PowerShell script, you will receive an error: File C:TempResume HVVMs.ps1 cannot be loaded because running scripts is...
View ArticlePowerShell for Hyper-V: Start VM
This post is part of the series on PowerShell for Hyper-V. The following PowerShell command can be used to start a virtual machine (replace the highlighted section with the name of your virtual...
View ArticlePowerShell for Hyper-V: Shut Down VM
This post is part of the series on PowerShell for Hyper-V. The following PowerShell command can be used to shut down a virtual machine (replace the highlighted section with the name of your virtual...
View ArticlePowerShell for Hyper-V: Save VM
This post is part of the series on PowerShell for Hyper-V. The following PowerShell command can be used to save a virtual machine (replace the highlighted section with the name of your virtual...
View ArticlePowerShell for Hyper-V: Suspend VM
This post is part of the series on PowerShell for Hyper-V. The following PowerShell command can be used to suspend (pause) a virtual machine (replace the highlighted section with the name of your...
View ArticlePowerShell for Hyper-V: Resume VM
This post is part of the series on PowerShell for Hyper-V. The following PowerShell command can be used to resume a suspended virtual machine (replace the highlighted section with the name of your...
View ArticlePowerShell Snippets: Series Index
From time to time, I write snippets of PowerShell, which I am going to post into this series for easy recall in future. PowerShell Snippets Write-Output Start-Sleep (Visited 25 times, 1 visits today)
View ArticlePowerShell Snippets: Write-Output
This post is part of the series on PowerShell Snippets. The following PowerShell command will output the supplied message to the PowerShell console (replace the highlighted section with the message to...
View ArticlePowerShell Snippets: Start-Sleep
This post is part of the series on PowerShell Snippets. The following PowerShell command will sleep for the supplied number of milliseconds (replace the highlighted section with the number of...
View ArticlePowerShell script to download all files from FTP folder then delete files
A few weeks ago, I did an article on making folder backups on an FTP site and using Cron. With the backups made, they need to be downloaded and this is not something I want to do manually. My initial...
View ArticlePowerShell to run script bypassing execution policy
In yesterday’s article, I posted a script which can be used to download and delete files from a folder on an FTP site. When I tested it on one computer it worked fine, but on another it failed as the...
View ArticleUnlock BitLocker protected drive with PowerShell
I recently needed to unlock a HDD encrypted with BitLocker a number of times. I rapidly decided that entering the password manually every time was not something I wanted to do, so for that day, I...
View ArticleRun escalated PowerShell script from a batch file
I posted a Power Shell snippet a while ago on bypassing the execution policy. More recently I needed to combine that with running a script with administrator permissions. I did a little exploring and...
View ArticlePowerShell Snippets: Output list of folders and sub-folders
This post is part of the series on PowerShell Snippets. The following PowerShell command will export a list of folders and sub-folders from the specified location (the first highlighted section is the...
View ArticlePowerShell Snippets: Delete File
This post is part of the series on PowerShell Snippets. The following PowerShell command will check if the named file exists in the current directory and, if so, delete it (replace the highlighted...
View ArticlePowerShell Snippets: Run Application (Such as 7-zip)
This post is part of the series on PowerShell Snippets. The following PowerShell command will execute a Windows application supplying a number of parameters; in this case I am using 7-zip to compress a...
View ArticlePowerShell Snippets: Format Json for Curl
This post is part of the series on PowerShell Snippets. The following PowerShell shows the format required for use in Curl (which I will cover in the next post of this series). It took me a number of...
View Article