Zoom -Test Audio

Click on the arrow next to the mute icon to open the Audio options Select Test Computer Audio Click on Test Speaker to test your speakers (whether external or via headset) Click on Test Mic to test your microphone (whether external or via headset) Once you have completed the testing, close the window ...
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

Check if a program is installed and report version to a text file

In this example it checks for chrome $Hostname = hostname $user = whoami $time = Get-Date -Format ddmmHHmm $Program = Get-Package -ProviderName Programs -IncludeWindowsInstaller '*Chrome*' | select Name,Version New-Item -path "\\Server\Share" -Name "Chrome$Hostname.txt" -ItemType "file" -Value "$Hostname,$user,$Program,$time"   output file Chromews03.text Content WS03,azuread\mattl,@{Name=Google Chrome; Version=88.0.4324.146},06021702  ...
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

Move Chrome data location to another location using mklink

You could do it be creating a symbolic link from the original default location (C:/Users//AppData/Local/Google/Chrome/User Data) to, for example, a “D:/chrome.userData” folder. You’ll need to: – close Chrome; – know your Windows login user name (“user” in the example); – decide to where you want to move the files. The steps are: – create the destination directory (e.g.: md “d:/chrome.userData”) – using Windows Explorer, move (cut) C:/Users/user/AppData/Local/Google/Chrome/User Data to d:/chrome.userData – then run the command mklink /d “C:/Users/matt/AppData/Local/Google/Chrome/User Data” “d:/u-matt/chriomeappdata/user data”...
Read More

Set out of office reply on multiple mailboxes

Set same on Mulitple CSV with Heading UserPrincipalName Txt file with the HTML Code for the reply Connected to Exchange via powershell   This sets External message the internal message is set blank $Extmessage = Get-content -Path C:\Temp\externalmessage.txt Import-Csv C:\temp\Mailboxes.csv | ForEach-Object { $user1 = $_."UserPrincipalName" Set-MailboxAutoReplyConfiguration -identity $user1 –AutoReplyState Enabled –InternalMessage '' –ExternalMessage "$Extmessage" } check it has updated Import-Csv C:\temp\Mailboxes.csv | ForEach-Object { $user1 = $_."UserPrincipalName" Get-MailboxAutoReplyConfiguration -identity $user1 | select Identity,ExternalMessage| fl }      ...
Read More