Posts

Organization Chart with AngularJS

Image
What is Organization Chart? An Organizational Chart shows the internal structure of an organization or company. The employees and positions are represented by boxes or other shapes, sometimes including photos, contact information, email and page links, icons and illustrations. Straight or elbowed lines link the levels together.   This creates a clear visual depiction of the hierarchy and ranks of different people, jobs and departments that make up the organization. Organizational Charts also are known as Organization Charts, Org Charts, Organograms, Organogram Charts (sometimes spelled Organigrams or Organigrammes) and Hierarchy Charts. Don’t be fooled: Despite all the different names, they’re all the same thing. How to create with angularjs & google chart? First you need to create one JS file: OrgChart.JS & copy below text : var app = angular.module( 'OrgChartApp' , []); app.controller( 'OrgChartController' , [ '$scope' , &

Publish files which are not published by users

#Set-ExecutionPolicy Unrestricted #Set-ExecutionPolicy RemoteSigned cls $Host.UI.RawUI.WindowTitle = "-- Publish Files --" $scriptdir = $PSScriptRoot #$DatePrefix ="XML\"+ (Get-Date).ToString("MMddyyyyHHmm") $DatePrefix ="XML\" Write-Host "Loading the CSOM library" -foregroundcolor yellow Add-Type -AssemblyName System.Web # Paths to SDK. Please verify location on your c omputer. Add-Type -Path "$scriptdir\Microsoft.SharePoint.Client.dll" Add-Type -Path "$scriptdir\Microsoft.SharePoint.Client.Runtime.dll" Add-Type -Path "$scriptdir\Microsoft.SharePoint.Client.Publishing.dll" Add-Type -Path "$scriptdir\Microsoft.SharePoint.Client.Taxonomy.dll" Write-Host "Succesfully loaded the CSOM library" -foregroundcolor green # Insert the credentials and the name of the admin site $Username="gaurav@goyal.com"; $AdminPassword=Read-Host -Prompt "Password" -AsSecureString; $AdminUrl=

Remove Deleted Site Collections from SharePoint Online

Cls Write-Host "Remove Deleted Site Collections" Write-Host "Password Please :" #Set-ExecutionPolicy RemoteSigned $username = "gaurav@goyal.com" $password=Read-Host -Prompt "Password" -AsSecureString; $siteAdminURL = "<<Main Tenent URL Here>>" Import-Module Microsoft.Online.SharePoint.PowerShell –DisableNameChecking #$securePassword = ConvertTo-SecureString $password –AsPlainText –force $securePassword=$password $O365Credential = New-Object System.Management.Automation.PsCredential($username, $securePassword) Connect-SPOService -Url $siteAdminUrl -Credential $O365Credential Get-SPODeletedSite | foreach { Write-host "Deleting " $_.Url Remove-SPODeletedSite –Identity $_.Url –Confirm:$false } Disconnect-SPOService Write-Host "Removed Site Collections"