locked
PowerShell script a spustenie cez GPO RRS feed

  • Dotaz

  • Dobry den,

    mam urobeny script v powershell ktory mi ma nainstalovat jeden software v pripade ze sa na danom pc nenachadza. Dany script som pridal do GPO 

    Konkretne: Computer Configuration > Policies > Windows Settings > Scripts > Startup  a tu som zadal script ktory mam ulozeny na druhom servery v NETLOGON

    Pri testovani som zistil ze mi dany script nebezi viete mi poradit kde moze byt chyba testujem to na WIN7 a aj XP

    Dakujem

    úterý 12. června 2012 11:15

Odpovědi

Všechny reakce

  • Ahoj,

    předně spouštění skriptů ps1 je problematické kvůli povolování. Ideální je tedy spustit cmd skript a ten spustí ten ps1 skript.

    http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/a877af85-e103-43fc-b40a-8a8c997569f7

    nevím ale, proč instaluješ SW přes PowerShell, když na to je GPO.


    This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Microsoft Student Partner 2010 / 2011 / 2012
    Microsoft Certified Professional | Connected Home Integrator | Consumer Sales Specialist
    Microsoft Certified IT Professional: Consumer Support Technician on Windows Vista
    Microsoft Certified IT Professional: Enterprise Support Technician on Windows Vista
    Microsoft Certified IT Professional: Server Administrator on Windows Server 2008
    Microsoft Certified Solututions Associate: Windows Server 2008
    MCP transcript, contact information, list of all Certifications

    úterý 12. června 2012 11:25
  • Ahoj,

    Instalujem to cez script pretoze to mam aj na x64 a aj na x32 system a takisto nemam od toho msi balicek

    Dakujem za typ skusim sa na to pozriet

    úterý 12. června 2012 11:28
  • Jasně, to je v pohodě...ale pořád nevím, proč přes ten PowerShell...cmd toho také zvládne dost a dost. Ale v pohodě. Dej vědět, jak to dopadlo.
    This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Microsoft Student Partner 2010 / 2011 / 2012
    Microsoft Certified Professional | Connected Home Integrator | Consumer Sales Specialist
    Microsoft Certified IT Professional: Consumer Support Technician on Windows Vista
    Microsoft Certified IT Professional: Enterprise Support Technician on Windows Vista
    Microsoft Certified IT Professional: Server Administrator on Windows Server 2008
    Microsoft Certified Solututions Associate: Windows Server 2008
    MCP transcript, contact information, list of all Certifications

    úterý 12. června 2012 11:31
  • Ahoj dakujem za pomoc pomohlo to
    úterý 19. června 2012 4:14