mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
M365
M365

更改SharePoint 2007/2010/2013 Web 应用程序端口号

之前创建的Web应用程序端口为80,因为其他需要要将端口更改为85,下面是具体步骤: 第一步:更改IIS绑定。 打开IIS服务管理器,右击需要更改的站点,选择编辑绑定。 在打开的网站绑定窗口,选择端口80的项,然后点击编辑,将端口更改为85,然后确定。 第二步:更改备用访问映射 管理中心-----系统设置---配置备用访问映射,然后编辑公用URL,备用访问映射集选择目标应用程序,然后更改为85

2019-07-21 0comments 111hotness 0likes mikebai Read all
M365

安装SharePoint报错:系统从以前的安装重新启动,或更新正在等待错误

重启了N遍,还是一样,最后发现,是微软本身问题是,只要在下面路径下删除一个文件就可以正常安装了 路径:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations 删除:PendingFileRenameOperations ---------------------  作者:zmoneyz  来源:CSDN  原文:https://blog.csdn.net/zmoneyz/article/details/8878153  版权声明:本文为博主原创文章,转载请附上博文链接!

2019-06-22 0comments 104hotness 0likes mikebai Read all
M365

Azure关键字列表

SAML 安全主張标记语言(英语:Security Assertion Markup Language,简称SAML,发音sam-el)是一个基于XML的开源标准数据格式,它在当事方之间交换身份验证和授权数据,尤其是在身份提供者和服务提供者之间交换。 assertion 在程式設計中,斷言(assertion)是一種放在程式中的一階邏輯(如一個結果為真或是假的邏輯判斷式),目的是為了標示與驗證程式開發者預期的結果-當程式執行到斷言的位置時,對應的斷言應該為真。 若斷言不為真時,程式會中止執行,並給出錯誤訊息。 Content Security Policy (CSP) 

2019-06-18 0comments 108hotness 0likes mikebai Read all
M365

解决虚拟机启动黑屏无法进入系统

1.以管理员方式启动CMD 2.修复LSP,在CMD中输入  netsh winsock reset  3.重启电脑,就能正常打开虚拟机了 ---------------------  作者:赤橙  来源:CSDN  原文:https://blog.csdn.net/x534119219/article/details/79497264 

2019-06-14 0comments 104hotness 0likes mikebai Read all
M365

powershell task scheduler uncheck timezone

This solution works for me: # 1. Create your trigger as normal$trigger = New-ScheduledTaskTrigger -

2019-06-05 0comments 108hotness 0likes mikebai Read all
M365

powershell 命令分行

Get-ChildItem -Recurse ` -Filter *.jpg ` |

2019-05-31 0comments 106hotness 0likes mikebai Read all
M365

Configuring Advanced Scheduled Task Parameters Using PowerShell

I recently was working with a script that had very specific requirements: The script had to run as a scheduled task The scheduled task itself had to be created using PowerShell The script had to run once the servers started up The task had to repeat every 10 minutes for 1 day Creating a scheduled task is pretty straight forward and is well documented here. But I quickly discovered that creating a scheduled task with the specific parameters that were needed is not as simple as it might seem. In this blog post I am going to show you how to create a scheduled task using Powershell, call a PowerShell script using that scheduled task, and configure parameters of the scheduled task that are not provided through the PowerShell Scheduled Task cmdlets. So lets go ahead and create an example scheduled task that meets all of the requirements. Create a Sample Script First lets create a very basic sample script that the scheduled task will run. The following code simply records the date and time and outputs it to a log file in the same folder as the script. #Stores Script's Current Location $sCurrDir = $myinvocation.mycommand.path $sCurrDir = $sCurrDir.Replace("\" + $myinvocation.MyCommand, "") #Log Output Path $OutputPath = "$sCurrDir\SampleScheduledTask.log" #Outputs to log file function Write-Log{ param(     [string]$OutputPath )     #Stores Date / Time     $Date = $TimeStamp = (get-date).toshortdatestring(); $Time = (get-date).tolongtimestring()     #Creates Output Message     $Message = "I ran on $Date at $Time"     #Writes Output Message to log file     $Message | Add-Content $OutputPath } #Calls Log Function…

2019-05-31 0comments 116hotness 0likes mikebai Read all
M365

PowerShellでタスクスケジュール登録

Hyper-V Server 2012 R2/Windows Server 2012 R2の タスクスケジュールはPowerShellコマンドレットで操作ができるので、schtasks.exeを使う必要は基本無いのです。 のハズでしたが....  色々試行錯誤しても月単位のタスクがうまく作れなかったので、月単位のタスク作成はschtasks.exeを使うしかなさそうです。 コマンドレッドの確認 まずは、タスクスケジュールのコマンドレットにはどんなものがあるのかチェックしましょう。 PS C:\> Get-Command | ? Name -match "ScheduledTask" CommandType Name ModuleName -----------       ---- ---------- Function             Function Function Function Function Function Function Function Function Function Function Function Function Function Function Function Function Function Function Disable-ScheduledTask  Enable-ScheduledTask  Export-ScheduledTask  Get-ClusteredScheduledTask  Get-ScheduledTask  Get-ScheduledTaskInfo  New-ScheduledTask  New-ScheduledTaskAction  New-ScheduledTaskPrincipal  New-ScheduledTaskSettingsSet  New-ScheduledTaskTrigger  Register-ClusteredScheduledTask Register-ScheduledTask  Set-ClusteredScheduledTask  Set-ScheduledTask  Start-ScheduledTask  Stop-ScheduledTask  Unregister-ClusteredScheduledTask         Unregister-ScheduledTask ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks ScheduledTasks   タスク取得 タスク取得は、「Get-ScheduledTask」です。 「?」で普通に絞ることが出来ますが、-TaskName、-TaskPathでタスク絞り込みが出来ます。  

2019-05-29 0comments 139hotness 0likes mikebai Read all
M365

How to stop disabled user accounts from syncing with Azure AD Connect

https://spanougakis.wordpress.com/2016/02/28/how-to-stop-disabled-user-accounts-from-syncing-with-azure-ad-connect/

2019-05-28 0comments 112hotness 0likes mikebai Read all
M365

提升访问权限以管理所有 Azure 订阅和管理组

Azure Active Directory (Azure AD) 中的全局管理员不一定对目录中的所有订阅和管理组拥有访问权限。 本文介绍如何自我提升对所有订阅和管理组的访问权限。  备注 如果有兴趣查看或删除个人数据,请参阅 GDPR 的 Azure 数据使用者请求一文。 如需关于 GDPR 的常规信息,请参阅服务信任门户的 GDPR 部分。 为何需要提升访问权限? 全局管理员有时可能需要执行以下操作:

2019-05-27 0comments 110hotness 0likes mikebai Read all
1…7891011

Recent Posts

  • c# winform适配高dpi
  • com.microsoft.sqlserver.jdbc.SQLServerException “trustServerCertificate”属性设置为“false”,但驱动程序无法使用安全套接字层 (SSL) 加密与 SQL Server建立安全连接
  • java -cp 用法介绍
  • HTML 容器元素
  • MVC的cshtml的介绍

Recent Comments

No comments to show.

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang