#quick guide is, Windows > search powershell and run as administrator > copy paste first line into the powershell, "Enter", copy 2nd and so on (ignore the # line - just for description) #--------DNS Setting-------- # 1. Define your DNS servers $PrimaryDNS = "10.200.0.11" $SecondaryDNS = "10.200.1.10" # 2. Get the active adapter $adapters_ethernet = Get-NetAdapter -Physical | Where-Object { $_.Status -eq 'Up' } $adapters_wan = Get-NetAdapter | Where-Object { $_.Status -eq 'Up' } # 3. Run the command using the correct variable Set-DnsClientServerAddress -InterfaceAlias $adapters_ethernet.Name -ServerAddresses ($PrimaryDNS, $SecondaryDNS) Set-DnsClientServerAddress -InterfaceAlias $adapters_wan.Name -ServerAddresses ($PrimaryDNS, $SecondaryDNS) # 4. Check if the DNS is applied Get-DnsClientServerAddress #--------Install SentinelOne-------- # 1. Set the download URL $url = "https://storage.googleapis.com/public-asset-hosting/SentinelOneInstaller_windows_64bit_v24_2_3_471.exe" # 2. Set the output path (your Downloads folder) $outputPath = "$env:USERPROFILE\Downloads\SentinelOneInstaller.exe" # 3. Run the download command Invoke-WebRequest -Uri $url -OutFile $outputPath ## 3a. Caring POS Key: $SentinelSiteToken = "eyJ1cmwiOiAiaHR0cHM6Ly9hcHNlMS0yMDAyLnNlbnRpbmVsb25lLm5ldCIsICJzaXRlX2tleSI6ICJnXzA1MzMyNjUzMGNiMmUwNTUifQ==" # 4. Define the arguments for S1 installer $arguments = @( "-a", "-t=$SentinelSiteToken" ) # 5. Start the installation with the key Start-Process -FilePath $outputPath -ArgumentList "$arguments" -Verb RunAs # 6. Click install when the installer pops up