Archive for February, 2009

How to store a vds in library server on SCVMM with Powershell?

Tuesday, February 17th, 2009 Posted in Virtual Machine Manager, Windows Powershell | No Comments »

You can store a vds account in library server on SCVMM with this Powershell commands: # ------------------------------------------------------------------------------ # Store Virtual Machine Wizard Script # ------------------------------------------------------------------------------ # Script generated on 17 Şubat 2009 Salı 14:25:54 ... Read more..

How to suspend a VDS on SCVMM with Powershell?

Tuesday, February 17th, 2009 Posted in Virtual Machine Manager, Windows Powershell | No Comments »

There is an easy way to suspend a vds account on SCVMM with Powershell. $VDSName = VDS022 SaveState-VM $VDSName Set-VM $VDSName -Owner FABRIKAM\Administrator As you see, first we saved vds then changed the owner. ... Read more..

Powershell üzerinde Active Directory kullanıcısı silme

Tuesday, February 17th, 2009 Posted in Windows Powershell, Windows Server | No Comments »

Active Directory üzerinde yarattığınız kullanıcıyı Powershell üzerinde aşağıdaki komutla silebilirsiniz. dsrm user "CN=John, OU=Musteri, DC=fabrikam, DC=contoso, DC=net" John ismi Display name değil burada. Musteri OU'su girdiğinizde listede görünen isimlerdir. Bilgilerinize.. Read more..

SCVMM kullanıcı rollerini, Powershell üzerinden kaldırmak

Tuesday, February 17th, 2009 Posted in Virtual Machine Manager, Windows Powershell | No Comments »

Kullanıcıyı owner olarak atamakta kullandığınız kullanıcı rolünü, aşağıdaki komut ile powershell üzerinden kaldırabilirsiniz. $UserName = “JohnH” $RemoveRole = Get-VMMUserRole | where {$_.Name -eq “$UserName”} Remove-VMMUserrole -Userrole $RemoveRole $RemoveRole'deki Get-VMMUserRole'ün önemli bir yeri var orada. ... Read more..

How to remove user role in SCVMM with Powershell?

Tuesday, February 17th, 2009 Posted in Virtual Machine Manager, Windows Powershell | No Comments »

You can remove/delete your user role with this command: $UserName = "JohnH" $RemoveRole = Get-VMMUserRole | where {$_.Name -eq "$UserName"} Remove-VMMUserrole -Userrole $RemoveRole You should use Get-VMMUserRole command to use Remove-VMMUserrole command. Read more..

Tunçmatik marka UPS almakla hata mı ettim?

Tuesday, February 17th, 2009 Posted in Hayattan | 5 Comments »

Tunçmatik isimli firmanın, en iyi UPS firmalarından bir tanesi olduğunu düşünüyordum. Bu yüzden Tunçmatik Lite 1000VA modelini tercih etmiştim. Fakat şimdi anlıyorum ki hata etmişim. Eğer Tunçmatik markasının bu modelini ... Read more..

SCVMM’de System.Management.Automation.PSCredential Hatası

Monday, February 16th, 2009 Posted in Virtual Machine Manager, Windows Powershell | No Comments »

Powershell üzerinden VM oluştururken, işletim sistemi şifresi belirtmek istediğinizde, password ile ilgili hata alabilirsiniz. Bu sorunu çözmek için clear haldeki şifrenizi önce SecureString haline getirip, sonra System.Management.Automation.PSCredential haline getirmeniz gerekiyor. $SecurePassword ... Read more..

Masaüstünü Göster kısayolunu Hızlı Aç çubuğuna geri yüklemek

Sunday, February 15th, 2009 Posted in Windows Server | No Comments »

Hızlı aç çubuğundaki masaüstünü göster kısayolu bir şekilde silinmiş ise aşağıdaki işlemleri yapabilirsiniz. 1. Başlat -> Çalıştır diyerek, aşağıdaki kodları girebilirsiniz. Bu işlemden sonra hızlı başlatı kapatıp geri açmanız gerekebilir. regsvr32 /n ... Read more..

Komut satırı üzerinden IP ve DNS adresi tanımlama

Friday, February 13th, 2009 Posted in Windows Server | No Comments »

Aşağıdaki komutlar ile Windows Server 2008 üzerinde komut satırından ip adresi ve dns adresi ekleyebilirsiniz. netsh interface ipv4 set address "Local Area Connection" source=static 192.168.0.2 255.255.255.0 192.168.0.1 netsh interface ipv4 add dnsserver ... Read more..

Assign Static IP Address for VM on SCVMM

Friday, February 13th, 2009 Posted in Virtual Machine Manager, Windows Powershell | No Comments »

You can assign static ip address for new vm on SCVMM. You should use this command to do that: New-VM -GuiRunOnceCommands "cmd", "netsh interface ipv4 set address ""Local Area Connection"" source=static ... Read more..