1. Hello Guest, selamat datang di Forum WinPoin. Kamu bisa bertanya, berdiskusi, sharing, dan ngobrolin apapun seputar Windows, Windows Phone, PC, Gadget, atau hal seputar Teknologi lainnya. Selamat berkomunitas! ;)

Powershell V4 / Command Prompt Ngambek Tau Gmna ya? >,<

Discussion in 'Developer Corner' started by Jazz, May 4, 2014.

  1. Jazz

    Jazz The Heartbreak Kid Staff Member

    Joined:
    Jan 6, 2014
    Messages:
    14,741
    .............

    Dari Sini Lanjut Kesini deh om Makin Panjang aja nih masalah padahal Pengen Buat Hiburan buat Annyversary Winpoin jd Kacau gini, Nihh Urutan Commnad yg Icha pke dari Om...
    Code:
    Ref : Change direction Path
    cd C:\Script\
    Ref : Detect File extensi ps1
    dir *ps1
    Ref : Jalankan Powershell
    powershell
    Ref : Execution Policy (Remote Signed)
    Get-ExecutionPolicy
    Ref : StartCountDown
    .\Start-CountDownTimer.ps1 -EndDate (Get-Date "2014/12/21 12:00:00 AM") -Message "Annyversary Icha" -MessageColor Green -CountDownColor Red -EndBeep -EndFlash
    Hasilnya
    [​IMG]
    Not Digitally Signed...
    Nah lho gmna nih, Berfikir buat Thread SHARE Soal ini malah Jd ASK =,=
    :nangis1:
     
  2. mabaega

    mabaega Well-Known Member

    Joined:
    Nov 9, 2013
    Messages:
    2,739
    wkowkowkwo.... mungkin masalah policy..

    coba unblock script sebelum dijalankan
    Code:
    cd C:\Script\
    powershell
    Get-ExecutionPolicy
    Unblock-File -Path Start-CountDownTimer.ps1
    .\Start-CountDownTimer.ps1 -EndDate (Get-Date "2014/12/21 12:00:00 AM") -Message "Annyversary Icha" -MessageColor Green -CountDownColor Red -EndBeep -EndFlash
    
    apa yang terjadi?
     
  3. marwanto.se

    marwanto.se New Member

    Joined:
    May 7, 2013
    Messages:
    7,663
    Pake aja cara om mabaega cha, siapa tahu bisa berhasil. :goodjob:
     
  4. Jazz

    Jazz The Heartbreak Kid Staff Member

    Joined:
    Jan 6, 2014
    Messages:
    14,741
    ....
     
    Last edited: Oct 10, 2016
  5. Jazz

    Jazz The Heartbreak Kid Staff Member

    Joined:
    Jan 6, 2014
    Messages:
    14,741
    *Baru Pegang Lappy
    Kenapa ga dari Dulu om, 1x Gitu Langsung Jawaban PM Langsung Solved =,=
    [​IMG]
    :nangis1:

    tp Ndak pa pa dech, tambah Lagi Refrensi soal Powershell makasih om
    :kagum:

    Tp Tetap saja Aneh kenapa Icha harus di Unblock
    :bingung:
     
  6. mabaega

    mabaega Well-Known Member

    Joined:
    Nov 9, 2013
    Messages:
    2,739
    Minta unblock, berarti security OS mu masih terjamin. PowerShell merupakan script paling tinggi di OS Windows sekarang. Script PowerShell bisa melakukan apa saja pada system Windows. sama dengan DOS sampai pada Windows XP. Menjalankan Script yang salah, bisa berakibat fatal pada system.
     

Share This Page