<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Check Pending Reboot Status Using Powershell	</title>
	<atom:link href="https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Fri, 26 Apr 2024 13:34:43 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Cesar L		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-27825</link>

		<dc:creator><![CDATA[Cesar L]]></dc:creator>
		<pubDate>Fri, 26 Apr 2024 13:34:43 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-27825</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-27823&quot;&gt;Cesar L&lt;/a&gt;.

Everyone you can down/install from an Elevated PowerShell window once I did this I was able to create a variable with a list of computers and this seems to work.   this may not be right but it worked for me                                                                                                                                   # Install the PendingReboot module from the PowerShell Gallery
Install-Module -Name PendingReboot -Scope CurrentUser -Force -AllowClobber]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-27823">Cesar L</a>.</p>
<p>Everyone you can down/install from an Elevated PowerShell window once I did this I was able to create a variable with a list of computers and this seems to work.   this may not be right but it worked for me                                                                                                                                   # Install the PendingReboot module from the PowerShell Gallery<br />
Install-Module -Name PendingReboot -Scope CurrentUser -Force -AllowClobber</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Cesar L		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-27823</link>

		<dc:creator><![CDATA[Cesar L]]></dc:creator>
		<pubDate>Fri, 26 Apr 2024 13:15:02 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-27823</guid>

					<description><![CDATA[Good Day, I tried this script and i did configure $Computers = Get-Content filename, I fixed the missing backslash on both lines from previous posts and Set-ExecutionPolicy as well. When I run the command line as --&#062; PS C:\&#062; ..\Scripts\Get-PendingRebootStatus.ps1 -Computername $Computer and the script does not fail but it does not yield any results it just goes back to PS C:\&#062; which is the next line. I am not sure what i am doing wrong but are there cmdlets i need to load before running the script? any help would be great]]></description>
			<content:encoded><![CDATA[<p>Good Day, I tried this script and i did configure $Computers = Get-Content filename, I fixed the missing backslash on both lines from previous posts and Set-ExecutionPolicy as well. When I run the command line as &#8211;&gt; PS C:\&gt; ..\Scripts\Get-PendingRebootStatus.ps1 -Computername $Computer and the script does not fail but it does not yield any results it just goes back to PS C:\&gt; which is the next line. I am not sure what i am doing wrong but are there cmdlets i need to load before running the script? any help would be great</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: kbj		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-16842</link>

		<dc:creator><![CDATA[kbj]]></dc:creator>
		<pubDate>Thu, 17 Aug 2023 12:17:17 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-16842</guid>

					<description><![CDATA[The shown code is missing a backslash in front of both $Computer vars &quot;\&quot;
$WMI_Reg = [WMIClass] &quot;\\$Computer\root\....&quot;
and here
if ([WmiClass]&quot;\\$Computer\ROOT\....]]></description>
			<content:encoded><![CDATA[<p>The shown code is missing a backslash in front of both $Computer vars &#8220;\&#8221;<br />
$WMI_Reg = [WMIClass] &#8220;\\$Computer\root\&#8230;.&#8221;<br />
and here<br />
if ([WmiClass]&#8221;\\$Computer\ROOT\&#8230;.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rays Cars		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-7273</link>

		<dc:creator><![CDATA[Rays Cars]]></dc:creator>
		<pubDate>Thu, 05 Jan 2023 16:42:08 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-7273</guid>

					<description><![CDATA[wouldnt&#039; this be easier?
!!(dir &quot;HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending*&quot;)]]></description>
			<content:encoded><![CDATA[<p>wouldnt&#8217; this be easier?<br />
!!(dir &#8220;HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending*&#8221;)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: N. Norre		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-3236</link>

		<dc:creator><![CDATA[N. Norre]]></dc:creator>
		<pubDate>Fri, 02 Sep 2022 13:52:25 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-3236</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-387&quot;&gt;Jim W&lt;/a&gt;.

... And line 57, the same typo

thanks]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-387">Jim W</a>.</p>
<p>&#8230; And line 57, the same typo</p>
<p>thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: N. Norre		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-3235</link>

		<dc:creator><![CDATA[N. Norre]]></dc:creator>
		<pubDate>Fri, 02 Sep 2022 13:51:55 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-3235</guid>

					<description><![CDATA[... And line 57, the same typo

thanks]]></description>
			<content:encoded><![CDATA[<p>&#8230; And line 57, the same typo</p>
<p>thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: bob		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-2667</link>

		<dc:creator><![CDATA[bob]]></dc:creator>
		<pubDate>Wed, 10 Aug 2022 13:45:20 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-2667</guid>

					<description><![CDATA[doesn&#039;t work]]></description>
			<content:encoded><![CDATA[<p>doesn&#8217;t work</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt B		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-2488</link>

		<dc:creator><![CDATA[Matt B]]></dc:creator>
		<pubDate>Wed, 03 Aug 2022 19:51:09 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-2488</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-387&quot;&gt;Jim W&lt;/a&gt;.

Thanks for that typo call out!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-387">Jim W</a>.</p>
<p>Thanks for that typo call out!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Boris		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-1367</link>

		<dc:creator><![CDATA[Boris]]></dc:creator>
		<pubDate>Tue, 21 Jun 2022 10:21:09 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-1367</guid>

					<description><![CDATA[I receive error get-pendingrebootstatus : Cannot convert value &quot;\\W-1\root\default:StdRegProv&quot; to type 
&quot;System.Management.ManagementClass&quot;. Error: &quot;The RPC server is unavailable. (Exception from HRESULT: 
0x800706BA)&quot;]]></description>
			<content:encoded><![CDATA[<p>I receive error get-pendingrebootstatus : Cannot convert value &#8220;\\W-1\root\default:StdRegProv&#8221; to type<br />
&#8220;System.Management.ManagementClass&#8221;. Error: &#8220;The RPC server is unavailable. (Exception from HRESULT:<br />
0x800706BA)&#8221;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Boris		</title>
		<link>https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-1286</link>

		<dc:creator><![CDATA[Boris]]></dc:creator>
		<pubDate>Fri, 17 Jun 2022 03:47:23 +0000</pubDate>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=885#comment-1286</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-1281&quot;&gt;Paul&lt;/a&gt;.

where is it in the body of the script?
and what if I do not know the names of all computers]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://thesysadminchannel.com/remotely-check-pending-reboot-status-powershell/#comment-1281">Paul</a>.</p>
<p>where is it in the body of the script?<br />
and what if I do not know the names of all computers</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
