<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>未分類 &#8211; 馬賽國小全球資訊網</title><atom:link href="https://www.mses.ilc.edu.tw/category/uncategorized/feed/" rel="self" type="application/rss+xml" /><link>https://www.mses.ilc.edu.tw</link><description>學校代碼024616-Masai</description><lastBuildDate>Wed, 27 Jul 2022 00:33:20 +0000</lastBuildDate><language>zh-TW</language><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><generator>https://wordpress.org/?v=6.6.7</generator><image><url>https://www.mses.ilc.edu.tw/wp-content/uploads/sites/2550/2021/04/cropped-下載-1-32x32.png</url><title>未分類 &#8211; 馬賽國小全球資訊網</title><link>https://www.mses.ilc.edu.tw</link><width>32</width><height>32</height></image> <item><title>馬賽版GCPW安裝</title><link>https://www.mses.ilc.edu.tw/2022/07/27/%e9%a6%ac%e8%b3%bd%e7%89%88gcpw%e5%ae%89%e8%a3%9d/</link><dc:creator><![CDATA[莊志烽]]></dc:creator><pubDate>Wed, 27 Jul 2022 00:33:20 +0000</pubDate><category><![CDATA[未分類]]></category><guid isPermaLink="false">https://www.mses.ilc.edu.tw/?p=901</guid><description><![CDATA[&#60;# 這個指令碼會從 https://tools.google&#46;&#46;&#46;]]></description><content:encoded><![CDATA[<p>&lt;# 這個指令碼會從 https://tools.google.com/dlpage/gcpw/ 下載 Google 憑證提供者 Windows 版，然後執行安裝及設定程序。<br />您必須擁有 Windows 管理員權限才能使用指令碼。#&gt;</p><p>&lt;# 請根據您要讓使用者從哪些網域登入，來設定以下機碼。</p><p>例如：<br />$domainsAllowedToLogin = &#8220;acme1.com,acme2.com&#8221;<br />#&gt;</p><p>$domainsAllowedToLogin = &#8220;gmail.com,tmail.ilc.edu.tw,smail.ilc.edu.tw,mses.ilc.edu.tw,saes.ilc.edu.tw,yles.ilc.edu.tw&#8221;</p><p>Add-Type -AssemblyName System.Drawing<br />Add-Type -AssemblyName PresentationFramework</p><p>&lt;# 請檢查您設定了 1 個還是多個網域 #&gt;<br />if ($domainsAllowedToLogin.Equals(&#8221;)) {<br />$msgResult = [System.Windows.MessageBox]::Show(&#8216;The list of domains cannot be empty!Please edit this script.&#8217;, &#8216;GCPW&#8217;, &#8216;OK&#8217;, &#8216;Error&#8217;)<br />exit 5<br />}</p><p>function Is-Admin() {<br />$admin = [bool](([System.Security.Principal.WindowsIdentity]::GetCurrent()).groups -match &#8216;S-1-5-32-544&#8217;)<br />return $admin<br />}</p><p>&lt;# 檢查目前的使用者是否為管理員，如果不是的話，請結束此程序。#&gt;<br />if (-not (Is-Admin)) {<br />$result = [System.Windows.MessageBox]::Show(&#8216;Please run as administrator!&#8217;, &#8216;GCPW&#8217;, &#8216;OK&#8217;, &#8216;Error&#8217;)<br />exit 5<br />}</p><p>&lt;# 選擇要下載的 GCPW 檔案。提醒您，32 位元和 64 位元版本的名稱各不相同 #&gt;<br />$gcpwFileName = &#8216;gcpwstandaloneenterprise.msi&#8217;<br />if ([Environment]::Is64BitOperatingSystem) {<br />$gcpwFileName = &#8216;gcpwstandaloneenterprise64.msi&#8217;<br />}</p><p>&lt;# 下載 GCPW 安裝程式。#&gt;<br />$gcpwUrlPrefix = &#8216;https://dl.google.com/credentialprovider/&#8217;<br />$gcpwUri = $gcpwUrlPrefix + $gcpwFileName<br />Write-Host &#8216;Downloading GCPW from&#8217; $gcpwUri<br />Invoke-WebRequest -Uri $gcpwUri -OutFile $gcpwFileName</p><p>&lt;# 執行 GCPW 安裝程式並等待安裝完成 #&gt;<br />$arguments = &#8220;/i `&#8221;$gcpwFileName`&#8221;&#8221;<br />$installProcess = (Start-Process msiexec.exe -ArgumentList $arguments -PassThru -Wait)</p><p>&lt;# 檢查是否已成功安裝 #&gt;<br />if ($installProcess.ExitCode -ne 0) {<br />$result = [System.Windows.MessageBox]::Show(&#8216;Installation failed!&#8217;, &#8216;GCPW&#8217;, &#8216;OK&#8217;, &#8216;Error&#8217;)<br />exit $installProcess.ExitCode<br />}<br />else {<br />$result = [System.Windows.MessageBox]::Show(&#8216;Installation completed successfully!&#8217;, &#8216;GCPW&#8217;, &#8216;OK&#8217;, &#8216;Info&#8217;)<br />}</p><p>&lt;# 將允許的網域名稱設為必要的登錄機碼值 #&gt;<br />$registryPath = &#8216;HKEY_LOCAL_MACHINE\Software\Google\GCPW&#8217;<br />$name = &#8216;domains_allowed_to_login&#8217;<br />[microsoft.win32.registry]::SetValue($registryPath, $name, $domainsAllowedToLogin)</p><p>$domains = Get-ItemPropertyValue HKLM:\Software\Google\GCPW -Name $name</p><p>if ($domains -eq $domainsAllowedToLogin) {<br />$msgResult = [System.Windows.MessageBox]::Show(&#8216;Configuration completed successfully!&#8217;, &#8216;GCPW&#8217;, &#8216;OK&#8217;, &#8216;Info&#8217;)<br />}<br />else {<br />$msgResult = [System.Windows.MessageBox]::Show(&#8216;Could not write to registry. Configuration was not completed.&#8217;, &#8216;GCPW&#8217;, &#8216;OK&#8217;, &#8216;Error&#8217;)</p><p>}</p>]]></content:encoded></item><item><title>馬賽國小簡訊實聯制QR Code</title><link>https://www.mses.ilc.edu.tw/2021/06/01/%e5%ae%9c%e8%98%ad%e7%b8%a3%e8%98%87%e6%be%b3%e9%8e%ae%e9%a6%ac%e8%b3%bd%e5%9c%8b%e5%b0%8f%e7%b0%a1%e8%a8%8a%e5%af%a6%e8%81%af%e5%88%b6qr-code/</link><dc:creator><![CDATA[馬賽國小單位信箱]]></dc:creator><pubDate>Tue, 01 Jun 2021 02:05:36 +0000</pubDate><category><![CDATA[未分類]]></category><guid isPermaLink="false">http://www.mses.ilc.edu.tw/?p=158</guid><description><![CDATA[]]></description><content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="size-medium wp-image-159 aligncenter" src="http://www.mses.ilc.edu.tw/wp-content/uploads/sites/2550/2021/06/QR-code-0-300x300.png" alt="" width="300" height="300" srcset="https://www.mses.ilc.edu.tw/wp-content/uploads/sites/2550/2021/06/QR-code-0-300x300.png 300w, https://www.mses.ilc.edu.tw/wp-content/uploads/sites/2550/2021/06/QR-code-0-150x150.png 150w, https://www.mses.ilc.edu.tw/wp-content/uploads/sites/2550/2021/06/QR-code-0-180x180.png 180w, https://www.mses.ilc.edu.tw/wp-content/uploads/sites/2550/2021/06/QR-code-0.png 600w" sizes="(max-width: 300px) 100vw, 300px" /></p>]]></content:encoded></item></channel></rss>