Microsoft announced that the PowerShell Gallery has deprecated Transport Layer Security (TLS) versions 1.0 and 1.1 as of April 2020 To provide the best-in-class encryption to our customers Announcement, details and reasons can be found on DevBlogs.microsoft. Awesome news! … leaving Update-Module and Install-Module broken! Running Update-Module or Install-Module will now throw an error like one of the two following: Get-PSGalleryApiAvailability : PowerShell Gallery is…
Author: batezippi
Windows Robocopy Cheat Sheet
Below is a basic cheat sheet of robocopy commands. Wanna go crazy? Here! Like a GUI? :: Source Directory : /SD:\\server1.domain.com\d$\Backups :: Source Directory. :: Destination Directory : /DD:\\server2.domain.com\e$\Target :: Destination Directory. :: Include These Files : /IF :: Include Files matching these names :: *.* :: Include all names (currently – Command Line may…
FreeNAS Useful Commands
ZFS Code: zpool status -v #shows zpool status infos zpool iostat 1 #shows IOps and R/W bandwidth every second zfs list -t snapshot #lists all the snapshots, add | grep “” to filter arc_summary.py #shows ARC stats arcstat.py #shows ARC stats zdb -C your_pool_name | grep ashift #shows the ashift value SMART Code: smartctl -h…
Migrate only VMDK to another Datastore without Vcenter.
power off the VM make sure the VM doesn’t have active snashots!!! (i.e. no delta .vmdk files in the VM’s folder) create a new target folder on the destination datastore clone the virtual disk, using the following command vmkfstools -i /vmfs/volumes/source-ds/vm-folder/virtual-disk.vmdk /vmfs/volumes/target-ds/vm-folder/virtual-disk.vmdk if you want the destination virtual disk to become thin provisioned, append -d thin to the above…
Useful CMD and PowerShell Commands
Just a collection of commands, use at your own risk! How to Permanently Remove Deleted Users from Office 365 Connect-MsolService Get-MsolUser -ReturnDeletedUsers Remove-MsolUser -UserPrincipalName Lynn@office365bootcamp.com -RemoveFromRecycleBin Get-MsolUser -ReturnDeletedUsers | Remove-MsolUser -RemoveFromRecycleBin -Force How to copy a file to Hyper-V VM via Integration Services Copy-VMFile Win10 -SourcePath “File Location” -DestinationPath “File Location” -CreateFullPath -FileSource Host
Activate Office 2019 without any software.
After a series of preview versions, Microsoft finally came out with an official version of Office 2019. It is stable one, this means you can download and use it right now without worrying about fatal errors which you have gotten in beta versions before. However, I regret to inform that according to the disclosures, Microsoft…
BG Stars 2019
Download
Semi-Chill 2
Download