Comments on: PowerShell Script Examples [Top 75] https://www.spguides.com/powershell-examples/ Learn SharePoint, Office 365, Nintex, PowerApps, PowerBI etc, SharePoint training and video courses Thu, 18 Jan 2024 17:35:50 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Frans https://www.spguides.com/powershell-examples/#comments/949 Mon, 27 Feb 2023 15:14:16 +0000 https://www.sharepointsky.com/?p=5522#comment-949 Top list for starters, thank you

]]>
By: Ved https://www.spguides.com/powershell-examples/#comments/741 Fri, 29 Jul 2022 14:09:02 +0000 https://www.sharepointsky.com/?p=5522#comment-741 Thank you for these introductory scripts in PowerShell..

Found one error in Example-27

$factValue = $number * (Get-Factorial($number – 1))

should be

$factValue = $number * (Factorial-Of-A-Number($number – 1))

]]>
By: pmachado https://www.spguides.com/powershell-examples/#comments/723 Tue, 05 Jul 2022 21:32:51 +0000 https://www.sharepointsky.com/?p=5522#comment-723 I need to do a script using the function Measure-EquationOfline ($Point1, $Point2) that do the follow:

Take exactly 2 arguments: $Point1and $Point2
each is a pair of (x,y)coordinates
Return a string of the format “y = mx + b”, where m and b are solved for
Format m and b so they are nice to read (1.23 instead of 1.23456789)
Return “Points are identical” if the inputs are the same
Return “Undefined Slope” if line is a straight vertical line
Make sure inputs to the function are valid, thus only one error is printed

Any ideas? I tried but it is not working

]]>
By: pankaj https://www.spguides.com/powershell-examples/#comments/445 Wed, 27 Oct 2021 05:44:22 +0000 https://www.sharepointsky.com/?p=5522#comment-445 In reply to Ranjit.

good works

]]>
By: Chan https://www.spguides.com/powershell-examples/#comments/369 Mon, 16 Aug 2021 14:46:48 +0000 https://www.sharepointsky.com/?p=5522#comment-369 Many thanks for your post. It is very helpful!

]]>
By: joe https://www.spguides.com/powershell-examples/#comments/293 Thu, 10 Jun 2021 03:01:15 +0000 https://www.sharepointsky.com/?p=5522#comment-293 nice job

]]>
By: Ranjit https://www.spguides.com/powershell-examples/#comments/164 Tue, 19 Jan 2021 05:04:18 +0000 https://www.sharepointsky.com/?p=5522#comment-164 nice info. thank you

]]>