Browse by Tags

Tagged Content List
  • Wiki Page: Powershell Script Çalıştırma Hatası | Error: “File cannot be loaded because the execution of scripts is disabled on this system (tr-TR)

    Powershellde çalışmasını istediğiniz bir script yazdıysanız ve çalıştırdığınızda Error: “File cannot be loaded because the execution of scripts is disabled on this system şeklinde hata veriyorsa yapmanız gerekn işlem aşağıdaki gibidir. Powershelli açın. Set-ExecutionPolicy Unrestricted...
  • Wiki Page: Active Directory Powershell Komutları Örnekleri (tr-TR)

    Active Directory Powershell Komutları Örnekleri aşağıda sunulmuştur. Search-ADAccount -AccountDisabled | where {$_.ObjectClass -eq ‘user’} | FT Name,ObjectClass –A : Active Directory ortamındaki disable olan kullanıcıları listeler. Add-Computer -DomainName SYSTEM –OUPath “OU=Computers,dc=system...
  • Wiki Page: PowerShell Handy Commands

    Applies to Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 Some helpful commands for PowerShell Beginner. N.B: Some Commands/Scripts are required Powershell 3.0 or above version. Table of Contents 1. How to find loaded Modules? 2. How to find available...
  • Wiki Page: AD RMS (Windows Server 2008 R2) and SQL Server 2012 Install Steps

    Adding AD RMS on Windows Server 2008 R2 with a SQL Server 2012 backend is supported, but a hotfix (KB2619256) must be installed. The problem is that the hotfix will only install after some of the AD RMS components are installed. To get around this "Catch 22" situation, you can install using...
  • Wiki Page: Turkish Avengers Team Council Center

    Table of Contents Introduction Windows Server 2008 & R2 Windows Small Business Server 2011 Windows Server 2003 Active Directory Lync Server ISA Server Forefront TMG Exchange Server DNS Server DHCP Server Deployment Boot Edilebilinir WinPE CD/DVD si olusturmak (tr-TR), Davut EREN Microsoft Assessment...
  • Wiki Page: How to Use PowerShell to Notify Active Directory Users about Password Expiry

    Table of Contents How Password Policies are applied in AD DS 2008 and higher How to identify which Password Policy is applied on a user Script to notify Active Directory users about the expiry of their passwords How is the script working When a password is about to expire, Windows systems are able...
  • Wiki Page: Active Directory: Characters to Escape

    Almost any characters can be used in distinguished names in Active Directory . However, some characters must be escaped with the backslash "\" escape character. Table of Contents Active Directory ADSI Non-Keyboard Characters VBScript PowerShell PowerShell New-AD* Cmdlets ADsPath LDAP...
  • Wiki Page: Printer Health Check Up Report

    Team requested for a script which monitors the Network Printers. This is to avoid calls to Service Desk for paper, toner etc.., This script is done for team one who monitors the printers across the networks. This report will provide you the below status Printer Full Name Location (Provided...
  • Wiki Page: Comparison Operators in PowerShell

    Comparison Operators are key players in Automation. Any reporting requires manipulations. Most of the managers demand for User Report with some additional values or something needs to be removed from fields. Requirement: We are planning to manipulate reports based on day. We do have multiple functions...
  • Wiki Page: PowerShell Tips and Tricks: manipulating outputs in PowerShell

    Question We would like to get SIP address of all users in our domain. Could you please write a PowerShell Script? Answer Yes, but why to write a script? Why not the below code Code 001 002 003 Get-QADuser -SizeLimit 0 | Select -ExpandProperty...
  • Wiki Page: How to use Switch Parameter in PowerShell?

    What is Switch Parameter? Help about_Functions_Advanced_Parameters How to Use Switch Parameter? Param ( [ Parameter ( Mandatory = $false ) ] [Switch] $ColorText ) How to consume switch parameter? Demo function if switch...
  • Wiki Page: Domain Controllers Details Using PowerShell

    Requirement: Chen! get me list of domain controllers in our environment. Solution: Get-ADDomainController -Filter * | Select-Object name Sorry, we don't want to use Active Directory PowerShell Module - Better give us using ADSI ADSI way of doing it....
  • Wiki Page: Get-QADUser : The server does not support the control. The control is critical.

    Table of Contents Summary Error: Code: Solution: Summary Recent times my Manager asked me to query AD to get department and display name. We are in trusted domain and have different AD forest. We can successfully get out AD users report but not other domain. Error: Get-QADUser : The server does...
  • Wiki Page: SharePoint 2013 Online: PowerShell Reference and Resources

    Table of Contents Getting Started Cmdlet Reference Community Scripts and Cmdlets See Also Other Languages Getting Started Using PowerShell to Manage SharePoint 2013 Online by Gary Lapointe Introduction to the SharePoint Online Management Shell (TechNet) Set up the SharePoint Online Management...
  • Wiki Page: SharePoint 2013 : Sorry we're having trouble reaching the server

    Error During my SharePoint 2013 deployment I came across this issue. Sorry we're having trouble reaching the server Summary After the deployment I tried sharing the page with few department users for testing. Unfortunately it didn't allow me to do it. Solution ...
  • Wiki Page: Monitoring Web URL using PowerShell

    Table of Contents Summary Considerations Solution Help ScreenShot Summary There are many monitoring tools available in the market to trigger email alerts. Unfortunately the module we use don't support WEB URL. The site is IIS 7.5 with NTLM V2. Considerations Why don't you enable IIS...
  • Wiki Page: SharePoint 2010 Timer Jobs Report in CSV

    Environment SharePoint 2010 Windows 2008 R2 Standard PowerShell Version 2.0 Requirement Need to get SharePoint 2010 Timer Jobs Report in CSV and it should hold the below details Job Name Web Application Name Server Name Status of the Job Start Time End Time Duration in Seconds...
  • Wiki Page: Step by Step Upgrading the Powershell Version 4 on 2008 R2/Windows7

    Applies to Windows 7 , Windows 8, Windows Server 2008 R2, Windows Server 2012 Table of Contents Now WMF4 is RTM not the preview version . How to: Determine Which .NET Framework Versions Are Installed Installing the DOTNET & after that reboot is required. Checking the PowerShell version...
  • Wiki Page: PowerShell Scripting: Using and Querying Datasets Directly in PowerShell

    Introduction Running direct queries on SQL can be a performance drag especially where you have thousands of records. Better to bring the data to a local Dataset and run your queries. So say you read data from a SQL table from PowerShell into a Dataset. Then read data from a comma delimited file...
  • Wiki Page: How to Add a PowerShell GUI Event Handler (Part 1)

    Table of Contents Introduction Method 1 - Embedded Code Method 2 - Variable Method 3 - Function Introduction There are 3 ways to add an event handler to a Powershell GUI application; using embedded code, a variable and a function The example to demonstrate the 3 ways, consists of a form and...
  • Wiki Page: How to Add a PowerShell GUI Event Handler with Parameters (Part 2)

    Table of Contents Introduction Method 1 - Embedded Code Method 2 - Function Introduction This a continuation of the previous article " How to add a PowerShell GUI event handler ", this article will demonstrate how to add an event handler to a PowerShell GUI application that uses parameters;...
  • Wiki Page: User Logon Tracking

    <# Assumption: ExtensionAttribute11 - Previous Logon ExtensionAttribute12 - Dedicated Client The script is intended for client machines only. All intended targets must have Powershell 2.0 or above installed on them. Active Directory Powershell Module must be installed on them...
  • Wiki Page: SharePoint 2013 - Outbound Email has not been configured

    Summary We have configured the SharePoint 2013 lab environment and found this error Outbound Email has not been configured Screen Shot Solution 001 002 003 $SPFarm = [Microsoft.SharePoint.Administration.SPFarm] :: Local $SPFarm...
  • Wiki Page: 2008 R2 Virtual Machine Migrated to 2012 Hyper-V Host Lost Clustered Communication

    After migrating Windows 2008 R2 server from 2008 R2 Host to 2012 SP1 Hyper-V Host, the virtual server stopped communicating to its cluster . Virtual server cluster service was marked as unreachable in Failover Cluster Manager. Clustered networks that belong to the migrated virtual server were also...
  • Wiki Page: PowerShell Tip: How to add help URI for functions?

    Question Does PowerShell allows us to add our blog URL for help? We tried using helpuri but failed. Answer It's possible by adding helpuri in cmdletbinding help help about_Functions_CmdletBindingAttribute Demo ...
Page 1 of 42 (1,030 items) 12345»
Can't find it? Write it!