Manipulating Objects in Microsoft PowerShell - Video 2
About
No channel description available.
Latest Posts
Video Description
This is part 2 of a series on using PowerShell. In this video we cover how to work with Objects in PowerShell. We do that by breaking down this script. Get-PSDrive | ?{$_.Free -gt 1} | %{$Count = 0; Write-Host "";} { $_.Name + ": Used: " + "{0:N2}" -f ($_.Used/1gb) + " Free: " + "{0:N2}" -f ($_.free/1gb) + " Total: " + "{0:N2}" -f (($_.Used/1gb)+($_.Free/1gb)); $Count = $Count + $_.Free;}{Write-Host"";Write-Host "Total Free Space " ("{0:N2}" -f ($Count/1gb)) -backgroundcolor magenta} So if you have ever wanted to understand what all of that is and how to write your own crazy script this is the video for you. Here is a link to better understanding the .NET formatting method. {0:N2} https://technet.microsoft.com/en-us/library/ee692795.aspx?f=255&MSPPError=-2147217396 For support or more information about PowerShell check out http://www.boldzebras.com Edit notes: None. :)
PowerShell Mastery Starter Kit
AI-recommended products based on this video

Tai Chi Fit OVER 60: Healthy Joints (Arthritis Pain-Relief) David-Dorian Ross **2024** Tai Chi Dvd for Beginners - Perfect for Seniors

Pishengfa DIY Stitch Book, Embroidery Stitch Book, DIY Sewing Books, EmbroideryS Books of Stitches, with 86/128 Sewing Tips for Beginners, Unique Embroidery Handmade Gifts (Grey)

NAFYRE N11 PRO GPS Drone with Camera for Adults 4K UHD, 90 Min Long Flight Time, Long Control Range, Auto Return, Follow Me, Brushless Motor, 5G FPV RC Quadcopter for Beginners




















