Powershell: Remote Connection

to enable and accept the connection modify and run the script on server:

get-service winrm
Enable-PSRemoting –force
winrm s winrm/config/client ‘@{TrustedHosts=”CLIENTPCNAME“}’
winrm quickconfig

to connect and run commands on remote pc use:

New-PSSession -ComputerName “CLIENTPCNAME
Enter-PSSession -ComputerName “CLIENTPCNAME

Nöbetçi Ezcane SOAP REST XML Webservice yayına başlamıştır…

Örnek: http://herkul.dyndns.org/NobetciEzcane.svc/istanbul?id=1

Bölgeler

id=1 ADALAR

id=33 ARNAVUTKÖY

id=34 ATAŞEHİR

id=2 AVCILAR

id=3 BAĞCILAR

id=4 BAHÇELİEVLER

id=5 BAKIRKÖY

id=3 5BAŞAKŞEHİR

id=6 BAYRAMPAŞA

id=7 BEŞİKTAŞ

id=8 BEYKOZ

id=36 BEYLİKDÜZÜ

id=9 BEYOĞLU

id=10 BÜYÜKÇEKMECE

id=11 ÇATALCA

id=37 ÇEKMEKÖY

id=13 ESENLER

id=38 ESENYURT

id=14 EYÜP

id=15 FATİH

id=16 GAZİOSMANPAŞA

id=17 GÜNGÖREN

id=18 KADIKÖY

id=19 KAĞITHANE

id=20 KARTAL

id=21 KÜÇÜKÇEKMECE

id=22 MALTEPE

id=23 PENDİK

id=39 SANCAKTEPE

id=24 SARIYER

id=25 SİLİVRİ

id=26 SULTANBEYLİ

id= 40SULTANGAZİ

id=27 ŞİLE

id=28 ŞİŞLİ

id=29 TUZLA

id=30 ÜMRANİYE

id=31 ÜSKÜDAR

id=32 ZEYTİNBURNU

Sharepoint 2010: “Access Denied” Error Message While Activating A Timerjob Site-Feature

Error:

ULS: Access denied. w3wp.exe (0x1E30) – 6615 – Critical under /_layouts/ManageFeatures.aspx?Scope=Site

Getting a error message while activating a timerjob site-feature (on a production system with uac) as farm and local administrator on a sharepoint site.

Solution:

1) Execute this powershell script as farmadmin:

function Set-AccessDenied-False()
{
# load sharepoint api libs
[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) > $null
[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Administration”) > $null# get content web service
$contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
# turn off remote administration security
$contentService.RemoteAdministratorAccessDenied = $false
# update the web service
$contentService.Update()

}

Set-AccessDenied-False

2) App pool recycle or iisreset

3) Active your feature again ;)

Sharepoint 2010: Flush Blob Cache

Save & run this powershell script:

$webApp = Get-SPWebApplication "<WebApplicationURL>" [Microsoft.SharePoint.Publishing.PublishingCache]::FlushBlobCache($webApp) Write-Host "Flushed the BLOB cache for:" $webApp

Sharepoint 2007/2007: Error While Adding Solution – An object in the SharePoint administrative framework…

Error:

An object in the SharePoint administrative framework, “SPSolutionLanguagePack Name=0″, depends on other objects which do not exist.  Ensure that all of the objects dependencies are created and retry this operation. xxx.wsp: The Solution installation failed.

Solution:

Restart sharepoint timer service

 

DD-WRT: How to build a wireless bridge between two routers/ap

Home router/ap

SSID: cnet

Security: WPA-TKIP

IP: 192.168.1.1

DD-WRT router

SSID: V_AP (desired)

Security: WPA2 TCKIP+AES (desired)

Target:

- Connect DD-WRT router to an existing wireless router/ap

- Surf over DD-WRT router

ToDo:

1. Disable wan connection (optional)

2. Change local ip adress (different ip from home router/ip, but some subnet)

3. Set routing mode

4. Set wireless mode to bridge mode

5. Add a second virtual interface(to use dd-wrt for access point)

6. Set security

7. Join dd-wrt to your wireless router/ap

8. Test your connection ;)

Step 1 (Optional) : Setup -> Basic Setup -> Wan Connection Type: Disabled

dd-wrt_wan_connection

Step2: Setup -> Basic Setup -> Router Ip: 192.168.1.x

dd-wrt_router_ip

Step3: Setup -> Advanced Routing-> Operating Mode: RIP2 Router

dd-wrt_operationg_mode

Step4: Wireless -> Basic Settings-> Physical Interface ath0 ->Wireless Mode: Client Bridged (Routed)

dd-wrt_wireless_mode

Step5: Wireless -> Basic Settings-> Virtual Interfaces -> Add ->Wireless Mode: AP

dd-wrt_wireless_virtuai

Step6: Wireless -> Wireless Security->

For ath0 (ssid: cnet): Choose your home routers security mode and type your password

For ath0.1 (ssid: v_ap): Choose your favourite security mode and type any password for dd-wrt-router

dd-wrt_wireless_security

Step7: Status -> Wireless -> Site Survey

Click to site survey, join your wireless router/ap (mine is cnet)

dd-wrt_site_survey

Then you can see your ap/client connections here:

dd-wrt_connection_status

Step8: Connect with your notebook/pc to dd-wrt router with your password and test the connection to internet ;)