PowerShell & Scripting http://windowsitpro.com/taxonomy/term/9293/more en It’s a (Christmas) Wrap: PowerShell 5.0 RTM’s http://windowsitpro.com/powershell/it-s-christmas-wrap-powershell-50-rtm-s <div class="node-body article-body">WMF 5.0 has been deemed worthy and released as RTM.</div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/it-s-christmas-wrap-powershell-50-rtm-s" target="_blank">read more</a></p> http://windowsitpro.com/powershell/it-s-christmas-wrap-powershell-50-rtm-s#comments PowerShell PowerShell PowerShell Fri, 18 Dec 2015 11:45:00 +0000 156971 at http://windowsitpro.com Q & A: Find Your .NET Framework Versions http://windowsitpro.com/powershell/q-find-your-net-framework-versions <div class="field-deck"> See how to quickly find the version of the .NET Framework that you're running </div> <div class="node-body article-body">Quickly find the version of the .NET Framework that you're running</div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/q-find-your-net-framework-versions" target="_blank">read more</a></p> http://windowsitpro.com/powershell/q-find-your-net-framework-versions#comments PowerShell $PSVersionTable $PSVersionTable .NET Framework .NET Framework PowerShell PowerShell Mon, 14 Dec 2015 23:11:00 +0000 156311 at http://windowsitpro.com Q & A: Finding Your Last Server Boot Time with PowerShell http://windowsitpro.com/powershell/q-finding-your-last-server-boot-time-powershell <div class="field-deck"> See how to retrieve the last boot time of your server with PowerShell </div> <div class="node-body article-body">See how to retrieve the last boot time of your server with PowerShell</div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/q-finding-your-last-server-boot-time-powershell" target="_blank">read more</a></p> http://windowsitpro.com/powershell/q-finding-your-last-server-boot-time-powershell#comments PowerShell boot time boot time Get-CimInstance Get-CimInstance PowerShell PowerShell Mon, 14 Dec 2015 20:46:00 +0000 156301 at http://windowsitpro.com Snoverisms: The Wit and Wisdom of the Father of PowerShell http://windowsitpro.com/powershell/snoverisms-wit-and-wisdom-father-powershell <div class="node-body article-body">A new site seeks to capture the wit and wisdom of Jeffrey Snover.</div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/snoverisms-wit-and-wisdom-father-powershell" target="_blank">read more</a></p> http://windowsitpro.com/powershell/snoverisms-wit-and-wisdom-father-powershell#comments PowerShell Jeffrey Snover Jeffrey Snover PowerShell PowerShell Wed, 09 Dec 2015 15:40:00 +0000 155981 at http://windowsitpro.com Use PowerShell to Retrieve Data from the Microsoft Health Dashboard http://windowsitpro.com/powershell/use-powershell-retrieve-data-microsoft-health-dashboard <div class="node-body article-body">A newly released PowerShell module allows you to sift through your Microsoft Health dashboard data.</div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/use-powershell-retrieve-data-microsoft-health-dashboard" target="_blank">read more</a></p> http://windowsitpro.com/powershell/use-powershell-retrieve-data-microsoft-health-dashboard#comments PowerShell Microsoft Health Microsoft Health PowerShell PowerShell Fri, 30 Oct 2015 11:52:00 +0000 153671 at http://windowsitpro.com Cool Tool: Script to Selectively Fix Common Windows Update Problems http://windowsitpro.com/powershell/cool-tool-script-selectively-fix-common-windows-update-problems <div class="node-body article-body">Here's a CMD script that will allow you to solve any number of problems associated with Windows Update.</div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/cool-tool-script-selectively-fix-common-windows-update-problems" target="_blank">read more</a></p> http://windowsitpro.com/powershell/cool-tool-script-selectively-fix-common-windows-update-problems#comments Windows Update PowerShell PowerShell PowerShell Windows Update windows update Mon, 26 Oct 2015 14:01:00 +0000 153331 at http://windowsitpro.com Changing Service Credentials Using PowerShell http://windowsitpro.com/powershell/changing-service-credentials-using-powershell <div class="node-body article-body">Changing an account’s password is simple, but updating the password for all of the services that start using that account can be a time-consuming and error-prone process, depending on the number of servers and services involved.</div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/changing-service-credentials-using-powershell" target="_blank">read more</a></p> http://windowsitpro.com/powershell/changing-service-credentials-using-powershell#comments PowerShell PowerShell PowerShell Fri, 02 Oct 2015 13:26:00 +0000 149891 at http://windowsitpro.com Q. In a PowerShell workflow how can I load assemblies for certain actions? http://windowsitpro.com/powershell/q-powershell-workflow-how-can-i-load-assemblies-certain-actions <div class="node-body article-body"><p style="font-size: 12.8px; line-height: 20px;"><strong style="font-size: 12.8px;">Q. In a&nbsp;PowerShell&nbsp;workflow how can I load assemblies for certain actions?</strong></p> <div>&nbsp;</div> <p><strong>A.</strong>&nbsp;In regular PowerShell assemblies can be loaded using Add-Type or [Reflection.Assembly]::LoadWithPartialName(&lt;assembley&gt;) however this is not legal in a PowerShell workflow. Instead you need to use a section of InlineScript and contain the assembly load and usage within it. For example:</p></div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/q-powershell-workflow-how-can-i-load-assemblies-certain-actions" target="_blank">read more</a></p> http://windowsitpro.com/powershell/q-powershell-workflow-how-can-i-load-assemblies-certain-actions#comments PowerShell Thu, 17 Sep 2015 15:51:00 +0000 148901 at http://windowsitpro.com Q. If I have a credential object in PowerShell, how can I extract the account password? http://windowsitpro.com/powershell/q-if-i-have-credential-object-powershell-how-can-i-extract-account-password <div class="node-body article-body">To access the password is actually very simple, assuming the credential is stored in $cred .</div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/q-if-i-have-credential-object-powershell-how-can-i-extract-account-password" target="_blank">read more</a></p> http://windowsitpro.com/powershell/q-if-i-have-credential-object-powershell-how-can-i-extract-account-password#comments PowerShell PowerShell PowerShell Tue, 15 Sep 2015 18:48:00 +0000 148861 at http://windowsitpro.com Q. What's a good way to create a secure, random password in PowerShell? http://windowsitpro.com/powershell/q-whats-good-way-create-secure-random-password-powershell <div class="node-body article-body"><p><strong>Q. What&#39;s a good way to create a secure, random password in PowerShell?</strong></p> <p><strong style="font-size: 12.8px;">A. </strong><span style="font-size: 12.8px;">Previously, I explained <strong><a href="http://windowsitpro.com/windows-server-2012/create-random-password-powershell">how to create a password using random characters</a></strong> generated by the System.Random object, but&nbsp;this may not be secure enough. </span></p></div> <div class="og_rss_groups"></div><p><a href="http://windowsitpro.com/powershell/q-whats-good-way-create-secure-random-password-powershell" target="_blank">read more</a></p> http://windowsitpro.com/powershell/q-whats-good-way-create-secure-random-password-powershell#comments PowerShell PowerShell PowerShell Tue, 15 Sep 2015 16:37:00 +0000 148851 at http://windowsitpro.com