powershell

  1. B

    PS Script to sync with local WSUS

    Hello, We are trying to build a powershell script which will be executed on any client which should be able to search/install windows updates from a wsus server which resides in our network but it is not the default option in the clients configuration. The severs are configured with let's say...
  2. R

    WiFi TCP/IP defaults to DNS: 127.0.0.1 while on DHCP

    My WiFi NIC will always use 127.0.0.1 when its TCP/IP settings are on DHCP. If I change to static no issue but as you can imagine this creates some unwanted issues every time I connect with my laptop to a new WiFI network (as the address range is different) InterfaceAlias...
  3. IanHHH

    Multiple efi partitions in boot manager

    I am multibooting 3 drives (1 Win10 and 2 Win11) the boot manager on one win11 drive is selected in bios. It works but in addition to the named drives it also lists the three efi partitions which are unbootable -of course. I am not sure why they are there and they are a nuisance. How can I...
  4. G

    disk on hyper v in "romeving and retired" state

    Hello, after adding disks to a clustered ThinkAgile node, we have the disks in a "lost communication" state. We tried several solutions without success below are the steps we tried First, create an array of the disks that are failing or failed. $disk = get-physicaldisk | where-object...
  5. X

    Windows 10 Error 0x80070570 on Blu-ray recordable (BD-R) - zero-byte files dated 1974

    I was unable to add files to one specific folder on a Blu-ray disc. Later, there was a zero-byte file dated 1974-07-25 that would result in error 0x80070570 when trying to rename it in Windows Explorer. Trying to open it with Notepad or through the "type" command inside CMD results in an error...
  6. C

    VM starts headless from command line

    I am trying to start a Hyper-V VM from a Powershell using the 'start-vm' command. This works fine, except that it starts up headless (i.e. the 'Virtual Machine Connection' window doesn't open up). Is there a way to make this happen?
  7. H

    Windows 10 Machine changes to tablet mode (!)

    Hi. Question: How to disable tablet mode. Problem: reaccuring changes from desktop to a tablet mode. How to disable tablet mode in a permanently way? This very machine keeps change this with a couple of months reaccuring. Perhaps there is a powershell script or something that could be run...
  8. P

    windows security not existing

    Hi, my problem is that my computer does not have a windows security I tried using these 2 commands in powershell but didnt work : Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register...
  9. rgdelank

    Pin At Start Access Denied from VBscript and PowerShell command line

    Windows 11: I receive "access denied" by calling "Pin At Start" from the command line, no mather wich language PowerShell or VBscript. Both are called using administrator rights. PowerShell ========== Error ===== PS C:\Users\roberto> .\t.ps1 Pin-App : App(s) not found: C:\Program...
  10. S

    Reinstalling Windows 10 Settings app

    I am trying to reinstall the Windows 10 Settings app I got this off the web: PowerShell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRootImmersiveControlPanelAppxManifest.xml when I run it I get this: cmdlet Add-AppxPackage at command pipeline...
  11. M

    Powershell to download file from Gdrive

    Dears, I need to download excel file from my Gdrive account with current date as filename and save it at specific folder when computer starts. I tried from internet but could not succeed. Kindly guide me Regards,
  12. Jeff777

    Uninstall windows apps only to come back

    Hi, I have created a new image for a Dell Latitude 5320 windows 11 and got it right where I wanted it. When logged in as the administrator of course I do everything under that account because at the time the laptop is in audit mode. I have completely uninstall quite a few apps like some of the...
  13. LucasCardim

    Windows 10 How to connect powershell or CMD with proxy credentials?

    Hello everyone! I really need help here. I work at a government company and need to connect with a proxy. On browsers there is no problem, but when i need to install something with npm or choco i cant do it via powershell or cmd as administrator. I have my credentials and the proxy ip and port...
  14. S

    Windows 7 VS code not opening

    I have windows 7 64 bit 500 GB hard disk with one primary and two other partions.I had installed the latest version of vs code the 'system installation' for all users .it opened correctly the first time.But then I tried the command code . in powershell terminal to open vs code without enabling...
  15. D

    Windows 10 Can't ping DC

    I'm currently having trouble with Windows 10 "insisting" on temporary profiles. I started my troubleshooting when it decided to fail to run windows store apps. All I wanted to do that day, was take a video with my camera app. I ended up doing it with my android phone, then waiting for it to...
  16. Sanath Kumar

    Windows 10 Remove-PhysicalDisk for disk which is marked retired fails

    Below error is seen sometimes when I try to remove a disk from storagepool. Remove-PhysicalDisk : One or more physical disks could not be removed because they are still in use. Extended information: The storage pool could not relocate data from one or more physical disks. Physical Disks...
  17. Reetom Ghosh

    Windows 11 Windows Security options not opening

    I installed something from the internet which messed up my windows security settings. Now whenever I access it it asks me to redirect myself to Microsoft store because my PC cannot open the defenders link. I tried installing the thing via powershell but did not work. It is a personal laptop so I...
  18. A

    Windows 10 How can I fix this permission denied on windows10?

    I tried to connect to a remote server (Ubuntu 20.04 LTS x64) on windows 10 through PowerShell. I used the command 'ssh root@remote-ip-address', and after I entered the cleartext password of the remote, all it said was 'Permission denied, please try again.' However, I succeeded following the...
  19. S

    Windows 10 How to delete a subnet from bigger subnet route delete PowerShell Windows?

    Hi, This is route print output: IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.50 55...
  20. J

    Windows 10 Convert DateTime is failing with following in Power Shell using SQLSERVER

    It tried to convert following time in Power Shell Script '2022-01-02T11:43:23.100Z' using Convert Function, and Cast. The tried same in SSMS and passed. Both SSMS and Power shell were connect to same instance of SQL Server 14.0.1000. Error message indicates in Power shell it is failing in...
Back
Top