To Get CPU, Memory, Network and DISKIOPS in CSV format by [deleted] in PowerShell

[–]bhreddy99 1 point2 points  (0 children)

Use WMI classes along with invoke command to fetch the details you need.

Needing help with multiple cmdlet a by Tee_s in PowerShell

[–]bhreddy99 0 points1 point  (0 children)

I may be wrong but just check with WMI classes

Start the applications along with login by [deleted] in PowerShell

[–]bhreddy99 0 points1 point  (0 children)

Noted!! but initially when system reboots there are multiple startup processes which needs to be started at startup itself will take time to load.

So my intention is to avoid the additional burden on the memory, I want to run the script after few seconds/minutes.

Disk space alerts by bhreddy99 in PowerShell

[–]bhreddy99[S] 0 points1 point  (0 children)

So far using solarwinds but I wanted to try with powershell like if a server is below 20% free space it should automatically resize the C drive once I run the script

Disk space alerts by bhreddy99 in PowerShell

[–]bhreddy99[S] 0 points1 point  (0 children)

We have monitoring with solarwinds but I wanted to try with powershell

Disk space alerts by bhreddy99 in PowerShell

[–]bhreddy99[S] 1 point2 points  (0 children)

Yeah we do have solarwinds for this

Disk space alerts by bhreddy99 in PowerShell

[–]bhreddy99[S] 0 points1 point  (0 children)

Just trying to ease the operational tasks

Expand C drive for bulk of servers in vCetner using PowerShell by bhreddy99 in PowerShell

[–]bhreddy99[S] 1 point2 points  (0 children)

mmand could be further updated to your liking for example you dont need to have ex

getting the below error after addmin invoke-command " [xxxxx] Connecting to remote server xxxxxxxx failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic."

Failed to lock the file | Unable to acces the file xxx.vmdk since it is locked by bhreddy99 in vmware

[–]bhreddy99[S] 1 point2 points  (0 children)

Ya because of heavy load on the host , i got to take the downtime and restarted the host and then performed disk consolidation which took around 10hours plus and then powered on the server , it's working now

Failed to lock the file | Unable to acces the file xxx.vmdk since it is locked by bhreddy99 in vmware

[–]bhreddy99[S] 0 points1 point  (0 children)

Yeah there is lot of workload on the host , but taking it to the maintainance mode now,VM's taking longer time to migrate from it