Tag: PowerShell
-
Quick Note: Modify PowerShell Execution Policy in Registry
Firms usually leverage Active Directory Group Policy to control security settings on Windows. PowerShell execution policy is the one most company ITs would restrict.
-
Get SSD Hard Disk Information by PowerShell to HPE Servers
HPE published an advisor for SSD issue recently. The issue impacts most popular Proliant servers in the world. The remediation is upgrading firmware. Unfortunately HPE doesn’t have a product can easy report hard disk model for Gen9 and earlier models.
-
Machine Learning Basic – Calculate Euclidean Distance by PowerShell
Calculate Euclidean distance by PowerShell script.
-
Agentless Management with PowerShell for DELL iDRAC
From a Windows host, CIM sessions can be established to remotely connect to the iDRAC interface on your Dell PowerEdge servers. But what if you don’t have internet connection?
-
Bitbucket Server Integration With Visual Studio Code on Windows
There is an official Bitbucket extension for Visual Studio Code if you use Bitbucket Cloud. Bitbucket has not yet released official extension for Bitbucket Server users. Following is how to configure Visual Studio Code to use Bitbucket Server. Before the procedure you need to collect the following information: Your user name on Bitbucket Server. Your…
-
Show CDP Neighbor of Cisco UCS Uplinks
There are two ways to know which network switch ports the network uplinks of Cisco UCS Fabric Interconnects are connected to. By CLI SSH to the Cisco UCS Manager. Connect to FI-A. # connect nxos a Show neighbor of network uplinks. # show cdp neighbor interface ethernet <port num> By PowerShell Make sure Cisco PowerTool…
-
How To Find Non-tagged ESXi Hosts
There are plenty of scripts to find tagged ESXi hosts. But what if you want to find out all ESXi hosts not be tagged? Following is a simple script: Compare-Object ((Get-VMHost | Get-TagAssignment).Entity | select -uniq) (Get-VMHost) The output is similar like following: InputObject SideIndicator ———– ————- esx1 => esx2 => esx3 =>…
-
Automatic vSphere Capacity Report in PPT
Reporting is important to management. To be a IT Pro, you may need to run regular reports for management. Some reports may be generated time consume. vRealize Operations Manager is an alternative to create customized reports. It’s a powerful product to organize data and create PDF or CSV files on scheduled intervals. I recommend have…
-
How to Integrate PowerCLI 6.5 with PowerShell and PowerShell ISE
I wrote an article to introducing how to integrate PowerCLI with PowerShell and PowerShell ISE. VMware just released PowerCLI 6.5 R1, it includes lot of new features and modules. And somehow my way doesn’t work. Following is new way to integrate PowerCLI 6.5 with PowerShell and PowerShell ISE in Windows 10. PowerShell and PowerShell ISE…