- 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"
| <# | |
| PLEASE DO NOT USE THIS | |
| It's parsing the HTML of a blog post to determine the current release version. If you think | |
| this is a safe and secure way to automatically ensure you're running up to date security | |
| software, you should probably rethink your whole security mindset. | |
| #> | |
| iex "$([System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('V3JpdGUtT3V0cHV0ICIo4pWvwrDilqHCsO+8ieKVr++4tSDilLvilIHilLsgYG4iCldyaXRlLU91dHB1dCAi0YkowrrQlMK60YkpIGBuIgpXcml0ZS1PdXRwdXQgIkRvbid0IHJ1biBzY3JpcHRzIHlvdSBmaW5kIG9ubGluZSB3aXRob3V0IHJlYWRpbmcgdGhlbS4iClBhdXNlCmV4aXQ=')))" |
| { | |
| "name": "Sync UniFi to Hudu", | |
| "nodes": [ | |
| { | |
| "parameters": {}, | |
| "type": "n8n-nodes-unifi.uniFiNetwork", | |
| "typeVersion": 1, | |
| "position": [ | |
| 220, | |
| 0 |
| # Get assets matching saved search id 38744 | |
| $Assets = Get-SyncroAsset -AssetSearchId 38744 | |
| # Create an empty object to store the reduced counts | |
| $Companies = @{} | |
| # Loop through the assets | |
| foreach ($Asset in $Assets) { | |
| # Increment the count for the customer | |
| $Companies[$Asset.customer.business_name] += 1 |
| # Add logic to install HuduAPI PowerShell Module | |
| Import-Module HuduAPI | |
| New-HuduAPIKey "****" | |
| New-HuduBaseURL "*****" | |
| $CompanyId = 42 | |
| $AssetLayoutID = 21 | |
| $ReportStore = C:\gpos |
| " .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 |
https://cloudbase.it/qemu-img-windows/
qemu-img convert "D:\VirtualBox\Open-disk001.vmdk" -O vhdx -o subformat=dynamic "D:\VirtualBox\Open.vhdx"
| 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 <[email protected]> | |
| # 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 | |
| # |
| ### | |
| # Author: Dave Long <[email protected]> | |
| # Date: 2021-04-21 | |
| # | |
| # Imports users from Microsoft 365 into Atera Contacts | |
| ### | |
| $AteraCustomerID = "<ATERA CUSTOMER ID>" | |
| $AteraAPIKey = "<ATERA API KEY>" |
| $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]@{ |