- Rename .OVA file to .7z
- Use winrar to extract .vmdk out of it
https://cloudbase.it/qemu-img-windows/
qemu-img convert "D:\VirtualBox\Open-disk001.vmdk" -O vhdx -o subformat=dynamic "D:\VirtualBox\Open.vhdx"
" .config/nvim/init.vim | |
" Set 7 lines to the cursor - when moving vertically using j/k | |
set so=7 | |
" Turn on the Wild menu | |
set wildmenu | |
" Ignore compiled files | |
set wildignore=*.o,*~,*.pyc |
$Output = "$env:HOME\Contacts.csv" | |
$Customers = Get-AteraCustomers | |
$Contacts = Get-AteraContacts | |
# If you only want key contacts: | |
# $Contacts = Get-AteraContacts | Where IsContactPerson | |
foreach($Contact in $Contacts) { | |
$Customer = $Customers | Where CustomerID -eq $Contact.CustomerID | |
[PSCustomObject]@{ |
https://cloudbase.it/qemu-img-windows/
qemu-img convert "D:\VirtualBox\Open-disk001.vmdk" -O vhdx -o subformat=dynamic "D:\VirtualBox\Open.vhdx"
<?xml version="1.0"?> | |
<project name="Demo" default="version" basedir="."> | |
<macrodef name="git"> | |
<attribute name="command" /> | |
<attribute name="dir" default="" /> | |
<element name="args" optional="true" /> | |
<sequential> | |
<echo message="git @{command}" /> | |
<exec executable="git" dir="@{dir}"> |
reg add HKU\.DEFAULT\Software\Sysinternals\BGInfo /v EulaAccepted /t REG_DWORD /d 1 /f | |
\\SRV-01\Public\Software\BGInfo\Bginfo.exe \\SRV-01\Public\Software\BGInfo\Production_Background.bgi /TIMER:00 /nolicprompt /silent |
### | |
# Author: Dave Long <dlong@cagedata.com> | |
# Date: 2021-04-21 | |
# | |
# Imports users from Microsoft 365 into Atera Contacts | |
### | |
$AteraCustomerID = "<ATERA CUSTOMER ID>" | |
$AteraAPIKey = "<ATERA API KEY>" |
### | |
# Author: Dave Long <dlong@cagedata.com> | |
# Date: 2021-04-20 | |
# | |
# Gets a list of all alerts for a host and exports them | |
# to a CSV | |
# | |
# Usage: | |
# $ Get-AlertsReport.ps1 -MachineName CONTOSO-DC-01 | |
# |
Import-Module -Name PSAtera | |
Import-Module -Name PnP.PowerShell | |
$CustomFieldLabel = "Scheduled For" | |
$SharePointSite = "https://contoso.sharepoint.com/sites/Contoso" | |
$List = "Calendar" | |
# I don't know enough about the PnP Module to connect to | |
# SharePoint better with MFA enabled | |
Write-Host "Connecting to SharePoint Online..." -NoNewline |
$DnsServers = @("208.67.220.220", "208.67.222.222") | |
$Route = Get-NetRoute -DestinationPrefix 0.0.0.0/0 | |
$IfIndex = $Route.ifIndex | |
$DnsAddresses = Get-DnsClientServerAddress -InterfaceIndex $IfIndex -AddressFamily IPv4 | |
$DnsAddresses.ServerAddresses | ForEach-Object { | |
if ($_ -notin $DnsServers) { | |
Write-Host "Fixing DNS Servers" | |
Set-DnsClientServerAddress -InterfaceIndex $IfIndex -ServerAddresses $DnsServers |
(* | |
Script to Mark Item as Read and Move to folder "Archive" | |
For Microsoft Outlook 15 | |
*) | |
tell application "Microsoft Outlook" | |
activate | |
set msgSet to current messages | |
if msgSet = {} then | |
error "No Messages selected. Select at least one message." |