Hi Guys, Yesterday, when I had to restore some data for the user it failed. I was sure that I have all the necessary tapes. When I checked library I noticed that one of the tapes has suspect status. After short searching for a solution, I found out that I…
How to: Windows
This happens very often. Usually I was rejoining workstation/server to the domain. However it is easier way to do it. You have to log in to the server with a broken relationship.You have to know the name of Domain Controller (example: AD01) $DomainCred = Get-Credential Reset-ComputerMachinePassword -Server “AD01” -Credential $DomainCred…
Hi Guys, This happens very often that you are going to services.msc and you want to restart service and after a few seconds, you see that service is hung (grey out). Step1. Grab the name of the service. Step2. Get PID of the service.sc queryex servername looking for PID Step3….
I had to get SID for all Users that Logon Name begin with pa Get-ADUser -Filter {Name -like “pa*”} | Select Name,SID | Format-Table -Auto For all Groups that Name begin with pa Get-ADGroup -Filter {Name -like “pa*”} | Select Name,SID | Format-Table -Auto For all Computers that Name begin…
Hi Guys, This is was not a simple task… because of Get-VMHardDiskDrive can’t give you the size of the drive. $VMget=Get-VM -ComputerName (Get-ClusterNode -Cluster ClusterName) | Get-VMHardDiskDrive | Select-Object -Property vmname, vmid, computername, controllertype, controllernumber,controllerlocation,path foreach ($VM in $VMget) { $VHDRemotePath=$VM.Path -replace “:”, “$” $VHDRemotePath=”\\”+$VM.ComputerName+”\”+$VHDRemotePath $vhdsize= Get-ChildItem $VHDRemotePath | select-object…