1. OverviewSome time ago, I was automating a few tasks with PowerShell and needed to set NTFS permissions on a folder. I was tempted to use the good o...
                            
                            
                                分类:
其他好文   时间:
2014-07-18 19:31:42   
                                阅读次数:
359
                             
                    
                        
                            
                            
                                C:\> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1...
                            
                            
                                分类:
其他好文   时间:
2014-07-18 16:26:38   
                                阅读次数:
185
                             
                    
                        
                            
                            
                                导出到txt[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server") [void][System.Reflection.Assembly]::LoadWithParti...
                            
                            
                                分类:
其他好文   时间:
2014-07-17 21:37:20   
                                阅读次数:
454
                             
                    
                        
                            
                            
                                因为最近总是要部署wsp解决方案,所以经常要用到命令行或者PowerShell,所以有必要将命令集中放在这里,在部署的时候能够快速的参考。...
                            
                            
                                分类:
其他好文   时间:
2014-07-17 16:16:23   
                                阅读次数:
206
                             
                    
                        
                            
                            
                                SharePoint QQ群有人问能不能下载(导出)管理中心里的解决方案。我发现使用PowerShell语句就可以轻松实现上面的需求,只需要三行代码就够了。...
                            
                            
                                分类:
其他好文   时间:
2014-07-16 17:27:24   
                                阅读次数:
183
                             
                    
                        
                            
                            
                                最近因为公司要求,需要导入20个供应商、20个客户到AD域中,刚开始手动加入了2个供应商,2个客户。但是感觉费时费力。如果能够找到一个命令,批量导入AD该多好呀。...
                            
                            
                                分类:
其他好文   时间:
2014-07-16 13:03:12   
                                阅读次数:
553
                             
                    
                        
                            
                            
                                1. 设置iis pool: cls Import-Module WebAdministration Get-ChildItem IIS:\apppools | ForEach-Object{ $name = $_.name Write-Host $_.name $pool = Get-Item I...
                            
                            
                                分类:
其他好文   时间:
2014-07-16 12:26:18   
                                阅读次数:
1084
                             
                    
                        
                            
                            
                                将下列命令输入WindowsPowerShell会自动安装先决条件Install-WindowsFeatureRSAT-ADDS,AS-HTTP-Activation,Desktop-Experience,NET-Framework-45-Features,RPC-over-HTTP-proxy,RSAT-Clustering,RSAT-Clustering-CmdInterface,RSAT-Clustering-Mgmt,RSAT-Clustering-PowerShell..
                            
                            
                                分类:
其他好文   时间:
2014-07-15 10:51:31   
                                阅读次数:
579
                             
                    
                        
                            
                            
                                今天做实验的时候误将第二台exchange2013邮件服务器退域了,重新加域后导致原来的exchange服无法启动,建在该数据库的用户无法登陆,系统日志提示:处理过程:在域管理器添加该计算机exchange权限重启服务器后恢复正常。
                            
                            
                                分类:
其他好文   时间:
2014-07-13 15:23:37   
                                阅读次数:
187
                             
                    
                        
                            
                            
                                在SharePoint开发中,你应该学会使用PowerShell管理SharePoint站点。SharePoint Management Shell是一个Windows PowerShell模块,你可以用它高效管理SharePoint 用户、站点、网站集和组织。...
                            
                            
                                分类:
Web程序   时间:
2014-07-12 18:56:17   
                                阅读次数:
209