示例#1
0
        public Collection <PSObject> RunPSScript(string script)
        {
            List <string> st = new List <string>();

            st.Add(script);

            WindowsAzurePowershellScript azurePowershellCmdlet = new WindowsAzurePowershellScript(st);

            return(azurePowershellCmdlet.Run());
        }
        public Collection<PSObject> RunPSScript(string script)
        {
            List<string> st = new List<string>();
            st.Add(script);

            WindowsAzurePowershellScript azurePowershellCmdlet = new WindowsAzurePowershellScript(st);
            return azurePowershellCmdlet.Run();
        }