Teams background

Press the Windows logo and r
paste or write this URL
%AppData%\Microsoft\Teams\Backgrounds\Uploads

You should end up something like the address below.
C:\Users\user.account.name\AppData\Roaming\Microsoft\Teams\Backgrounds\Uploads

In this folder you can place your image that you want to use as a background image.



How to change a background in Microsoft Teams?
Step 1: Join a meeting. …
Step 2: While in the meeting, click the 3-dot menu button in the bottom bar.
Step 3: Now, click background effects.
Step 4: You will get the ‘Background settings’ menu in the right pane.


Their many sites with good backgrounds out there, use the power of Google to find them.
here suggestion or site with backgrounds.

Azure AD Threshold sync

Have you encountered the problem that you want to make more change than allowed or that you just wonder changes how to change Azure AD Sync Threshold?
This needs to be done on the server that has an Azure Sync client.


First to find out if there is one and what is the setup?
Get-ADSyncExportDeletionThreshold

If you want to disable this rule for some reason,
we strongly advise against it.
Disable-ADSyncExportDeletionThreshold

Then there nothing stopping if someone accidentally deleted to many accounts between two syncs.

If you want to change the Threshold to 10
Enable-ADSyncExportDeletionThreshold -DeletionThreshold 10

Read more about it

How to fetch ESX config with SSH

If you cant connect to ESX with SSH
If you can, you can scroll down to ” SSH to EXS host login with the root”


Login to Vcenter with Vmwarevsphere web client
Pick Esx, pick Manage to the left, then you will have a menu called Settings.
Then you go to the Security Profile.

ESX config with SSH 1


Now you can click on Edit (not sure if it’s necessary to mark SSH?)

ESX config with SSH 2


Mark SSH and click on Start or Stop depending on what you want to do

ESX config with SSH 3


SSH to EXS host login with root

Run this command: vim-cmd hostsvc/firmware/backup_config
Bundle can be downloaded at : http://*/downloads/random.url/configBundle-localhost.tgz
Replace * with IP for that ESX host.
Surf to that URL and you can download the config file

And you’re done.


Don’t forget to turn off SSH to EXS if that you want

Import CSV file Excel

Do you have a CSV, that you want to have more readable?
That’s easy to import it to Excel and transform it into a more readable file.
Just follow these steps.
Good luck.

How to import CSV file into Excel

You have Excel file that you want to be more readable in Excel
Open clean excel sheet (blank)

Under tab Data, you can find

New windows are just to click ok then you are done.

Convert to PFX with OpenSSL

Are you in need of PFX file, or as some people will say a P12 (pkcs12).
What do you need to do to perform this convert?
First off you need Openssl. Then you need crt file and the key file.

After that is just run this command below to convert to PFX with OpenSSL

openssl pkcs12 -export -out application-company-domain.pfx -inkey application-company-domain.key -in application-company-domain.crt


If you are not sure about the password to the key file, to test the key is valid with a password you have, try this command.

openssl rsa -in application-company-domain.key


There you have some other post about OpenSSL

Vmware Migrate

How to migrate a machine

Start vSphere
lookup the machine you want to move, right-click on the machine and pick Migrate

Then you will get the option if you want to change the host it is on right now or datastore or both.


After that next, next next.

Computer branding with PDQ

Hey
What do you say we give it a shot and try to do computer branding with PDQ?

Here you have a code you can try to experiment with.

More information about $location check out this post, there you can read how to fetch the information and import it into PDQ Inventory database.

$location = "where you want to store CSV file that PDQ will fetch from"
$localLocation "where you want to store local txt file"

#Featch Values
function MenuGui()
{
#To use the .NET functionality to create forms, we use the class System.Windows.Forms. To load this class into a PowerShell session, you can use the following code:
Add-Type -assembly System.Windows.Forms

#Now create the screen form (window)
$main_form = New-Object System.Windows.Forms.Form

#Set the title and size of the window:
$main_form.Text ='Helpdesk'
$main_form.Width = 400
$main_form.Height = 50

#To make the form automatically stretch, if the elements on the form are out of bounds, we use the AutoSize property.
$main_form.AutoSize = $true

#Create a label element on the form about user name
$Label = New-Object System.Windows.Forms.Label
$Label.Text = "User: " + $WhoAmI
$Label.Location  = New-Object System.Drawing.Point(150,10)
$Label.AutoSize = $true
$main_form.Controls.Add($Label)

#Create a secound label element on the form about computer name
$Label2 = New-Object System.Windows.Forms.Label
$Label2.Text = "Computer name: " + $Hostname  
$Label2.Location  = New-Object System.Drawing.Point(150,25)
$Label2.AutoSize = $true
$main_form.Controls.Add($Label2)

  # Add Button 1
    $Button = New-Object System.Windows.Forms.Button
    $Button.Location = New-Object System.Drawing.Size(150,45)
    $Button.Size = New-Object System.Drawing.Size(145,23)
    $Button.Text = "Change Owner"
    $main_form.Controls.Add($Button)
  
  #Add close form function to the button, when you click
        $Button.add_click({
        $employees = @($Hostname+","+$WhoAmI)
        $employees | foreach { Add-Content -Path $locationv -Value $_ }
        New-Item -Path $localLocation\ -Name "Owner.txt" -ItemType "file" -Value $env:UserName -Force
        $main_form.Close()})

    
#Create a label element on the form about user name
$Label3 = New-Object System.Windows.Forms.Label
$Label3.Text = "You get this message for our systems says someone else is the owner of this computer`n then the user who is logged in. Please press Change Owner if its incorrect`n`nIf any question contact us on Phone: XXX, Email: xxx@xxx.com "
$Label3.Location  = New-Object System.Drawing.Point(1,80)
$Label3.AutoSize = $true
$main_form.Controls.Add($Label3)
  

#Now you can display the form on the screen.
$main_form.ShowDialog()
}

#Variable
$Hostname = $env:COMPUTERNAME
$WhoAmI = $env:UserName


$WantFile = "$localLocation\Owner.txt"
$FileExists = Test-Path $WantFile
If ($FileExists -eq $True) 
{
    Write-Host "Yippee file exist"
}

Else 
{
    New-Item -Path $localLocation\ -Name "Owner.txt" -ItemType "file" -Value $env:UserName -Force
    $employees = @($Hostname+","+$WhoAmI)
    $employees | foreach { Add-Content -Path $location -Value $_ }
    Write-Host "NO! File do not exist"
}


$textfile = Get-Content -Path $localLocation\Owner.txt

if($textfile -eq $env:UserName)
{
  echo "True value, do not run the script";
}
else
{
    echo "wrong value, please run the script";
    MenuGui
}

Enjoy!


Import data to PDQ Inventory

Do you have external data you want to import to PDQ Inventory?

With the help of this PHP code, you can do this.


$TempFile = "specify where the file is located"
$Computer = "Name"
$CustomFieldName = "Owner"
$CustomFieldType = "String" # Valid types - Boolean, String, Integer, Date, or DateTime
PDQInventory.exe ImportCustomFields -FileName $TempFile -ComputerColumn $Computer -CustomFields "$CustomFieldName=$CustomFieldName" -AllowOverwrite

A good place to find help is PDQ Community

Bitlocker Lockout

Bitlocker lockout

You are not allowed to change the pin and don’t remember the old one.

Option 1

To reset the TPM lockout

  1. Open the TPM MMC (tpm.msc).
  2. In the Action pane, click Reset TPM Lockout to start the Reset TPM Lockout Wizard.
  3. Choose one of the following methods to enter the TPM owner password:
    1. If you saved your TPM owner password to a .tpm file, click I have the owner password file, and then type the path to the file, or click Browse to navigate to the file location.
    1. If you want to manually enter your TPM owner password, click I want to enter the owner password, and then type the password in the text box provided.

If Step 1 did not work go to, Option 2
(be careful when you do this so you do not mess up entire BitLocker, this work when we did it, does not mean it will work for you)

Log in to BIOS on the machine, we will try to reset Security Chip memory by selecting another option, that will reset the chip.

If your OS or some other reason don’t want to run on that Chip selection, change it back.

More post about Bitlocker

Read more about here: https://docs.microsoft.com/en-us/windows/security/information-protection/tpm/manage-tpm-lockout