Microphone too quiet

Limit options to boot auto within windows Use third party Tool http://sourceforge.net/projects/equalizerapo/ During installation it will ask to which device, ensure you have your Microphone connected once installed restart your computer Go to C:\Program Files\EqualizerAPO\config\config.txt Add the line Preamp: +16db Test your Mic (Teams test call or Zoom Test)...
Read More

Convert vhd to vhdx

Downloaded a vhd from azure added it to gen1 vm however only showed blinking cursor Created gen 2 vm however could not add the vhd issue reading it Converted vhd to vhdx and was able to boot On VM setting go to disk Edit Choose action Convert select VHDX set type fixed or dynamic set location finish on hyper v settings edit disk browser to disk Choose action Convert select VHDX set type fixed or dynamic set location finish...
Read More

Reset password on activate directory via powershell

Single user Set-ADAccountPassword –Identity useralias–Reset –NewPassword (ConvertTo-SecureString -AsPlainText "[email protected]" -Force)   Multiple Users csv with heading SamaccountName and the new password $UserFile = "C:\Temp\MultiUser.CSV" Foreach ($User in $UserFile) { $SamAccountName = $User .SamAccountName $ThisPassword = $User .Password Set-ADAccountPassword –Identity $SamAccountName –Reset –NewPassword (ConvertTo-SecureString -AsPlainText "$Password" -Force) }...
Read More

Using PowerShell to Test a Remote Connection

Test-NetConnection www.google.com ComputerName : www.google.com RemoteAddress : 216.58.204.228 InterfaceAlias : Ethernet 3 SourceAddress : 192.168.0.13 PingSucceeded : True PingReplyDetails (RTT) : 17 ms   Test-NetConnection www.google.com -Port 80 ComputerName : www.google.com RemoteAddress : 216.58.204.228 RemotePort : 80 InterfaceAlias : Ethernet 3 SourceAddress : 192.168.0.13 TcpTestSucceeded : True   Test-NetConnection www.google.com -TraceRoute ComputerName : www.google.com RemoteAddress : 216.58.204.228 InterfaceAlias : Ethernet 3 SourceAddress : 192.168.0.13 PingSucceeded : True PingReplyDetails (RTT) : 26 ms TraceRoute : 192.168.0.1 0.0.0.0 62.252.112.45 0.0.0.0 62.253.175.34 212.250.14.74 74.125.242.97 172.253.71.201 216.58.204.228   Test-NetConnection www.google.com -port 80 -InformationLevel Quiet True...
Read More

Bulk update VHD Location on Hyper-V Host

used for is you have already moved the files, for instance I updated from using the computer name \\storage\ to the FQDN   get Excel file get-VMHardDiskDrive -VMName * | select VMName,ControllerType,ControllerNumber,ControllerLocation,Path | Export-Csv -Delimiter ";" -Path "c:\temp\vmvhdloc.csv" In excel file update path to what you want it to be (note this does not move the file) import-csv c:\temp\vmvhdloc.csv | ForEach-Object { set-VMHardDiskDrive -VMName $_.VM -ControllerType $_.CT -ControllerNumber 0 -ControllerLocation $_.CL -Path $_.newpath } get-vm * | Get-VMHardDiskDrive  ...
Read More

Virtual disk does not mount after restarting server

Either when you reinstall OS or add a new drive it seems to of disabled auto mount Confirm you have read/write access on the server you on Server Manager->File and Storage Services->Volumes->Storage Pools Right-click storage pool and choose “Set Read-Write access" and OK on the prompt Set drive to automatically mount in powershell Get-VirtualDisk | select friendlyname,ismanualattach friendlyname ismanualattach ------------ -------------- 4TB True 2TB False Front Bay False Msata False Update all disk to be auto get-VirtualDisk | Set-VirtualDisk -IsManualAttach $False Confirm check applied Get-VirtualDisk | seect friendlyname,ismanualattach friendlyname ismanualattach ------------ -------------- 4TB False 2TB False Front Bay False Msata False...
Read More

Delete folder via CMD on Windows

run command prompt as admin cd to the location of folder DEL /F/Q/S *.* > NUL    (this deletes all files all the folder structure) used cd.. to navigate to parent folder RMDIR /Q/S foldername (this deletes the folder and all subfolders) DEL /F/Q/S *.* > NUL /F -- forces the deletion of read-only files. /Q -- enables quiet mode. You are not ask if it is ok to delete files (if you don't use this, you are asked for any file in the folder). /S -- runs the command on all files in any folder under the selected structure. *.* -- delete all files. > NUL -- disables console output. This improves the process further, shaving off about one quarter of the processing time off of the console command. RMDIR /Q/S foldername /Q -- Quiet mode, won't prompt for confirmation to delete folders. /S -- Run the operation on all folders of the selected path. foldername -- The absolute path or relative folder name, e.g. o:/backup/test1 or test1...
Read More